org.jbpm.compiler.xml
Class XmlProcessReader
java.lang.Object
org.jbpm.compiler.xml.XmlProcessReader
public class XmlProcessReader
- extends Object
Method Summary |
List<org.kie.api.definition.process.Process> |
getProcess()
|
List<org.kie.api.definition.process.Process> |
read(InputSource in)
Read a Process from an InputSource . |
List<org.kie.api.definition.process.Process> |
read(InputStream inputStream)
Read a Process from an InputStream . |
List<org.kie.api.definition.process.Process> |
read(Reader reader)
Read a Process from a Reader . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlProcessReader
public XmlProcessReader(org.drools.core.xml.SemanticModules modules,
ClassLoader classLoader)
XmlProcessReader
public XmlProcessReader(org.drools.core.xml.SemanticModules modules,
ClassLoader classLoader,
SAXParser parser)
read
public List<org.kie.api.definition.process.Process> read(Reader reader)
throws SAXException,
IOException
- Read a
Process
from a Reader
.
- Parameters:
reader
- The reader containing the rule-set.
- Returns:
- The rule-set.
- Throws:
SAXException
IOException
read
public List<org.kie.api.definition.process.Process> read(InputStream inputStream)
throws SAXException,
IOException
- Read a
Process
from an InputStream
.
- Parameters:
inputStream
- The input-stream containing the rule-set.
- Returns:
- The rule-set.
- Throws:
SAXException
IOException
read
public List<org.kie.api.definition.process.Process> read(InputSource in)
throws SAXException,
IOException
- Read a
Process
from an InputSource
.
- Parameters:
in
- The rule-set input-source.
- Returns:
- The rule-set.
- Throws:
SAXException
IOException
getProcess
public List<org.kie.api.definition.process.Process> getProcess()
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.