java.lang.Object
edu.iicm.xpg.statemachine.Parser
- Direct Known Subclasses:
- InitParser
- public class Parser
- extends java.lang.Object
- Version:
- $revision$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
data_
protected DataObject data_
reader_
protected org.xml.sax.XMLReader reader_
handler_
protected XMLHandler handler_
state_machine_
protected PrimitiveStateMachine state_machine_
XML_READER
protected static final java.lang.String XML_READER
- See Also:
- Constant Field Values
PARSER_FEATURE_SCHEMA
protected static final java.lang.String PARSER_FEATURE_SCHEMA
- See Also:
- Constant Field Values
PARSER_FEATURE_VALIDATING
protected static final java.lang.String PARSER_FEATURE_VALIDATING
- See Also:
- Constant Field Values
PARSER_FEATURE_VALIDATING_DYNAMIC
protected static final java.lang.String PARSER_FEATURE_VALIDATING_DYNAMIC
- See Also:
- Constant Field Values
STATE_MACHINE
protected static final java.lang.String STATE_MACHINE
- See Also:
- Constant Field Values
TRANSITION_FATORY
protected static final java.lang.String TRANSITION_FATORY
- See Also:
- Constant Field Values
Parser
public Parser()
throws org.xml.sax.SAXException
Parser
public Parser(java.lang.String xml_reader)
throws org.xml.sax.SAXException
setup
protected void setup()
parseFile
public void parseFile(java.lang.String filename)
throws java.io.IOException,
org.xml.sax.SAXException
- Parse a file , calls the XMLHandler
setHandlers
public void setHandlers(XMLHandler handler)
throws java.lang.IllegalArgumentException
- set the diverse handlers for the xml reader
setHandlers
public void setHandlers()
- set the intern handler for the xml reader
setFeatures
public void setFeatures()
throws org.xml.sax.SAXException
- set the features for the xml reader