public interface Configuration
extends java.lang.Cloneable, java.io.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(java.lang.Class<? extends StreamWriter> sw)
Registers a new StreamWriter, this method doesn't override a streamWriter if already exists.
|
java.lang.Object |
clone() |
java.lang.String |
getConfigurationOption(java.lang.String id)
Retrieve the value of the specified configuration option
|
java.lang.String |
getConfigurationOption(java.lang.String id,
java.lang.String _default)
Retrieve the value of the specified configuration option or _default
if the value is null
|
java.util.List<ExtensionFactory> |
getExtensionFactories()
Get the collection of ExtensionFactory impls
|
java.util.Map<java.lang.String,org.apache.abdera.parser.NamedParser> |
getNamedParsers()
Get the collection of NamedParsers;
|
java.util.Map<java.lang.String,NamedWriter> |
getNamedWriters()
Get the collection of NamedWriters
|
java.util.Map<java.lang.String,java.lang.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
|
java.lang.String getConfigurationOption(java.lang.String id)
java.lang.String getConfigurationOption(java.lang.String id, java.lang.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)
java.util.Map<java.lang.String,org.apache.abdera.parser.NamedParser> getNamedParsers()
java.util.Map<java.lang.String,NamedWriter> getNamedWriters()
java.util.Map<java.lang.String,java.lang.Class<? extends StreamWriter>> getStreamWriters()
java.util.List<ExtensionFactory> getExtensionFactories()
java.lang.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(java.lang.Class<? extends StreamWriter> sw)
sw
- is the new StreamWriter to addCopyright © 2010 - 2020 Adobe. All Rights Reserved