org.yglib.html.elements
Enum ETagType

java.lang.Object
  extended by java.lang.Enum<ETagType>
      extended by org.yglib.html.elements.ETagType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ETagType>

public enum ETagType
extends java.lang.Enum<ETagType>


Enum Constant Summary
ATTR_NAME
           
ATTR_NAME_END
           
ATTR_NAME_END_HAVE_VALUE
           
ATTR_VALUE
           
ATTR_VALUE_END
           
CLOSED_TAG
           
NOT_PARSED
           
TAG_END
           
TAG_NAME
           
TAG_NAME_END
           
TAG_START
           
 
Method Summary
static ETagType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ETagType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NOT_PARSED

public static final ETagType NOT_PARSED

TAG_START

public static final ETagType TAG_START

CLOSED_TAG

public static final ETagType CLOSED_TAG

TAG_NAME

public static final ETagType TAG_NAME

TAG_NAME_END

public static final ETagType TAG_NAME_END

ATTR_NAME

public static final ETagType ATTR_NAME

ATTR_NAME_END

public static final ETagType ATTR_NAME_END

ATTR_NAME_END_HAVE_VALUE

public static final ETagType ATTR_NAME_END_HAVE_VALUE

ATTR_VALUE

public static final ETagType ATTR_VALUE

ATTR_VALUE_END

public static final ETagType ATTR_VALUE_END

TAG_END

public static final ETagType TAG_END
Method Detail

values

public static ETagType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ETagType c : ETagType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ETagType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null