com.ibm.rational.test.lt.recorder.core.property
Class ConfigurationFactory
java.lang.Object
com.ibm.rational.test.lt.recorder.core.property.ConfigurationFactory
- Direct Known Subclasses:
- RecordingConfigurationFactory, TestgenConfigurationFactory
public abstract class ConfigurationFactory
- extends Object
A factory used to instantiate AbstractTypedConfiguration
from an XML document
that was produced by the invocation of its AbstractConfiguration.write(java.io.OutputStream)
method.
Field Summary |
static String |
CONFIGURATION_FILE_NAME
A string specifying the name of the file that the configuration was loaded from,
if applicable. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONFIGURATION_FILE_NAME
public static final String CONFIGURATION_FILE_NAME
- A string specifying the name of the file that the configuration was loaded from,
if applicable. This property is optional. It is automatically
set when a configuration is loaded from an XML file (no need to specify this property within
the XML file).
- See Also:
- Constant Field Values
ConfigurationFactory
public ConfigurationFactory()
load
public AbstractConfiguration load(InputStream is)
throws ParserConfigurationException,
SAXException,
IOException
- Throws:
ParserConfigurationException
SAXException
IOException
load
public AbstractConfiguration load(InputStream is,
String fileName)
throws ParserConfigurationException,
SAXException,
IOException
- Throws:
ParserConfigurationException
SAXException
IOException
load
public AbstractConfiguration load(String serialized)
throws ParserConfigurationException,
SAXException,
IOException
- Throws:
ParserConfigurationException
SAXException
IOException
load
public AbstractConfiguration load(String serialized,
String fileName)
throws ParserConfigurationException,
SAXException,
IOException
- Throws:
ParserConfigurationException
SAXException
IOException
createConfiguration
protected abstract AbstractConfiguration createConfiguration(String protocol,
String namespace,
String name)
createForeignConfiguration
protected AbstractConfiguration createForeignConfiguration(ConfigurationFactory foreignFactory,
String protocol,
String namespace,
String name)
© Copyright IBM Corp. 2012. All rights reserved.