org.jbpm.pvm.internal.cfg
Class ConfigurationParser

java.lang.Object
  extended by org.jbpm.pvm.internal.xml.Parser
      extended by org.jbpm.pvm.internal.cfg.ConfigurationParser

public class ConfigurationParser
extends Parser

parses the jbpm-configuration, which is assumed the document element and can contain the process-engine context and the environment context. See Parser for usage instructions.

Author:
Tom Baeyens

Field Summary
protected static ConfigurationParser INSTANCE
           
 
Fields inherited from class org.jbpm.pvm.internal.xml.Parser
bindings, documentBuilderFactory
 
Constructor Summary
ConfigurationParser()
           
 
Method Summary
static ConfigurationParser getInstance()
           
 Parser getProcessEngineContextParser()
           
 Parser getTransactionContextParser()
           
 java.lang.Object parseDocument(org.w3c.dom.Document document, Parse parse)
          start of the DOM walk.
 void setProcessEngineContextParser(Parser applicationWireXmlParser)
           
 void setTransactionContextParser(Parser blockWireXmlParser)
           
 
Methods inherited from class org.jbpm.pvm.internal.xml.Parser
buildDocument, createDocumentBuilder, createDocumentBuilderFactory, createParse, execute, getBinding, getBinding, getBindings, importStream, parseArgs, parseArgs, parseDocumentElement, parseElement, parseElement, setBindings, setSchemaResources
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

protected static ConfigurationParser INSTANCE
Constructor Detail

ConfigurationParser

public ConfigurationParser()
Method Detail

getInstance

public static ConfigurationParser getInstance()

parseDocument

public java.lang.Object parseDocument(org.w3c.dom.Document document,
                                      Parse parse)
Description copied from class: Parser
start of the DOM walk. This method is used as part of the parse execution. This default implementation behaviour extracts the document element and delegates to Parser.parseDocumentElement(Element, Parse). This method can be overridden for customized behaviour.

Overrides:
parseDocument in class Parser
Returns:
the object that is the result from parsing this document.

getProcessEngineContextParser

public Parser getProcessEngineContextParser()

setProcessEngineContextParser

public void setProcessEngineContextParser(Parser applicationWireXmlParser)

getTransactionContextParser

public Parser getTransactionContextParser()

setTransactionContextParser

public void setTransactionContextParser(Parser blockWireXmlParser)


Copyright © 2010 JBoss Community. All Rights Reserved.