org.drools.xml
Class XmlChangeSetReader

java.lang.Object
  extended by org.drools.xml.XmlChangeSetReader

public class XmlChangeSetReader
extends Object


Constructor Summary
XmlChangeSetReader(SemanticModules modules)
           
XmlChangeSetReader(SemanticModules modules, SAXParser parser)
           
XmlChangeSetReader(SemanticModules modules, SAXParser parser, int timeout)
           
 
Method Summary
 ExtensibleXmlParser getParser()
           
 org.drools.ChangeSet read(InputSource in)
          Read a RuleSet from an InputSource.
 org.drools.ChangeSet read(InputStream inputStream)
          Read a RuleSet from an InputStream.
 org.drools.ChangeSet read(Reader reader)
          Read a RuleSet from a Reader.
 void setClassLoader(ClassLoader classLoader, Class clazz)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlChangeSetReader

public XmlChangeSetReader(SemanticModules modules)

XmlChangeSetReader

public XmlChangeSetReader(SemanticModules modules,
                          SAXParser parser)

XmlChangeSetReader

public XmlChangeSetReader(SemanticModules modules,
                          SAXParser parser,
                          int timeout)
Method Detail

setClassLoader

public void setClassLoader(ClassLoader classLoader,
                           Class clazz)

getParser

public ExtensibleXmlParser getParser()

read

public org.drools.ChangeSet read(Reader reader)
                          throws SAXException,
                                 IOException
Read a RuleSet from a Reader.

Parameters:
reader - The reader containing the rule-set.
Returns:
The rule-set.
Throws:
SAXException
IOException

read

public org.drools.ChangeSet read(InputStream inputStream)
                          throws SAXException,
                                 IOException
Read a RuleSet from an InputStream.

Parameters:
inputStream - The input-stream containing the rule-set.
Returns:
The rule-set.
Throws:
SAXException
IOException

read

public org.drools.ChangeSet read(InputSource in)
                          throws SAXException,
                                 IOException
Read a RuleSet from an InputSource.

Parameters:
in - The rule-set input-source.
Returns:
The rule-set.
Throws:
SAXException
IOException


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.