All Packages  Class Hierarchy

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Index of all Fields and Methods

A

atEnd(). Method in class xe.xe_Tokenizer
Determine if we have reached the end of the input source.
ATTLIST_DECL_START. Static variable in class xe.xe_TokenType

C

CDATA_END. Static variable in class xe.xe_TokenType
?>
CDATA_START. Static variable in class xe.xe_TokenType
END_OF_SOURCE. Static variable in class xe.xe_TokenType
Text
END_TAG_START. Static variable in class xe.xe_TokenType
ensureInitialised(). Static method in class xe.xe_TokenType
Ensure the hashtables of the token types are initialised with their definitions (ie.
ENTITY_DECL_START. Static variable in class xe.xe_TokenType
ENTITY_REFERENCE. Static variable in class xe.xe_TokenType
%name
EntityClassName. Variable in class xe.xe_Parser
Name of the class used to represent entities of this type.
EntityName. Variable in class xe.xe_Parser
The name of the entity currently being parsed.
EntityType. Variable in class xe.xe_Parser
The type of the entity currently being parsed.

F

fireEndNodeEvent(xg_Node). Method in class xe.xe_ParseManager
Send an 'end node' event to the parse listener.
fireStartNodeEvent(xg_Node, int). Method in class xe.xe_ParseManager
Send a 'start node' event to the parse listener.

G

getCurrentDocument(). Method in class xe.xe_DocumentParser
Get the last document parsed.
getDefn(int). Static method in class xe.xe_TokenType
Get the token type definition of the token whose type is InputTokenValue.
getDefn(String). Static method in class xe.xe_TokenType
Get the token type definition of the token whose string value is InputTokenValue.
getLineCount(). Method in class xe.xe_Tokenizer
Return the number of lines parsed so far.
getMoreControl(). Method in class xe.xe_TokenTypeDefn
Get the value specifying whether there are others beginning with these characters.
getNodeType(). Method in class xe.xe_TokenTypeDefn
Get the type of the node for which this is the opening token.
getParseStatsText(long). Method in class xe.xe_XmlEngine
Prepare and return a string describing how much was parsed, and how fast.
getPrecedingWhitespace(). Method in class xe.xe_Token
Get the value of the preceding whitespace.
getStopIfVerifyErrorFlag(). Method in class xe.xe_Tokenizer
Find out whether we check the semantics of the source.
getStrictXmlSyntaxFlag(). Method in class xe.xe_Tokenizer
Find out whether strict XML syntax is to be rigidly applied.
getStringValue(). Method in class xe.xe_Token
Get the value of the token as a string.
getTotalCharCount(). Method in class xe.xe_Tokenizer
Return the number of characters parsed so far.
getType(). Method in class xe.xe_Token
Get the type of the token (expected to be one of the standard values listed in xe_TokenType).
getType(). Method in class xe.xe_TokenTypeDefn
Get the type of the token.
getTypeString(). Method in class xe.xe_TokenTypeDefn
Get the string representation of the type of the token.
getValidateFlag(). Method in class xe.xe_Tokenizer
Find out whether we validate the source.
getValidTokenFlag(). Method in class xe.xe_TokenTypeDefn
Get the value specifying whether this is a valid token type.
getValue(). Method in class xe.xe_Token
Get the value of the token.
getValue(). Method in class xe.xe_TokenTypeDefn
Get the string value of the token type.

I

initialise(). Static method in class xe.xe_TokenType
Initialise the hashtables of the token types with their definitions.

L

LITERAL. Static variable in class xe.xe_TokenType
]]>

M

MORE_ANY. Static variable in class xe.xe_TokenType
A number follows
MORE_NAME. Static variable in class xe.xe_TokenType
Special characters follow
MORE_NUMBER. Static variable in class xe.xe_TokenType
A name follows
MORE_SPECIAL. Static variable in class xe.xe_TokenType
No more may follow
MoreControl. Variable in class xe.xe_TokenTypeDefn
Are there other token types which begin with this string value? This value was added to drive autoparsing (see class xe_AutoParseManager), although that is now considered more as an interesting experiment than anything else.

N

NAME. Static variable in class xe.xe_TokenType
A literal string
NAMESPACE_DECL_START. Static variable in class xe.xe_TokenType
NO_MORE. Static variable in class xe.xe_TokenType
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.
NodePrecedingWhitespace. Variable in class xe.xe_Parser
If the node currently being parsed was preceded by whitespace in the source, this is it.
NodeType. Variable in class xe.xe_TokenTypeDefn
If this token represents the beginning of a node, this is the type of node.
NOTATION_DECL_START. Static variable in class xe.xe_TokenType
NUMBER. Static variable in class xe.xe_TokenType
Name

