org.drools.xml
Class XmlChangeSetReader
java.lang.Object
org.drools.xml.XmlChangeSetReader
public class XmlChangeSetReader
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlChangeSetReader
public XmlChangeSetReader(SemanticModules modules)
XmlChangeSetReader
public XmlChangeSetReader(SemanticModules modules,
SAXParser parser)
XmlChangeSetReader
public XmlChangeSetReader(SemanticModules modules,
SAXParser parser,
int timeout)
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.