jBPM :: Flow Builder 6.0.2-SNAPSHOT

org.jbpm.compiler.xml
Class XmlProcessReader

java.lang.Object
  extended by org.jbpm.compiler.xml.XmlProcessReader

public class XmlProcessReader
extends Object


Constructor Summary
XmlProcessReader(org.drools.core.xml.SemanticModules modules, ClassLoader classLoader)
           
XmlProcessReader(org.drools.core.xml.SemanticModules modules, ClassLoader classLoader, SAXParser parser)
           
 
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
 

Constructor Detail

XmlProcessReader

public XmlProcessReader(org.drools.core.xml.SemanticModules modules,
                        ClassLoader classLoader)

XmlProcessReader

public XmlProcessReader(org.drools.core.xml.SemanticModules modules,
                        ClassLoader classLoader,
                        SAXParser parser)
Method Detail

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()

jBPM :: Flow Builder 6.0.2-SNAPSHOT

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