org.jnetpcap.protocol.application
Enum Html.HtmlTag.Type
java.lang.Object
java.lang.Enum<Html.HtmlTag.Type>
org.jnetpcap.protocol.application.Html.HtmlTag.Type
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Html.HtmlTag.Type>
- Enclosing class:
- Html.HtmlTag
public static enum Html.HtmlTag.Type
- extends java.lang.Enum<Html.HtmlTag.Type>
|
Method Summary |
static Html.HtmlTag.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Html.HtmlTag.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
ATOMIC
public static final Html.HtmlTag.Type ATOMIC
CLOSE
public static final Html.HtmlTag.Type CLOSE
OPEN
public static final Html.HtmlTag.Type OPEN
values
public static final Html.HtmlTag.Type[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(Html.HtmlTag.Type c : Html.HtmlTag.Type.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static Html.HtmlTag.Type 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