org.jbpm.configuration
Class ObjectFactoryParser
java.lang.Object
org.jbpm.configuration.ObjectFactoryParser
- All Implemented Interfaces:
- Serializable
public class ObjectFactoryParser
- extends Object
- implements Serializable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectFactoryParser
public ObjectFactoryParser()
ObjectFactoryParser
public ObjectFactoryParser(Map mappings)
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.