org.apache.tuscany.core.loader.impl
Class StringParserPropertyFactory
java.lang.Object
org.apache.tuscany.core.loader.impl.StringParserPropertyFactory
- All Implemented Interfaces:
- StAXPropertyFactory
public class StringParserPropertyFactory
- extends Object
- implements StAXPropertyFactory
- Version:
- $Rev$ $Date$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringParserPropertyFactory
public StringParserPropertyFactory()
createObjectFactory
public ObjectFactory<?> createObjectFactory(javax.xml.stream.XMLStreamReader reader,
Property property)
throws javax.xml.stream.XMLStreamException,
ConfigurationLoadException
- Description copied from interface:
StAXPropertyFactory
- Return an ObjectFactory for instances of a property defined in an XML stream.
- Specified by:
createObjectFactory
in interface StAXPropertyFactory
- Parameters:
reader
- the reader to use to access the XML streamproperty
- the Property definition that the resulting ObjectFactory must be able to assign to
- Returns:
- an ObjectFactory that can produce instances that can be assigned to the supplied Property
- Throws:
javax.xml.stream.XMLStreamException
- if there is a problem reading the stream
ConfigurationLoadException
- if there is a problem creating the ObjectFactory
-