com.jeffpalm.dtd
Class Parser

java.lang.Object
  extended by com.jeffpalm.dtd.Parser
All Implemented Interfaces:
ParserConstants

public class Parser
extends java.lang.Object
implements ParserConstants


Field Summary
static Token jj_nt
           
static boolean lookingAhead
           
static Token token
           
static ParserTokenManager token_source
           
 
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
 
Constructor Summary
Parser(java.io.InputStream stream)
           
Parser(ParserTokenManager tm)
           
Parser(java.io.Reader stream)
           
 
Method Summary
static void attListDecl()
           
static void attribDef()
           
static void attribType()
           
static void attribValue()
           
static void children()
           
static void choice()
           
static void contentSpec()
           
static void cp()
           
static void defaultDecl()
           
static void disable_tracing()
           
static void dtd()
           
static void elementDecl()
           
static void enable_tracing()
           
static void enumeratedType()
           
static void enumeration()
           
static ParseException generateParseException()
           
static Token getNextToken()
           
static Token getToken(int index)
           
static void main(java.lang.String[] args)
           
static void mixed()
           
static void modifier()
           
static java.lang.String Name()
           
static void notationType()
           
static void parse(java.io.InputStream aInSt)
           
static void ReInit(java.io.InputStream stream)
           
 void ReInit(ParserTokenManager tm)
           
static void ReInit(java.io.Reader stream)
           
static void seq()
           
static void seqchoice()
           
static void stringType()
           
static void tokenizedType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

token_source

public static ParserTokenManager token_source

token

public static Token token

jj_nt

public static Token jj_nt

lookingAhead

public static boolean lookingAhead
Constructor Detail

Parser

public Parser(java.io.InputStream stream)

Parser

public Parser(java.io.Reader stream)

Parser

public Parser(ParserTokenManager tm)
Method Detail

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()