jess.xml
Class XMLVisitor
java.lang.Object
   jess.xml.XMLVisitor
jess.xml.XMLVisitor
- All Implemented Interfaces: 
- Visitor
- public class XMLVisitor- extends java.lang.Object- implements Visitor
Renders Jess constructs as JessML code. You
 should construct an XMLVisitor with a Jess object as a constructor
 argument, then call toString() to get the JessML version. Any
 Jess object that implements Visitable can be rendered this way. 
 
 The class XMLPrinter is a convenient wrapper around this class that
 can be used to translate an entire file of Jess code into XML.
 
 (C) 2006 Sandia National Laboratories
- See Also:
- Visitable
| Constructor Summary | 
| XMLVisitor(Visitable v)Create an XMLVisitor to render the given Visitable.
 | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
XMLVisitor
public XMLVisitor(Visitable v)
- Create an XMLVisitor to render the given Visitable. When toString() is called on this object,
 it will return an XML version of the argument.
 
- Parameters:
- v- a construct or other Visitable to render
- See Also:
- Visitor
visitDeffacts
public java.lang.Object visitDeffacts(Deffacts d)
- 
- Specified by:
- visitDeffactsin interface- Visitor
 
- 
 
visitDeftemplate
public java.lang.Object visitDeftemplate(Deftemplate d)
- 
- Specified by:
- visitDeftemplatein interface- Visitor
 
- 
 
visitDeffunction
public java.lang.Object visitDeffunction(Deffunction d)
- 
- Specified by:
- visitDeffunctionin interface- Visitor
 
- 
 
visitDefglobal
public java.lang.Object visitDefglobal(Defglobal d)
- 
- Specified by:
- visitDefglobalin interface- Visitor
 
- 
 
visitDefrule
public java.lang.Object visitDefrule(Defrule d)
- 
- Specified by:
- visitDefrulein interface- Visitor
 
- 
 
visitDefquery
public java.lang.Object visitDefquery(Defquery d)
- 
- Specified by:
- visitDefqueryin interface- Visitor
 
- 
 
visitPattern
public java.lang.Object visitPattern(Pattern p)
- 
- Specified by:
- visitPatternin interface- Visitor
 
- 
 
visitGroup
public java.lang.Object visitGroup(Group p)
- 
- Specified by:
- visitGroupin interface- Visitor
 
- 
 
visitTest1
public java.lang.Object visitTest1(Test1 t)
- 
- Specified by:
- visitTest1in interface- Visitor
 
- 
 
visitFact
public java.lang.Object visitFact(Fact fact)
- 
- Specified by:
- visitFactin interface- Visitor
 
- 
 
visitFuncall
public java.lang.Object visitFuncall(Funcall funcall)
- 
- Specified by:
- visitFuncallin interface- Visitor
 
- 
 
visitAccumulate
public java.lang.Object visitAccumulate(Accumulate accumulate)
- 
- Specified by:
- visitAccumulatein interface- Visitor
 
- 
 
visitDefmodule
public java.lang.Object visitDefmodule(Defmodule defmodule)
- 
- Specified by:
- visitDefmodulein interface- Visitor
 
- 
 
toString
public java.lang.String toString()
- 
 
-