|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.castor.xml.dtd.parser.DTDParser
public class DTDParser
Main XML DTD parser. Parses DTD documents with parameter entity references already substituted by corresponding replacement text. Constructs DTD document object.
Nested Class Summary | |
---|---|
(package private) 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. |
java.lang.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 |
ElementDecl(DTDdocument document)
Parsing procedure corresponding to the Element Declaration nonterminal. |
void |
enable_tracing()
|
ParseException |
generateParseException()
|
void |
GEntityDecl(DTDdocument document)
Parsing procedure corresponding to the General Entity Declaration nonterminal. |
Token |
getNextToken()
|
Token |
getToken(int index)
|
java.lang.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 "?", "*" or "+". |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public DTDParserTokenManager token_source
public Token token
public Token jj_nt
public boolean lookingAhead
Constructor Detail |
---|
public DTDParser(CharStream stream)
public DTDParser(DTDParserTokenManager tm)
Method Detail |
---|
public final DTDdocument Input() throws ParseException, DTDException
ParseException
DTDException
public final void ElementDecl(DTDdocument document) throws ParseException, DTDException
document
- DTD document to add this Element Declaration to.
ParseException
DTDException
public final void Mixed(Element element) throws ParseException, DTDException
element
- Element which content is being defined.
ParseException
DTDException
public final ContentParticle ContPart() throws ParseException
ParseException
public final ContentParticle SeqOrChoiceContPart() throws ParseException
ParseException
public final void OccuranceSpecification(ContentParticle cp) throws ParseException
cp
- Content Particle being processed.
ParseException
public final void AttlistDecl(DTDdocument document) throws ParseException, DTDException
document
- DTD document to add this Attribute Declaration to.
ParseException
DTDException
public final java.lang.String AttrValue() throws ParseException
ParseException
public final void GEntityDecl(DTDdocument document) throws ParseException
document
- DTD document to add this General Entity Declaration to.
ParseException
public final java.lang.String GEValue() throws ParseException
ParseException
public final void NotationDecl(DTDdocument document) throws ParseException, DTDException
document
- DTD document to add this Notation Declaration to.
ParseException
DTDException
public final void Comment() throws ParseException
ParseException
public void ReInit(CharStream stream)
public void ReInit(DTDParserTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public final ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |