org.exolab.castor.xml.dtd.parser
public class DTDParser extends Object implements DTDParserConstants
Version: $Revision: 1.4 $ $Date: 2005/03/07 08:31:02 $
Nested Class Summary | |
---|---|
static class | DTDParser.JJCalls |
Field Summary | |
---|---|
Token | jj_nt |
boolean | lookingAhead |
Token | token |
DTDParserTokenManager | token_source |
Constructor Summary | |
---|---|
DTDParser(CharStream stream) | |
DTDParser(DTDParserTokenManager tm) |
Method Summary | |
---|---|
void | AttlistDecl(DTDdocument document)
Parsing procedure corresponding to the Attribute Declaration nonterminal. |
String | AttrValue()
Parsing procedure corresponding to the Attribute Value nonterminal. |
void | Comment()
Parsing procedure corresponding to the Comment nonterminal. |
ContentParticle | ContPart()
Parsing procedure corresponding to the Content Particle nonterminal. |
void | disable_tracing() |
void | enable_tracing() |
void | ElementDecl(DTDdocument document)
Parsing procedure corresponding to the Element Declaration nonterminal. |
ParseException | generateParseException() |
Token | getNextToken() |
Token | getToken(int index) |
void | GEntityDecl(DTDdocument document)
Parsing procedure corresponding to the General Entity
Declaration nonterminal. |
String | GEValue()
Parsing procedure corresponding to the General Entity Value nonterminal. |
DTDdocument | Input()
Main parsing method that starts parsing process. |
void | Mixed(Element element)
Parsing procedure corresponding to the Mixed Element Content
nonterminal. |
void | NotationDecl(DTDdocument document)
Parsing procedure corresponding to the Notation Declaration nonterminal. |
void | OccuranceSpecification(ContentParticle cp)
Method to parse occurance specification of a Content Particle,
that is "? |
void | ReInit(CharStream stream) |
void | ReInit(DTDParserTokenManager tm) |
ContentParticle | SeqOrChoiceContPart()
Parsing procedure corresponding to the Content Particle nonterminal
of the partial form: choice list of content particles, or sequence list
of content particles. |
Parameters: document DTD document to add this Attribute Declaration to.
Returns: String containing parsed value.
Returns: corresponding Content Particle object.
Parameters: document DTD document to add this Element Declaration to.
Parameters: document DTD document to add this General Entity Declaration to.
Returns: String containing parsed value.
Returns: corresponding DTD document object.
Parameters: element Element which content is being defined.
Parameters: document DTD document to add this Notation Declaration to.
Parameters: cp Content Particle being processed.
Returns: corresponding Content Particle object.