站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 4.0.0.11754MR2 API 英文版文档

XmlDumper (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.xml
Class XmlDumper

java.lang.Object
  extended by org.drools.util.ReflectiveVisitor
      extended by org.drools.xml.XmlDumper
All Implemented Interfaces:
PackageDescrDumper, Visitor

public class XmlDumper
extends ReflectiveVisitor
implements PackageDescrDumper

This utility will take a AST of a rule package, and emit XML. This can be used in porting from DRL to XML.

Author:
Author Jayaram C S

Constructor Summary
XmlDumper()
           
 
Method Summary
 String dump(PackageDescr packageDescr)
           
 void visitAndDescr(AndDescr descr)
           
 void visitAttributeDescr(AttributeDescr attributeDescr)
           
 void visitEvalDescr(EvalDescr descr)
           
 void visitExistsDescr(ExistsDescr descr)
           
 void visitFieldBindingDescr(FieldBindingDescr descr)
           
 void visitFieldConstraintDescr(FieldConstraintDescr descr)
           
 void visitFunctionDescr(FunctionDescr functionDescr)
           
 void visitLiteralRestrictionDescr(LiteralRestrictionDescr descr)
           
 void visitNotDescr(NotDescr descr)
           
 void visitOrDescr(OrDescr descr)
           
 void visitPackageDescr(PackageDescr packageDescr)
           
 void visitPatternDescr(PatternDescr descr)
           
 void visitPredicateDescr(PredicateDescr descr)
           
 void visitQueryDescr(QueryDescr descr)
           
 void visitRestrictionConnectiveDescr(RestrictionConnectiveDescr descr)
           
 void visitReturnValueRestrictionDescr(ReturnValueRestrictionDescr descr)
           
 void visitVariableRestrictionDescr(VariableRestrictionDescr descr)
           
 
Methods inherited from class org.drools.util.ReflectiveVisitor
visit, visitObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlDumper

public XmlDumper()
Method Detail

dump

public String dump(PackageDescr packageDescr)
Specified by:
dump in interface PackageDescrDumper

visitAndDescr

public void visitAndDescr(AndDescr descr)

visitAttributeDescr

public void visitAttributeDescr(AttributeDescr attributeDescr)

visitVariableRestrictionDescr

public void visitVariableRestrictionDescr(VariableRestrictionDescr descr)

visitPatternDescr

public void visitPatternDescr(PatternDescr descr)

visitFieldConstraintDescr

public void visitFieldConstraintDescr(FieldConstraintDescr descr)

visitEvalDescr

public void visitEvalDescr(EvalDescr descr)

visitExistsDescr

public void visitExistsDescr(ExistsDescr descr)

visitFieldBindingDescr

public void visitFieldBindingDescr(FieldBindingDescr descr)

visitFunctionDescr

public void visitFunctionDescr(FunctionDescr functionDescr)

visitLiteralRestrictionDescr

public void visitLiteralRestrictionDescr(LiteralRestrictionDescr descr)

visitNotDescr

public void visitNotDescr(NotDescr descr)

visitOrDescr

public void visitOrDescr(OrDescr descr)

visitPackageDescr

public void visitPackageDescr(PackageDescr packageDescr)

visitPredicateDescr

public void visitPredicateDescr(PredicateDescr descr)

visitReturnValueRestrictionDescr

public void visitReturnValueRestrictionDescr(ReturnValueRestrictionDescr descr)

visitQueryDescr

public void visitQueryDescr(QueryDescr descr)

visitRestrictionConnectiveDescr

public void visitRestrictionConnectiveDescr(RestrictionConnectiveDescr descr)


Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.