com.aptana.ide.editor.html.lexing
Class HTMLTokenTypes

java.lang.Object
  extended by com.aptana.ide.editor.html.lexing.HTMLTokenTypes

public class HTMLTokenTypes
extends java.lang.Object

Author:
Kevin Lindsey

Field Summary
static int ANY
          ANY
static int ATTLIST_DECL
          ATTLIST_DECL
static int CDATA
          CDATA
static int CDATA_END
          CDATA_END
static int CDATA_START
          CDATA_START
static int CDATA_TEXT
          CDATA_TEXT
static int CHAR_REF
          CHAR_REF
static int COMMENT
          COMMENT
static int DOCTYPE_DECL
          DOCTYPE_DECL
static int ELEMENT_DECL
          ELEMENT_DECL
static int EMPTY
          EMPTY
static int ENCODING
          ENCODING
static int END_TAG
          END_TAG
static int ENTITIES
          ENTITIES
static int ENTITY
          ENTITY
static int ENTITY_DECL
          ENTITY_DECL
static int ENTITY_REF
          ENTITY_REF
static int EQUAL
          EQUAL
static int ERROR
          ERROR
static int FIXED
          FIXED
static int GREATER_THAN
          GREATER_THAN
static int ID
          ID
static int IDREF
          IDREF
static int IDREFS
          IDREFS
static int IMPLIED
          IMPLIED
static int LBRACKET
          LBRACKET
static int MAX_VALUE
          MAX_VALUE
static int NAME
          NAME
static int NDATA
          NDATA
static int NMTOKEN
          NMTOKEN
static int NMTOKENS
          NMTOKENS
static int NOTATION
          NOTATION
static int NOTATION_DECL
          NOTATION_DECL
static int PCDATA
          PCDATA
static int PE_REF
          PE_REF
static int PERCENT_GREATER
          PERCENT_GREATER
static int PERCENT_OPEN
          PERCENT_OPEN
static int PERCENT_TEXT
          PERCENT_TEXT
static int PI_OPEN
          PI_OPEN
static int PI_TEXT
          PI_TEXT
static int PLUS
          PLUS
static int PUBLIC
          PUBLIC
static int QUESTION
          QUESTION
static int QUESTION_GREATER_THAN
          QUESTION_GREATER_THAN
static int QUOTE
          QUOTE
static int RBRACKET
          RBRACKET
static int REQUIRED
          REQUIRED
static int SLASH_GREATER_THAN
          SLASH_GREATER_THAN
static int STANDALONE
          STANDALONE
static int STAR
          STAR
static int START_COMMENT
          START_COMMENT
static int START_TAG
          START_TAG
static int STRING
          STRING
static int SYSTEM
          SYSTEM
static int TEXT
          TEXT
static int VERSION
          VERSION
static int WHITESPACE
          WHITESPACE
static int XML_DECL
          XML_DECL
 
Constructor Summary
protected HTMLTokenTypes()
          HTMLTokenTypes
 
Method Summary
static int getIntValue(java.lang.String name)
          getIntValue
static java.lang.String getName(int type)
          Get the name associated with the specified token type
static java.lang.String[] getNames()
          getNames
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ERROR

public static final int ERROR
ERROR

See Also:
Constant Field Values

WHITESPACE

public static final int WHITESPACE
WHITESPACE

See Also:
Constant Field Values

COMMENT

public static final int COMMENT
COMMENT

See Also:
Constant Field Values

START_COMMENT

public static final int START_COMMENT
START_COMMENT

See Also:
Constant Field Values

ANY

public static final int ANY
ANY

See Also:
Constant Field Values

CDATA

public static final int CDATA
CDATA

See Also:
Constant Field Values

EMPTY

public static final int EMPTY
EMPTY

See Also:
Constant Field Values

ENTITY

public static final int ENTITY
ENTITY

See Also:
Constant Field Values

ENTITIES

public static final int ENTITIES
ENTITIES

See Also:
Constant Field Values

FIXED

public static final int FIXED
FIXED

See Also:
Constant Field Values

ID

public static final int ID
ID

See Also:
Constant Field Values

IDREF

public static final int IDREF
IDREF

See Also:
Constant Field Values

IDREFS

public static final int IDREFS
IDREFS

See Also:
Constant Field Values

IMPLIED

public static final int IMPLIED
IMPLIED

See Also:
Constant Field Values

NDATA

public static final int NDATA
NDATA

See Also:
Constant Field Values

NMTOKEN

public static final int NMTOKEN
NMTOKEN

See Also:
Constant Field Values

NMTOKENS

public static final int NMTOKENS
NMTOKENS

See Also:
Constant Field Values

