jess.xml
Class JessSAXParser

java.lang.Object
  extended byjess.xml.JessSAXParser

public class JessSAXParser
extends java.lang.Object

A SAX-based parser for JessML. Construct a JessSAXParser with a Rete object as an argument, then pass an InputSource to the parse() method. All the constructs and other code in the file will be installed into the Rete object.

 JessSAXParser parser = new JessSAXParser(engine);
 parser.parse(new org.xml.sax.InputSource(new FileInputStream(filename));
 
(C) 2005 Sandia National Laboratories

See Also:
Rete.batch(java.lang.String)

Constructor Summary
JessSAXParser(Rete sink)
           
 
Method Summary
 void parse(org.xml.sax.InputSource source)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JessSAXParser

public JessSAXParser(Rete sink)
              throws JessException
Method Detail

parse

public void parse(org.xml.sax.InputSource source)
           throws JessException
Throws:
JessException

© 2006 Sandia Corporation