org.drools.compiler.compiler.xml
Class XmlPackageReader
java.lang.Object
org.drools.compiler.compiler.xml.XmlPackageReader
public class XmlPackageReader
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlPackageReader
public XmlPackageReader(org.drools.core.xml.SemanticModules modules)
XmlPackageReader
public XmlPackageReader(org.drools.core.xml.SemanticModules modules,
SAXParser parser)
getParser
public org.drools.core.xml.ExtensibleXmlParser getParser()
read
public PackageDescr 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 PackageDescr 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 PackageDescr 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
getPackageDescr
public PackageDescr getPackageDescr()
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.