org.jbpm.configuration
Class ObjectFactoryParser

java.lang.Object
  extended by org.jbpm.configuration.ObjectFactoryParser
All Implemented Interfaces:
Serializable

public class ObjectFactoryParser
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
ObjectFactoryParser()
           
ObjectFactoryParser(Map mappings)
           
 
Method Summary
 void addMapping(String elementName, Class objectInfoClass)
           
 void addNamedObjectInfo(String name, ObjectInfo objectInfo)
           
static ObjectFactoryImpl createObjectFactory(Element infosElement)
           
static Map getDefaultMappings()
           
 ObjectInfo parse(Element element)
           
 void parseElements(Element infosElement, ObjectFactoryImpl objectFactory)
           
 void parseElementsFromResource(String resource, ObjectFactoryImpl objectFactory)
           
 void parseElementsStream(InputStream inputStream, ObjectFactoryImpl objectFactory)
           
static ObjectFactoryImpl parseInputStream(InputStream inputStream)
           
static ObjectFactoryImpl parseResource(String resource)
           
static ObjectFactoryImpl parseXmlString(String xml)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectFactoryParser

public ObjectFactoryParser()

ObjectFactoryParser

public ObjectFactoryParser(Map mappings)
Method Detail

getDefaultMappings

public static Map getDefaultMappings()

parseXmlString

public static ObjectFactoryImpl parseXmlString(String xml)

parseInputStream

public static ObjectFactoryImpl parseInputStream(InputStream inputStream)

parseResource

public static ObjectFactoryImpl parseResource(String resource)

createObjectFactory

public static ObjectFactoryImpl createObjectFactory(Element infosElement)

parseElementsFromResource

public void parseElementsFromResource(String resource,
                                      ObjectFactoryImpl objectFactory)

parseElementsStream

public void parseElementsStream(InputStream inputStream,
                                ObjectFactoryImpl objectFactory)

parseElements

public void parseElements(Element infosElement,
                          ObjectFactoryImpl objectFactory)

parse

public ObjectInfo parse(Element element)

addNamedObjectInfo

public void addNamedObjectInfo(String name,
                               ObjectInfo objectInfo)

addMapping

public void addMapping(String elementName,
                       Class objectInfoClass)


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.