NOTATION

public static final int NOTATION
NOTATION

See Also:
Constant Field Values

PCDATA

public static final int PCDATA
PCDATA

See Also:
Constant Field Values

PUBLIC

public static final int PUBLIC
PUBLIC

See Also:
Constant Field Values

REQUIRED

public static final int REQUIRED
REQUIRED

See Also:
Constant Field Values

SYSTEM

public static final int SYSTEM
SYSTEM

See Also:
Constant Field Values

ATTLIST_DECL

public static final int ATTLIST_DECL
ATTLIST_DECL

See Also:
Constant Field Values

CDATA_END

public static final int CDATA_END
CDATA_END

See Also:
Constant Field Values

CDATA_START

public static final int CDATA_START
CDATA_START

See Also:
Constant Field Values

DOCTYPE_DECL

public static final int DOCTYPE_DECL
DOCTYPE_DECL

See Also:
Constant Field Values

ELEMENT_DECL

public static final int ELEMENT_DECL
ELEMENT_DECL

See Also:
Constant Field Values

END_TAG

public static final int END_TAG
END_TAG

See Also:
Constant Field Values

ENTITY_DECL

public static final int ENTITY_DECL
ENTITY_DECL

See Also:
Constant Field Values

EQUAL

public static final int EQUAL
EQUAL

See Also:
Constant Field Values

GREATER_THAN

public static final int GREATER_THAN
GREATER_THAN

See Also:
Constant Field Values

LBRACKET

public static final int LBRACKET
LBRACKET

See Also:
Constant Field Values

NOTATION_DECL

public static final int NOTATION_DECL
NOTATION_DECL

See Also:
Constant Field Values

PERCENT_OPEN

public static final int PERCENT_OPEN
PERCENT_OPEN

See Also:
Constant Field Values

PI_OPEN

public static final int PI_OPEN
PI_OPEN

See Also:
Constant Field Values

PLUS

public static final int PLUS
PLUS

See Also:
Constant Field Values

QUESTION

public static final int QUESTION
QUESTION

See Also:
Constant Field Values

QUESTION_GREATER_THAN

public static final int QUESTION_GREATER_THAN
QUESTION_GREATER_THAN

See Also:
Constant Field Values

RBRACKET

public static final int RBRACKET
RBRACKET

See Also:
Constant Field Values

SLASH_GREATER_THAN

public static final int SLASH_GREATER_THAN
SLASH_GREATER_THAN

See Also:
Constant Field Values

STAR

public static final int STAR
STAR

See Also:
Constant Field Values

START_TAG

public static final int START_TAG
START_TAG

See Also:
Constant Field Values

XML_DECL

public static final int XML_DECL
XML_DECL

See Also:
Constant Field Values

NAME

public static final int NAME
NAME

See Also:
Constant Field Values

STRING

public static final int STRING
STRING

See Also:
Constant Field Values

ENTITY_REF

public static final int ENTITY_REF
ENTITY_REF

See Also:
Constant Field Values

CHAR_REF

public static final int CHAR_REF
CHAR_REF

See Also:
Constant Field Values

PE_REF

public static final int PE_REF
PE_REF

See Also:
Constant Field Values

CDATA_TEXT

public static final int CDATA_TEXT
CDATA_TEXT

See Also:
Constant Field Values

PERCENT_TEXT

public static final int PERCENT_TEXT
PERCENT_TEXT

See Also:
Constant Field Values

PI_TEXT

public static final int PI_TEXT
PI_TEXT

See Also:
Constant Field Values

TEXT

public static final int TEXT
TEXT

See Also:
Constant Field Values

ENCODING

public static final int ENCODING
ENCODING

See Also:
Constant Field Values

STANDALONE

public static final int STANDALONE
STANDALONE

See Also:
Constant Field Values

VERSION

public static final int VERSION
VERSION

See Also:
Constant Field Values

PERCENT_GREATER

public static final int PERCENT_GREATER
PERCENT_GREATER

See Also:
Constant Field Values

QUOTE

public static final int QUOTE
QUOTE

See Also:
Constant Field Values

MAX_VALUE

public static final int MAX_VALUE
MAX_VALUE

See Also:
Constant Field Values
Constructor Detail

HTMLTokenTypes

protected HTMLTokenTypes()
HTMLTokenTypes

Method Detail

getNames

public static java.lang.String[] getNames()
getNames

Returns:
String[]

getName

public static java.lang.String getName(int type)
Get the name associated with the specified token type

Parameters:
type - The token type
Returns:
The name associated with this token type

getIntValue

public static int getIntValue(java.lang.String name)
getIntValue

Parameters:
name -
Returns:
int