Package org.apache.abdera.util
Interface Configuration
-
- All Superinterfaces:
Cloneable,Serializable
- All Known Implementing Classes:
AbderaConfiguration
@Deprecated(since="2021-07-29") public interface Configuration extends Cloneable, Serializable
Deprecated.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description ConfigurationaddExtensionFactory(ExtensionFactory factory)Deprecated.Registers a new ExtensionFactory, this method doesn't override an extensionFactory if already exists.ConfigurationaddNamedParser(NamedParser parser)Deprecated.Registers a new NamedParser, this method doesn't override a parser if already exists.ConfigurationaddNamedWriter(NamedWriter writer)Deprecated.Registers a new NamedWriter, this method doesn't override a writer if already exists.ConfigurationaddStreamWriter(Class<? extends StreamWriter> sw)Deprecated.Registers a new StreamWriter, this method doesn't override a streamWriter if already exists.Objectclone()Deprecated.StringgetConfigurationOption(String id)Deprecated.Retrieve the value of the specified configuration optionStringgetConfigurationOption(String id, String _default)Deprecated.Retrieve the value of the specified configuration option or _default if the value is nullList<ExtensionFactory>getExtensionFactories()Deprecated.Get the collection of ExtensionFactory implsMap<String,NamedParser>getNamedParsers()Deprecated.Get the collection of NamedParsers;Map<String,NamedWriter>getNamedWriters()Deprecated.Get the collection of NamedWritersMap<String,Class<? extends StreamWriter>>getStreamWriters()Deprecated.Get the collection of Named StreamWritersFactorynewFactoryInstance(Abdera abdera)Deprecated.Get a new instance of the default Factory implParserFactorynewParserFactoryInstance(Abdera abdera)Deprecated.Get a new instance of the default ParserFactory implParsernewParserInstance(Abdera abdera)Deprecated.Get a new instance of the default Parser implStreamWriternewStreamWriterInstance(Abdera abdera)Deprecated.Get a new instance of the default StreamWriter implWriterFactorynewWriterFactoryInstance(Abdera abdera)Deprecated.Get a new instance of the default WriterFactory implWriternewWriterInstance(Abdera abdera)Deprecated.Get a new instance of the default Writer implXPathnewXPathInstance(Abdera abdera)Deprecated.Get a new instance of the default XPath impl
-
-
-
Method Detail
-
getConfigurationOption
String getConfigurationOption(String id)
Deprecated.Retrieve the value of the specified configuration option- Returns:
- The configuration option value or null
-
getConfigurationOption
String getConfigurationOption(String id, String _default)
Deprecated.Retrieve the value of the specified configuration option or _default if the value is null- Returns:
- The configuration option value of _default
-
newFactoryInstance
Factory newFactoryInstance(Abdera abdera)
Deprecated.Get a new instance of the default Factory impl
-
newParserInstance
Parser newParserInstance(Abdera abdera)
Deprecated.Get a new instance of the default Parser impl
-
newXPathInstance
XPath newXPathInstance(Abdera abdera)
Deprecated.Get a new instance of the default XPath impl
-
newParserFactoryInstance
ParserFactory newParserFactoryInstance(Abdera abdera)
Deprecated.Get a new instance of the default ParserFactory impl
-
newWriterFactoryInstance
WriterFactory newWriterFactoryInstance(Abdera abdera)
Deprecated.Get a new instance of the default WriterFactory impl
-
newWriterInstance
Writer newWriterInstance(Abdera abdera)
Deprecated.Get a new instance of the default Writer impl
-
newStreamWriterInstance
StreamWriter newStreamWriterInstance(Abdera abdera)
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
Configuration addNamedParser(NamedParser parser)
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
Configuration addNamedWriter(NamedWriter writer)
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
Configuration addExtensionFactory(ExtensionFactory factory)
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
Configuration addStreamWriter(Class<? extends StreamWriter> sw)
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
-
-