com.ibm.able.beans.fuzzy
Class FsXmlParser
java.lang.Object
|
+--org.xml.sax.helpers.DefaultHandler
|
+--com.ibm.able.beans.fuzzy.FsXmlParser
- public class FsXmlParser
- extends org.xml.sax.helpers.DefaultHandler
This class will read an XML document written according to the
FsRuleSet.dtd, and instantiate an FsRuleSet object.
- Version:
- $Revision: 1.1 $, $Date: 2000/06/05 18:22:34 $
Method Summary |
void |
endElement(java.lang.String theUri,
java.lang.String theLocalName,
java.lang.String theRawName)
|
void |
error(org.xml.sax.SAXParseException theSAXParseException)
|
void |
fatalError(org.xml.sax.SAXParseException theSAXParseException)
|
void |
instantiateFrom(org.xml.sax.InputSource theRuleSetSource,
FsRuleSet theRuleSet,
FsTrace theTracer,
boolean theStopOnFsExceptionFlag)
|
void |
instantiateFrom(java.lang.String theRuleSetDocument,
FsRuleSet theRuleSet,
FsTrace theTracer,
boolean theStopOnFsExceptionFlag)
|
boolean |
isStopOnFsException()
|
boolean |
isTraceActive()
|
static void |
main(java.lang.String[] args)
|
void |
runTests(java.lang.String theRuleSetDocument)
This method is for testing only, and is called by main() when
this class is exercised from the command line. |
void |
setDocumentLocator(org.xml.sax.Locator theLocator)
|
void |
setStopOnFsException(boolean theStopOnFsExceptionFlag)
|
void |
setTraceActive(boolean theTraceValue)
|
void |
startElement(java.lang.String theUri,
java.lang.String theLocalName,
java.lang.String theRawName,
org.xml.sax.Attributes theAttributes)
|
void |
warning(org.xml.sax.SAXParseException theSAXParseException)
|
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
characters,
endDocument,
endPrefixMapping,
ignorableWhitespace,
notationDecl,
processingInstruction,
resolveEntity,
skippedEntity,
startDocument,
startPrefixMapping,
unparsedEntityDecl |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
FsXmlParser
public FsXmlParser()
setDocumentLocator
public void setDocumentLocator(org.xml.sax.Locator theLocator)
- Overrides:
- setDocumentLocator in class org.xml.sax.helpers.DefaultHandler
startElement
public void startElement(java.lang.String theUri,
java.lang.String theLocalName,
java.lang.String theRawName,
org.xml.sax.Attributes theAttributes)
throws org.xml.sax.SAXException
- Overrides:
- startElement in class org.xml.sax.helpers.DefaultHandler
endElement
public void endElement(java.lang.String theUri,
java.lang.String theLocalName,
java.lang.String theRawName)
throws org.xml.sax.SAXException
- Overrides:
- endElement in class org.xml.sax.helpers.DefaultHandler
error
public void error(org.xml.sax.SAXParseException theSAXParseException)
- Overrides:
- error in class org.xml.sax.helpers.DefaultHandler
fatalError
public void fatalError(org.xml.sax.SAXParseException theSAXParseException)
throws org.xml.sax.SAXException
- Overrides:
- fatalError in class org.xml.sax.helpers.DefaultHandler
warning
public void warning(org.xml.sax.SAXParseException theSAXParseException)
- Overrides:
- warning in class org.xml.sax.helpers.DefaultHandler
instantiateFrom
public void instantiateFrom(java.lang.String theRuleSetDocument,
FsRuleSet theRuleSet,
FsTrace theTracer,
boolean theStopOnFsExceptionFlag)
throws java.lang.ClassNotFoundException,
java.lang.IllegalAccessException,
java.lang.InstantiationException,
org.xml.sax.SAXException,
java.io.IOException
instantiateFrom
public void instantiateFrom(org.xml.sax.InputSource theRuleSetSource,
FsRuleSet theRuleSet,
FsTrace theTracer,
boolean theStopOnFsExceptionFlag)
throws java.lang.ClassNotFoundException,
java.lang.IllegalAccessException,
java.lang.InstantiationException,
org.xml.sax.SAXException,
java.io.IOException
setTraceActive
public void setTraceActive(boolean theTraceValue)
isTraceActive
public boolean isTraceActive()
setStopOnFsException
public void setStopOnFsException(boolean theStopOnFsExceptionFlag)
isStopOnFsException
public boolean isStopOnFsException()
main
public static void main(java.lang.String[] args)
runTests
public void runTests(java.lang.String theRuleSetDocument)
- This method is for testing only, and is called by main() when
this class is exercised from the command line. This method should
not be called by anything else.
ABLE: Produced by Joe, Don, and Jeff who say, 'Thanks for your support.'