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.)
-
ATTLIST_DECL_START
-
CDATA_END
- ?>
-
CDATA_START
-
-
END_OF_SOURCE
- Text
-
END_TAG_START
-
ENTITY_DECL_START
-
ENTITY_REFERENCE
- %name
-
LITERAL
- ]]>
-
MORE_ANY
- A number follows
-
MORE_NAME
- Special characters follow
-
MORE_NUMBER
- A name follows
-
MORE_SPECIAL
- No more may follow
-
NAME
- A literal string
-
NAMESPACE_DECL_START
-
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.
-
NOTATION_DECL_START
-
NUMBER
- Name
-
PCDATA
- Numeric value
-
PE_REFERENCE
- Constants for the standard XML keywords.
-
PI_END
-
PI_START
-
UNKNOWN
- End of source
-
XML_DECL_START
-
-
xe_TokenType()
-
-
convertToType(String)
- Convert to a type the token type whose string value is InputTokenValue.
-
ensureInitialised()
- Ensure the hashtables of the token types are initialised with their definitions
(ie.
-
getDefn(int)
- Get the token type definition of the token whose type is InputTokenValue.
-
getDefn(String)
- Get the token type definition of the token whose string value is
InputTokenValue.
-
initialise()
- Initialise the hashtables of the token types with their definitions.
-
register(String, int, String, boolean, int, int)
- Register a token type.
-
toString(int)
- Convert to a string the token whose type is InputTokenType.
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.)
ENTITY_REFERENCE
public static final int ENTITY_REFERENCE
- %name
CHAR_REFERENCE_DEC
public static final int CHAR_REFERENCE_DEC
- &name
CHAR_REFERENCE_HEX
public static final int CHAR_REFERENCE_HEX
- number
COMMENT_END
public static final int COMMENT_END
- number
EMPTY_TAG_END
public static final int EMPTY_TAG_END
- -->
COMMENT_START
public static final int COMMENT_START
- />
CDATA_START
public static final int CDATA_START
-