Package org.apache.abdera.util
Interface Configuration
- All Superinterfaces:
Cloneable
,Serializable
- All Known Implementing Classes:
AbderaConfiguration
Deprecated.
-
Method Summary
Modifier and TypeMethodDescriptionaddExtensionFactory
(ExtensionFactory factory) Deprecated.Registers a new ExtensionFactory, this method doesn't override an extensionFactory if already exists.addNamedParser
(NamedParser parser) Deprecated.Registers a new NamedParser, this method doesn't override a parser if already exists.addNamedWriter
(NamedWriter writer) Deprecated.Registers a new NamedWriter, this method doesn't override a writer if already exists.addStreamWriter
(Class<? extends StreamWriter> sw) Deprecated.Registers a new StreamWriter, this method doesn't override a streamWriter if already exists.clone()
Deprecated.Deprecated.Retrieve the value of the specified configuration optiongetConfigurationOption
(String id, String _default) Deprecated.Retrieve the value of the specified configuration option or _default if the value is nullDeprecated.Get the collection of ExtensionFactory implsDeprecated.Get the collection of NamedParsers;Deprecated.Get the collection of NamedWritersMap
<String, Class<? extends StreamWriter>> Deprecated.Get the collection of Named StreamWritersnewFactoryInstance
(Abdera abdera) Deprecated.Get a new instance of the default Factory implnewParserFactoryInstance
(Abdera abdera) Deprecated.Get a new instance of the default ParserFactory implnewParserInstance
(Abdera abdera) Deprecated.Get a new instance of the default Parser implnewStreamWriterInstance
(Abdera abdera) Deprecated.Get a new instance of the default StreamWriter implnewWriterFactoryInstance
(Abdera abdera) Deprecated.Get a new instance of the default WriterFactory implnewWriterInstance
(Abdera abdera) Deprecated.Get a new instance of the default Writer implnewXPathInstance
(Abdera abdera) Deprecated.Get a new instance of the default XPath impl
-
Method Details
-
getConfigurationOption
Deprecated.Retrieve the value of the specified configuration option- Returns:
- The configuration option value or null
-
getConfigurationOption
Deprecated.Retrieve the value of the specified configuration option or _default if the value is null- Returns:
- The configuration option value of _default
-
newFactoryInstance
Deprecated.Get a new instance of the default Factory impl -
newParserInstance
Deprecated.Get a new instance of the default Parser impl -
newXPathInstance
Deprecated.Get a new instance of the default XPath impl -
newParserFactoryInstance
Deprecated.Get a new instance of the default ParserFactory impl -
newWriterFactoryInstance
Deprecated.Get a new instance of the default WriterFactory impl -
newWriterInstance
Deprecated.Get a new instance of the default Writer impl -
newStreamWriterInstance
Deprecated.Get a new instance of the default StreamWriter impl -
getNamedParsers
Map<String,NamedParser> getNamedParsers()Deprecated.Get the collection of NamedParsers; -
getNamedWriters
Map<String,NamedWriter> getNamedWriters()Deprecated.Get the collection of NamedWriters -
getStreamWriters
Map<String,Class<? extends StreamWriter>> getStreamWriters()Deprecated.Get the collection of Named StreamWriters -
getExtensionFactories
List<ExtensionFactory> getExtensionFactories()Deprecated.Get the collection of ExtensionFactory impls -
clone
Object clone()Deprecated. -
addNamedParser
Deprecated.Registers a new NamedParser, this method doesn't override a parser if already exists.- Parameters:
parser
- is the new NamedParser to add- Returns:
- the instance of the configuration class
-
addNamedWriter
Deprecated.Registers a new NamedWriter, this method doesn't override a writer if already exists.- Parameters:
writer
- is the new NamedWriter to add- Returns:
- the instance of the configuration class
-
addExtensionFactory
Deprecated.Registers a new ExtensionFactory, this method doesn't override an extensionFactory if already exists.- Parameters:
factory
- is the new ExtensionFactory to add- Returns:
- the instance of the configuration class
-
addStreamWriter
Deprecated.Registers a new StreamWriter, this method doesn't override a streamWriter if already exists.- Parameters:
sw
- is the new StreamWriter to add- Returns:
- the instance of the configuration class
-