org.jnetpcap.protocol.application
Enum Html.Tag

java.lang.Object
  extended by java.lang.Enum<Html.Tag>
      extended by 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.
 
Enum Constant Summary
A
          The A.
B
          The B.
BODY
          The BODY.
BUTTON
          The BUTTON.
CAPTION
          The CAPTION.
CENTER
          The CENTER.
DIV
          The DIV.
EM
          The EM.
FORM
          The FORM.
H1
          The H1.
H2
          The H2.
H3
          The H3.
H4
          The H4.
H5
          The H5.
H6
          The H6.
HEAD
          The HEAD.
HTML
          The HTML.
I
          The I.
IFRAME
          The IFRAME.
IMG
          The IMG.
INPUT
          The INPUT.
LABEL
          The LABEL.
LI
          The LI.
LINK
          The LINK.
META
          The META.
NOSCRIPT
          The NOSCRIPT.
OBJECT
          The OBJECT.
OL
          The OL.
P
          The P.
REL
          The REL.
SCRIPT
          The SCRIPT.
SPAN
          The SPAN.
TABLE
          The TABLE.
TBODY
          The TBODY.
TD
          The TD.
TEXT
          The TEXT.
TH
          The TH.
TITLE
          The TITLE.
TR
          The TR.
U
          The U.
UL
          The UL.
UNKNOWN
          The UNKNOWN.
 
Method Summary
 java.lang.String[] getParams()
          Gets the params.
static Html.Tag parseStringPrefix(java.lang.String name)
          Parses the string prefix.
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 are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

A

public static final Html.Tag A
The A.


B

public static final Html.Tag B
The B.


BODY

public static final Html.Tag BODY
The BODY.


BUTTON

public static final Html.Tag BUTTON
The BUTTON.


CAPTION

public static final Html.Tag CAPTION
The CAPTION.


CENTER

public static final Html.Tag CENTER
The CENTER.


DIV

public static final Html.Tag DIV
The DIV.


EM

public static final Html.Tag EM
The EM.


FORM

public static final Html.Tag FORM
The FORM.


H1

public static final Html.Tag H1
The H1.


H2

public static final Html.Tag H2
The H2.


H3

public static final Html.Tag H3
The H3.


H4

public static final Html.Tag H4
The H4.


H5

public static final Html.Tag H5
The H5.


H6

public static final Html.Tag H6
The H6.


HEAD

public static final Html.Tag HEAD
The HEAD.


HTML

public static final Html.Tag HTML
The HTML.


I

public static final Html.Tag I
The I.


IFRAME

public static final Html.Tag IFRAME
The IFRAME.


IMG

public static final Html.Tag IMG
The IMG.


INPUT

public static final Html.Tag INPUT
The INPUT.


LABEL

public static final Html.Tag LABEL
The LABEL.


LI

public static final Html.Tag LI
The LI.


LINK

public static final Html.Tag LINK
The LINK.


META

public static final Html.Tag META
The META.


NOSCRIPT

public static final Html.Tag NOSCRIPT
The NOSCRIPT.


OBJECT

public static final Html.Tag OBJECT
The OBJECT.


OL

public static final Html.Tag OL
The OL.


P

public static final Html.Tag P
The P.


REL

public static final Html.Tag REL
The REL.


SCRIPT

public static final Html.Tag SCRIPT
The SCRIPT.


SPAN

public static final Html.Tag SPAN
The SPAN.


TABLE

public static final Html.Tag TABLE
The TABLE.


TBODY

public static final Html.Tag TBODY
The TBODY.


TD

public static final Html.Tag TD
The TD.


TEXT

public static final Html.Tag TEXT
The TEXT.


TH

public static final Html.Tag TH
The TH.


TITLE

public static final Html.Tag TITLE
The TITLE.


TR

public static final Html.Tag TR
The TR.


U

public static final Html.Tag U
The U.


UL

public static final Html.Tag UL
The UL.


UNKNOWN

public static final Html.Tag UNKNOWN
The UNKNOWN.

Method Detail

values

public static Html.Tag[] 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 (Html.Tag c : Html.Tag.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are 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
java.lang.NullPointerException - if the argument is null

parseStringPrefix

public static Html.Tag parseStringPrefix(java.lang.String name)
Parses the string prefix.

Parameters:
name - the name
Returns:
the tag

getParams

public final java.lang.String[] getParams()
Gets the params.

Returns:
the params