P

ParentNode. Variable in class xe.xe_Parser
The parent of the node currently being parsed.
parse(). Method in class xe.xe_AttListDeclParser
Parse the body of an attribute list declaration.
parse(). Method in class xe.xe_CdataParser
Parse a body of character data, putting the result in a newly-created CDATA entity.
parse(). Method in class xe.xe_CommentParser
Parse the body of an XML comment, putting the result in a newly-created comment entity.
parse(). Method in class xe.xe_DocumentParser
Parse an XML document, creating a new xg_Document for the purpose.
parse(). Method in class xe.xe_DtdParser
Parse the body of a Document Type Definition, putting the result in a newly-created DTD object.
parse(). Method in class xe.xe_ElementDeclParser
Parse the body of an element declaration.
parse(). Method in class xe.xe_ElementParser
Parse the body of an XML element, putting the result in a newly-created element object.
parse(). Method in class xe.xe_EntityDeclParser
Parse the body of an entity declaration.
parse(). Method in class xe.xe_ExternalIDParser
Parse an external ID, putting the result in a newly-created external ID object.
parse(). Method in class xe.xe_NamespaceDeclParser
Parse a namespace declaration, putting the result in a newly-created namespace declaration object.
parse(). Method in class xe.xe_Parser
Attempt to parse the next entity.
parse(). Method in class xe.xe_PIParser
Parse a processing instruction, putting the result in a newly-created PI entity.
parse(). Method in class xe.xe_XmlDeclParser
Parse an XML declaration, putting the result in a newly-created XML declaration object.
parse(xe_ParseManager). Method in class xe.xe_Parser
Attempt to parse the next entity.
parse(xg_Document). Method in class xe.xe_DocumentParser
Main document parse routine.
parseAttDecl(xg_AttListDecl, xe_Token). Method in class xe.xe_AttListDeclParser
Parse the declaration of an attribute, assuming that its name has already been parsed (and is in the InputStartToken).
parseAttDefault(xg_AttDecl). Method in class xe.xe_AttListDeclParser
Parse the default value for an attribute declaration, assuming all its preceding parts have already been parsed.
parseAttribute(xe_Token). Method in class xe.xe_Parser
Parse an attribute (ie.
parseAttributes(xg_Element). Method in class xe.xe_ElementParser
Parse the attributes of an XML element, if it has any.
parseAttributes(xg_NamespaceDecl). Method in class xe.xe_NamespaceDeclParser
Parse the attributes of a namespace declaration.
parseAttributes(xg_XmlDecl). Method in class xe.xe_XmlDeclParser
Parse the XML declaration, assuming its starting ' parseContent(xg_Element). Method in class xe.xe_ElementParser
Parse the content of an XML element, adding it to the InputElement.
parseContentToken(). Method in class xe.xe_Tokenizer

Parse the next piece of the content of an element, and return it as a token.

parseElementContent(xg_ElementDecl, xe_Token, xe_Token). Method in class xe.xe_ElementDeclParser
Parse the declaration of an 'elements' element, assuming that its name, opening parenthesis and the first token of the first Entry have already been parsed.
parseElementsEntry(xg_ElementDecl, xe_Token). Method in class xe.xe_ElementDeclParser
Parse an entry in the list of an 'elements' element, assuming that its first token has already been parsed.
parseElementsList(xg_ElementDecl, xe_Token, xe_Token). Method in class xe.xe_ElementDeclParser
Parse an entry in the list of an 'elements' element, assuming that its opening parenthesis and the token after it have already been parsed.
parseEndTag(xg_Element, xe_Token). Method in class xe.xe_ElementParser
Parse the end tag, which we expect to be of the form , where Name is the name of the InputElement.
parseEntityValue(xg_EntityDecl, xe_Token). Method in class xe.xe_EntityDeclParser
This is an internal entity declaration.
parseEnumeratedAtt(xg_AttDecl, xe_Token). Method in class xe.xe_AttListDeclParser
Parse an enumerated attribute declaration, which defines a list of values this attribute may have.
parseExternalDef(xg_EntityDecl, xe_Token). Method in class xe.xe_EntityDeclParser
This is an internal entity declaration.
parseExternalID(xe_Token). Method in class xe.xe_DtdParser
Parse an external ID.
parseExternalID(xe_Token). Method in class xe.xe_EntityDeclParser
Parse an external ID.
parseExternalSubset(xg_Dtd, xe_Token). Method in class xe.xe_DtdParser
Parse the external subset of the DTD, assuming its first token (SYSTEM or PUBLIC has already been parsed).
parseInternalSubset(xg_Dtd, xe_Token). Method in class xe.xe_DtdParser
Parse the internal subset of the DTD.
parseLiteralToken(boolean). Method in class xe.xe_Tokenizer
Parse the next token as a literal.
parseLiteralToken(char). Method in class xe.xe_Tokenizer
Parse the next token as a literal, assuming that its opening quote (either single or double) has already been parsed.
parseMixedContent(xg_ElementDecl, xe_Token, xe_Token). Method in class xe.xe_ElementDeclParser
Parse the declaration of a mixed element, assuming that its name, opening parenthesis and the '#' of #PCDATA have already been parsed (and the '#' is in the InputStartToken).
parseMixedNameList(xg_ElementDecl, xe_Token). Method in class xe.xe_ElementDeclParser
Parse the declaration of a mixed element which has a list of names, assuming that it has been parsed up to the '#PCDATA |'.
parseName(). Method in class xe.xe_Tokenizer
Parse a name.
parseName(StringBuffer). Method in class xe.xe_Tokenizer
Parse a name, which must start with a character acceptable at the start of a name and whose remaining characters must be acceptable within a name.
parseNameToken(). Method in class xe.xe_Tokenizer
Parse the next token as a name.
parseNameToken(boolean). Method in class xe.xe_Tokenizer
Parse the next token as a name.
parseNameTokenExpected(String, boolean). Method in class xe.xe_Tokenizer
Parse the next token as a name, and check it has the expected value.
parseNextEntity(xe_Token, xg_Node). Method in class xe.xe_Parser
Parse the next entity, assuming its start (ie.
parseNextToken(boolean). Method in class xe.xe_Tokenizer
Parse the next token.
parseNextToken(boolean). Method in class xe.xe_TokenizerAuto
Parse the next token.
parseNextTokenExpected(int, boolean). Method in class xe.xe_Tokenizer
Parse the next token, and make sure it is of the expected type; an exception is thrown if it is not.
parseNotationDecl(xg_Dtd, xe_Token). Method in class xe.xe_DtdParser
Parse a notation declaration, assuming the opening " parseNumber(). Method in class xe.xe_Tokenizer
Parse a decimal integer number, which can only include 0-9.
parseOccurrencesChar(xg_ElementDecl). Method in class xe.xe_ElementDeclParser
Parse the occurrences character ('?', '*', '+' - or it may be omitted altogether) which occurs at the end of an elements list.
parseSource(Reader, xg_Document). Method in class xe.xe_XmlEngine
Parse the source supplied by the InputSourceReader.
parseUntil(char). Method in class xe.xe_Tokenizer
Parse until we encounter the InputEndChar (or the end of the source).
parseUntil(String). Method in class xe.xe_Tokenizer
Parse until we encounter the InputEndString (or the end of the source).
parseWhitespace(boolean). Method in class xe.xe_Tokenizer
Parse all whitespace characters, until we find a non-whitespace character.
PCDATA. Static variable in class xe.xe_TokenType
Numeric value
PE_REFERENCE. Static variable in class xe.xe_TokenType
Constants for the standard XML keywords.
PI_END. Static variable in class xe.xe_TokenType
PI_START. Static variable in class xe.xe_TokenType

R

readNextChar(). Method in class xe.xe_Tokenizer
Read the next character from the source.
register(String, int, String, boolean, int, int). Static method in class xe.xe_TokenType
Register a token type.
reportWarning(String). Method in class xe.xe_Tokenizer
Report a warning message.
reportWarning(String, int). Method in class xe.xe_Tokenizer
Report a warning message.
resetStatistics(). Method in class xe.xe_Tokenizer
Reset the counts of lines, etc., ready for another parse.

S

setEntityClassName(String). Method in class xe.xe_Parser
Set the name of the class used to represent entities of this type.
setEntityName(String). Method in class xe.xe_Parser
Set the name of the entity currently being parsed.
setEntityType(int). Method in class xe.xe_Parser
Set the type of the entity currently being parsed.
setNodePrecedingWhitespace(String). Method in class xe.xe_Parser
Set the value of the preceding whitespace of the node currently being parsed.
setParentNode(xg_Node). Method in class xe.xe_Parser
Set the parent of the entity currently being parsed.
setParseListener(xm_ParseListener). Method in class xe.xe_ParseManager
Set the parse listener which is to be informed of parse events.
setParseListener(xm_ParseListener). Method in class xe.xe_XmlEngine
Set the parse listener which is to be informed of parse events.
setParseManager(xe_ParseManager). Method in class xe.xe_Parser
Set the parse manager.
setPrecedingWhitespace(String). Method in class xe.xe_Token
Set the value of the preceding whitespace.
setSource(Reader). Method in class xe.xe_Tokenizer
Set the reader from which the XML source is to be read.
setStopIfVerifyErrorFlag(boolean). Method in class xe.xe_Tokenizer
Specify whether we check the semantics of the source.
setStrictXmlSyntaxFlag(boolean). Method in class xe.xe_Tokenizer
Specify whether strict XML syntax is to be rigidly applied.
setType(int). Method in class xe.xe_Token
Set the type of the token.
setType(int). Method in class xe.xe_TokenTypeDefn
Set the type of this token.
setTypeString(String). Method in class xe.xe_TokenTypeDefn
Set the string representation of the type of this token.
setValidateFlag(boolean). Method in class xe.xe_Tokenizer
Specify whether we validate the source.
setValue(String). Method in class xe.xe_Token
Set the value of the token.
setValue(String). Method in class xe.xe_TokenTypeDefn
Set the string value of this token type.

T

TheParseManager. Variable in class xe.xe_Parser
The parse manager controlling the current parse.
throwParseException(String). Method in class xe.xe_Tokenizer
Throw a parse exception, using the InputErrorMessage.
throwParseException(String, int, int). Method in class xe.xe_Tokenizer
Throw a parse exception, using the InputErrorMessage.
TokenType. Variable in class xe.xe_TokenTypeDefn
The type of this token.
TokenTypeString. Variable in class xe.xe_TokenTypeDefn
A string representation of the type of this token.
TokenValue. Variable in class xe.xe_TokenTypeDefn
The string value of this token type.
toString(). Method in class xe.xe_Token
Return a string representation of the token (intended for use as debug output).
toString(). Method in class xe.xe_TokenTypeDefn
Return a string representation of this token type definition - mainly to be used for debug purposes.
toString(int). Static method in class xe.xe_TokenType
Convert to a string the token whose type is InputTokenType.
typeToString(). Method in class xe.xe_Token
Return the token type as a string.

U

UNKNOWN. Static variable in class xe.xe_TokenType
End of source

V

ValidTokenFlag. Variable in class xe.xe_TokenTypeDefn
If we parsed this value, could it be considered a valid token? True means it can; false means it cannot.

X

xe_AttListDeclParser(). Constructor for class xe.xe_AttListDeclParser
xe_CdataParser(). Constructor for class xe.xe_CdataParser
xe_CommentParser(). Constructor for class xe.xe_CommentParser
xe_DocumentParser(). Constructor for class xe.xe_DocumentParser
xe_DtdParser(). Constructor for class xe.xe_DtdParser
xe_ElementDeclParser(). Constructor for class xe.xe_ElementDeclParser
xe_ElementParser(). Constructor for class xe.xe_ElementParser
xe_EntityDeclParser(). Constructor for class xe.xe_EntityDeclParser
xe_ExternalIDParser(). Constructor for class xe.xe_ExternalIDParser
xe_NamespaceDeclParser(). Constructor for class xe.xe_NamespaceDeclParser
xe_ParseManager(). Constructor for class xe.xe_ParseManager
Default constructor.
xe_Parser(). Constructor for class xe.xe_Parser
xe_ParserFactory(). Constructor for class xe.xe_ParserFactory
xe_PIParser(). Constructor for class xe.xe_PIParser
xe_Token(int). Constructor for class xe.xe_Token
Construct a token with no value defined.
xe_Token(int, String). Constructor for class xe.xe_Token
Construct a token which has a string value.
xe_Tokenizer(). Constructor for class xe.xe_Tokenizer
Default constructor.
xe_TokenizerAuto(). Constructor for class xe.xe_TokenizerAuto
Default constructor.
xe_TokenType(). Constructor for class xe.xe_TokenType
xe_TokenTypeDefn(String, int, String, int, boolean, int). Constructor for class xe.xe_TokenTypeDefn
Construct a token type definition.
xe_XmlDeclParser(). Constructor for class xe.xe_XmlDeclParser
xe_XmlEngine(). Constructor for class xe.xe_XmlEngine
Constructor.
XML_DECL_START. Static variable in class xe.xe_TokenType