public interface Configuration extends Cloneable, Serializable
Modifier and Type | Method and Description |
---|---|
Configuration |
addExtensionFactory(ExtensionFactory factory)
Registers a new ExtensionFactory, this method doesn't override an extensionFactory if already exists.
|
Configuration |
addNamedParser(org.apache.abdera.parser.NamedParser parser)
Registers a new NamedParser, this method doesn't override a parser if already exists.
|
Configuration |
addNamedWriter(NamedWriter writer)
Registers a new NamedWriter, this method doesn't override a writer if already exists.
|
Configuration |
addStreamWriter(Class<? extends StreamWriter> sw)
Registers a new StreamWriter, this method doesn't override a streamWriter if already exists.
|
Object |
clone() |
String |
getConfigurationOption(String id)
Retrieve the value of the specified configuration option
|
String |
getConfigurationOption(String id,
String _default)
Retrieve the value of the specified configuration option or _default
if the value is null
|
List<ExtensionFactory> |
getExtensionFactories()
Get the collection of ExtensionFactory impls
|
Map<String,org.apache.abdera.parser.NamedParser> |
getNamedParsers()
Get the collection of NamedParsers;
|
Map<String,NamedWriter> |
getNamedWriters()
Get the collection of NamedWriters
|
Map<String,Class<? extends StreamWriter>> |
getStreamWriters()
Get the collection of Named StreamWriters
|
Factory |
newFactoryInstance(Abdera abdera)
Get a new instance of the default Factory impl
|
org.apache.abdera.parser.ParserFactory |
newParserFactoryInstance(Abdera abdera)
Get a new instance of the default ParserFactory impl
|
org.apache.abdera.parser.Parser |
newParserInstance(Abdera abdera)
Get a new instance of the default Parser impl
|
StreamWriter |
newStreamWriterInstance(Abdera abdera)
Get a new instance of the default StreamWriter impl
|
WriterFactory |
newWriterFactoryInstance(Abdera abdera)
Get a new instance of the default WriterFactory impl
|
Writer |
newWriterInstance(Abdera abdera)
Get a new instance of the default Writer impl
|
XPath |
newXPathInstance(Abdera abdera)
Get a new instance of the default XPath impl
|
String getConfigurationOption(String id)
String getConfigurationOption(String id, String _default)
Factory newFactoryInstance(Abdera abdera)
org.apache.abdera.parser.Parser newParserInstance(Abdera abdera)
org.apache.abdera.parser.ParserFactory newParserFactoryInstance(Abdera abdera)
WriterFactory newWriterFactoryInstance(Abdera abdera)
Writer newWriterInstance(Abdera abdera)
StreamWriter newStreamWriterInstance(Abdera abdera)
Map<String,org.apache.abdera.parser.NamedParser> getNamedParsers()
Map<String,NamedWriter> getNamedWriters()
Map<String,Class<? extends StreamWriter>> getStreamWriters()
List<ExtensionFactory> getExtensionFactories()
Object clone()
Configuration addNamedParser(org.apache.abdera.parser.NamedParser parser)
parser
- is the new NamedParser to addConfiguration addNamedWriter(NamedWriter writer)
writer
- is the new NamedWriter to addConfiguration addExtensionFactory(ExtensionFactory factory)
factory
- is the new ExtensionFactory to addConfiguration addStreamWriter(Class<? extends StreamWriter> sw)
sw
- is the new StreamWriter to addCopyright © 2010 - 2020 Adobe. All Rights Reserved