All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class xe.xe_TokenType

java.lang.Object
   |
   +----xa.xa_Keyword
           |
           +----xe.xe_TokenType

public class xe_TokenType
extends xa_Keyword

Class xe_TokenType - A utility class which knows about all the standard XML keywords, and provides a range of manipulation methods for them.

It is expected that this class will normally be used statically: that instances will typically not be created. (They are not much use if instantiated anyway: they have no data attributes.)


Variable Index

 o ATTLIST_DECL_START
 o CDATA_END
?>
 o CDATA_START
 o END_OF_SOURCE
Text
 o END_TAG_START
 o ENTITY_DECL_START
 o ENTITY_REFERENCE
%name
 o LITERAL
]]>
 o MORE_ANY
A number follows
 o MORE_NAME
Special characters follow
 o MORE_NUMBER
A name follows
 o MORE_SPECIAL
No more may follow
 o NAME
A literal string
 o NAMESPACE_DECL_START
 o NO_MORE
If a keyword can have further characters added to form another keyword ('more'), one of these values are used to specify what sorts of characters may follow.
 o NOTATION_DECL_START
 o NUMBER
Name
 o PCDATA
Numeric value
 o PE_REFERENCE
Constants for the standard XML keywords.
 o PI_END
 o PI_START
 o UNKNOWN
End of source
 o XML_DECL_START

Constructor Index

 o xe_TokenType()

Method Index

 o convertToType(String)
Convert to a type the token type whose string value is InputTokenValue.
 o ensureInitialised()
Ensure the hashtables of the token types are initialised with their definitions (ie.
 o getDefn(int)
Get the token type definition of the token whose type is InputTokenValue.
 o getDefn(String)
Get the token type definition of the token whose string value is InputTokenValue.
 o initialise()
Initialise the hashtables of the token types with their definitions.
 o register(String, int, String, boolean, int, int)
Register a token type.
 o toString(int)
Convert to a string the token whose type is InputTokenType.

Variables

 o PE_REFERENCE
 public static final int PE_REFERENCE
Constants for the standard XML keywords. (See also the constants defined in the base class xa_Keyword.)

 o ENTITY_REFERENCE
 public static final int ENTITY_REFERENCE
%name

 o CHAR_REFERENCE_DEC
 public static final int CHAR_REFERENCE_DEC
&name

 o CHAR_REFERENCE_HEX
 public static final int CHAR_REFERENCE_HEX
&#number

 o COMMENT_END
 public static final int COMMENT_END
&#xnumber

 o EMPTY_TAG_END
 public static final int EMPTY_TAG_END
-->

 o COMMENT_START
 public static final int COMMENT_START
/>

 o CDATA_START
 public static final int CDATA_START