All Packages Class Hierarchy This Package Previous Next Index
Class xe.xe_EntityDeclParser
java.lang.Object
|
+----xe.xe_Parser
|
+----xe.xe_EntityDeclParser
- public class xe_EntityDeclParser
- extends xe_Parser
Class xe_EntityDeclParser - parser for an entity declaration within the
DTD of an XML document, assuming the beginning (' - internal
or
-
xe_EntityDeclParser()
-
-
parse()
- Parse the body of an entity declaration.
-
parseEntityValue(xg_EntityDecl, xe_Token)
- This is an internal entity declaration.
-
parseExternalDef(xg_EntityDecl, xe_Token)
- This is an internal entity declaration.
-
parseExternalID(xe_Token)
- Parse an external ID.
xe_EntityDeclParser
public xe_EntityDeclParser()
parse
public xg_Node parse() throws IOException
- Parse the body of an entity declaration.
- Returns:
- The parsed entity declaration
- Overrides:
- parse in class xe_Parser
parseEntityValue
public void parseEntityValue(xg_EntityDecl InputEntityDecl,
xe_Token InputOpenQuoteToken) throws IOException
- This is an internal entity declaration. Parse its value. It should have the
rough form:
==================>
- Parameters:
- InputEntityDecl - The entity declaration currently being parsed
- InputOpenQuoteToken - The opening quote (either single or double) token
parseExternalDef
public xe_Token parseExternalDef(xg_EntityDecl InputEntityDecl,
xe_Token InputStartToken) throws IOException
- This is an internal entity declaration. Parse its value, assuming its first
token (SYSTEM or PUBLIC) has already been parsed. It should have the form:
SYSTEM "Url" [NDATA Name]
or PUBLIC "Name" "Url" [NDATA Name]
=====>
- Parameters:
- InputEntityDecl - The entity declaration currently being parsed
- InputStartToken - The first token of the external declaration
- Returns:
- The next token after the external declaration
parseExternalID
public xg_ExternalID parseExternalID(xe_Token InputStartToken) throws IOException
- Parse an external ID. It should have the form:
SYSTEM "Url"
or PUBLIC "Name" "Url"
- Parameters:
- InputStartToken - The first token of the external subset
- Returns:
- The external ID which has just been parsed
All Packages Class Hierarchy This Package Previous Next Index