org.jnetpcap.protocol.application
Enum Html.Tag
java.lang.Object
java.lang.Enum<Html.Tag>
org.jnetpcap.protocol.application.Html.Tag
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Html.Tag>
- Enclosing class:
- Html
public static enum Html.Tag
- extends java.lang.Enum<Html.Tag>
Table of supported HTML tags.
- Author:
- Mark Bednarczyk, Sly Technologies, Inc.
|
Nested Class Summary |
static class |
Html.Tag.Param
Table of tag parameters |
|
Method Summary |
java.lang.String[] |
getParams()
|
static Html.Tag |
parseStringPrefix(java.lang.String name)
|
static Html.Tag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Html.Tag[] |
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 |
A
public static final Html.Tag A
B
public static final Html.Tag B
BODY
public static final Html.Tag BODY
BUTTON
public static final Html.Tag BUTTON
CAPTION
public static final Html.Tag CAPTION
CENTER
public static final Html.Tag CENTER
DIV
public static final Html.Tag DIV
EM
public static final Html.Tag EM
FORM
public static final Html.Tag FORM
H1
public static final Html.Tag H1
H2
public static final Html.Tag H2
H3
public static final Html.Tag H3
H4
public static final Html.Tag H4
H5
public static final Html.Tag H5
H6
public static final Html.Tag H6
HEAD
public static final Html.Tag HEAD
HTML
public static final Html.Tag HTML
I
public static final Html.Tag I
IFRAME
public static final Html.Tag IFRAME
IMG
public static final Html.Tag IMG
INPUT
public static final Html.Tag INPUT
LABEL
public static final Html.Tag LABEL
LI
public static final Html.Tag LI
LINK
public static final Html.Tag LINK
META
public static final Html.Tag META
NOSCRIPT
public static final Html.Tag NOSCRIPT
OBJECT
public static final Html.Tag OBJECT
OL
public static final Html.Tag OL
P
public static final Html.Tag P
REL
public static final Html.Tag REL
SCRIPT
public static final Html.Tag SCRIPT
SPAN
public static final Html.Tag SPAN
TABLE
public static final Html.Tag TABLE
TBODY
public static final Html.Tag TBODY
TD
public static final Html.Tag TD
TEXT
public static final Html.Tag TEXT
TH
public static final Html.Tag TH
TITLE
public static final Html.Tag TITLE
TR
public static final Html.Tag TR
U
public static final Html.Tag U
UL
public static final Html.Tag UL
UNKNOWN
public static final Html.Tag UNKNOWN
values
public static final Html.Tag[] 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.Tag c : Html.Tag.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.Tag 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
parseStringPrefix
public static Html.Tag parseStringPrefix(java.lang.String name)
getParams
public final java.lang.String[] getParams()