com.jeffpalm.dtd
Class Parser
java.lang.Object
com.jeffpalm.dtd.Parser
- All Implemented Interfaces:
- ParserConstants
public class Parser
- extends java.lang.Object
- implements ParserConstants
Fields inherited from interface com.jeffpalm.dtd.ParserConstants |
ANY, CDATA, DEFAULT, DIGIT, EMPTY, ENTITIES, ENTITY, EOF, FIXED, ID, IDREF, IDREFS, IMPLIED, LETTER, NAME, NAMECHAR, NMTOKEN, NMTOKENS, NOTATION, PCDATA, QUOTEDSTR, REQUIRED, tokenImage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
token_source
public static ParserTokenManager token_source
token
public static Token token
jj_nt
public static Token jj_nt
lookingAhead
public static boolean lookingAhead
Parser
public Parser(java.io.InputStream stream)
Parser
public Parser(java.io.Reader stream)
Parser
public Parser(ParserTokenManager tm)
parse
public static void parse(java.io.InputStream aInSt)
throws ParseException
- Throws:
ParseException
main
public static void main(java.lang.String[] args)
throws ParseException,
java.io.FileNotFoundException
- Throws:
ParseException
java.io.FileNotFoundException
dtd
public static final void dtd()
throws ParseException
- Throws:
ParseException
elementDecl
public static final void elementDecl()
throws ParseException
- Throws:
ParseException
contentSpec
public static final void contentSpec()
throws ParseException
- Throws:
ParseException
mixed
public static final void mixed()
throws ParseException
- Throws:
ParseException
children
public static final void children()
throws ParseException
- Throws:
ParseException
seqchoice
public static final void seqchoice()
throws ParseException
- Throws:
ParseException
choice
public static final void choice()
throws ParseException
- Throws:
ParseException
seq
public static final void seq()
throws ParseException
- Throws:
ParseException
cp
public static final void cp()
throws ParseException
- Throws:
ParseException
modifier
public static final void modifier()
throws ParseException
- Throws:
ParseException
attListDecl
public static final void attListDecl()
throws ParseException
- Throws:
ParseException
attribDef
public static final void attribDef()
throws ParseException
- Throws:
ParseException
attribType
public static final void attribType()
throws ParseException
- Throws:
ParseException
stringType
public static final void stringType()
throws ParseException
- Throws:
ParseException
tokenizedType
public static final void tokenizedType()
throws ParseException
- Throws:
ParseException
enumeratedType
public static final void enumeratedType()
throws ParseException
- Throws:
ParseException
notationType
public static final void notationType()
throws ParseException
- Throws:
ParseException
enumeration
public static final void enumeration()
throws ParseException
- Throws:
ParseException
defaultDecl
public static final void defaultDecl()
throws ParseException
- Throws:
ParseException
attribValue
public static final void attribValue()
throws ParseException
- Throws:
ParseException
Name
public static final java.lang.String Name()
throws ParseException
- Throws:
ParseException
ReInit
public static void ReInit(java.io.InputStream stream)
ReInit
public static void ReInit(java.io.Reader stream)
ReInit
public void ReInit(ParserTokenManager tm)
getNextToken
public static final Token getNextToken()
getToken
public static final Token getToken(int index)
generateParseException
public static ParseException generateParseException()
enable_tracing
public static final void enable_tracing()
disable_tracing
public static final void disable_tracing()