Package org.apache.abdera.util
Class AbderaConfiguration
java.lang.Object
org.apache.abdera.util.AbderaConfiguration
- All Implemented Interfaces:
Serializable,Cloneable,Configuration,Constants
@Deprecated(since="2021-07-29")
public final class AbderaConfiguration
extends Object
implements Constants, Configuration
Deprecated.
This API is deprecated as Apache Abdera is a retired project since 2017.
Provides the basic configuration for the Abdera default implementation. This class should not be accessed by
applications directly without very good reason.
- See Also:
-
Field Summary
Fields inherited from interface org.apache.abdera.util.Constants
ACCEPT, AID, ALTERNATE, APP_MEDIA_TYPE, APP_NS, APP_NS_PRE_RFC, APP_PREFIX, ATITLE, ATOM_MEDIA_TYPE, ATOM_NS, AURI, AUTHOR, BASE, CAT_MEDIA_TYPE, CATEGORIES, CATEGORY, CLASS, COLLECTION, CONFIG_FACTORY, CONFIG_PARSER, CONFIG_PARSERFACTORY, CONFIG_STREAMWRITER, CONFIG_WRITER, CONFIG_WRITERFACTORY, CONFIG_XPATH, CONTENT, CONTRIBUTOR, CONTROL, CONTROL_NS, CONTROL_PREFIX, DEFAULT_FACTORY, DEFAULT_PARSER, DEFAULT_PARSERFACTORY, DEFAULT_STREAMWRITER, DEFAULT_WRITER, DEFAULT_WRITERFACTORY, DEFAULT_XPATH, DIV, DRAFT, EDITED, EMAIL, ENTRY, ENTRY_MEDIA_TYPE, FEED, FEED_MEDIA_TYPE, FIXED, GENERATOR, HREF, HREFLANG, HTML, ICON, ID, LABEL, LANG, LENGTH, LINK, LN_ACCEPT, LN_ALTERNATE, LN_ALTERNATE_MULTIPART_RELATED, LN_AUTHOR, LN_BASE, LN_CATEGORIES, LN_CATEGORY, LN_CLASS, LN_COLLECTION, LN_CONTENT, LN_CONTRIBUTOR, LN_CONTROL, LN_DIV, LN_DRAFT, LN_EDITED, LN_EMAIL, LN_ENTRY, LN_FEED, LN_FIXED, LN_GENERATOR, LN_HREF, LN_HREFLANG, LN_ICON, LN_ID, LN_LABEL, LN_LANG, LN_LENGTH, LN_LINK, LN_LOGO, LN_NAME, LN_PUBLISHED, LN_REL, LN_RIGHTS, LN_SCHEME, LN_SERVICE, LN_SOURCE, LN_SPACE, LN_SRC, LN_SUBTITLE, LN_SUMMARY, LN_TERM, LN_TITLE, LN_TYPE, LN_UPDATED, LN_URI, LN_VERSION, LN_WORKSPACE, LOGO, MULTIPART_RELATED_TYPE, NAME, NAMED_PARSER, NAMED_WRITER, NO, PRE_RFC_ACCEPT, PRE_RFC_CATEGORIES, PRE_RFC_COLLECTION, PRE_RFC_CONTROL, PRE_RFC_DRAFT, PRE_RFC_EDITED, PRE_RFC_SERVICE, PRE_RFC_WORKSPACE, PREFIX, PREFIXED_TITLE, PUBLISHED, REL, RIGHTS, SCHEME, SERVICE, SOURCE, SPACE, SRC, STREAM_WRITER, SUBTITLE, SUMMARY, TERM, TEXT, TITLE, TYPE, UPDATED, URI, VERSION, WORKSPACE, XHTML, XHTML_NS, XML, XML_MEDIA_TYPE, XML_NS, YES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddExtensionFactory(ExtensionFactory factory) Deprecated.Registers an ExtensionFactory implementation.addNamedParser(NamedParser parser) Deprecated.Registers a NamedParser implementationaddNamedWriter(NamedWriter writer) Deprecated.Registers a NamedWriter implementationaddStreamWriter(Class<? extends StreamWriter> sw) Deprecated.Registers a StreamWriter implementationclone()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 nullstatic ConfigurationDeprecated.Returns the default configuration.Deprecated.Returns the listing of registered ExtensionFactory implementationsDeprecated.Returns the collection of Named ParsersDeprecated.Returns the collection of NamedWritersMap<String, Class<? extends StreamWriter>> Deprecated.Returns the collection of NamedWritersnewFactoryInstance(Abdera abdera) Deprecated.Return a new instance of org.apache.abdera.factory.FactorynewParserFactoryInstance(Abdera abdera) Deprecated.Return a new instance of org.apache.abdera.parser.ParserFactorynewParserInstance(Abdera abdera) Deprecated.Return a new instance of org.apache.abdera.parser.ParsernewStreamWriterInstance(Abdera abdera) Deprecated.Return a new instance of the default org.apache.abdera.writer.WriternewWriterFactoryInstance(Abdera abdera) Deprecated.Return a new instance of org.apache.abdera.writer.WriterFactorynewWriterInstance(Abdera abdera) Deprecated.Return a new instance of the default org.apache.abdera.writer.WriternewXPathInstance(Abdera abdera) Deprecated.Return a new instance of org.apache.abdera.xpath.XPath
-
Constructor Details
-
AbderaConfiguration
public AbderaConfiguration()Deprecated.
-
-
Method Details
-
getDefault
Deprecated.Returns the default configuration. Every call to this method returns a new AbderaConfiguration instance using abdera.properties -
getConfigurationOption
Deprecated.Retrieve the value of the specified configuration option- Specified by:
getConfigurationOptionin interfaceConfiguration- Returns:
- The configuration option value or null
-
getConfigurationOption
Deprecated.Retrieve the value of the specified configuration option or _default if the value is null- Specified by:
getConfigurationOptionin interfaceConfiguration- Returns:
- The configuration option value of _default
-
addExtensionFactory
Deprecated.Registers an ExtensionFactory implementation.- Specified by:
addExtensionFactoryin interfaceConfiguration- Parameters:
factory- is the new ExtensionFactory to add- Returns:
- the instance of the configuration class
-
getExtensionFactories
Deprecated.Returns the listing of registered ExtensionFactory implementations- Specified by:
getExtensionFactoriesin interfaceConfiguration
-
addNamedWriter
Deprecated.Registers a NamedWriter implementation- Specified by:
addNamedWriterin interfaceConfiguration- Parameters:
writer- is the new NamedWriter to add- Returns:
- the instance of the configuration class
-
getNamedWriters
Deprecated.Returns the collection of NamedWriters- Specified by:
getNamedWritersin interfaceConfiguration
-
getStreamWriters
Deprecated.Returns the collection of NamedWriters- Specified by:
getStreamWritersin interfaceConfiguration
-
addNamedParser
Deprecated.Registers a NamedParser implementation- Specified by:
addNamedParserin interfaceConfiguration- Parameters:
parser- is the new NamedParser to add- Returns:
- the instance of the configuration class
-
addStreamWriter
Deprecated.Registers a StreamWriter implementation- Specified by:
addStreamWriterin interfaceConfiguration- Parameters:
sw- is the new StreamWriter to add- Returns:
- the instance of the configuration class
-
getNamedParsers
Deprecated.Returns the collection of Named Parsers- Specified by:
getNamedParsersin interfaceConfiguration
-
clone
Deprecated.- Specified by:
clonein interfaceConfiguration
-
newFactoryInstance
Deprecated.Return a new instance of org.apache.abdera.factory.Factory- Specified by:
newFactoryInstancein interfaceConfiguration- Returns:
- A new factory instance
-
newParserInstance
Deprecated.Return a new instance of org.apache.abdera.parser.Parser- Specified by:
newParserInstancein interfaceConfiguration- Returns:
- A new parser instance
-
newXPathInstance
Deprecated.Return a new instance of org.apache.abdera.xpath.XPath- Specified by:
newXPathInstancein interfaceConfiguration- Returns:
- A new XPath instance
-
newParserFactoryInstance
Deprecated.Return a new instance of org.apache.abdera.parser.ParserFactory- Specified by:
newParserFactoryInstancein interfaceConfiguration- Returns:
- A new ParserFactory instance
-
newWriterFactoryInstance
Deprecated.Return a new instance of org.apache.abdera.writer.WriterFactory- Specified by:
newWriterFactoryInstancein interfaceConfiguration- Returns:
- A new WriterFactory instance
-
newWriterInstance
Deprecated.Return a new instance of the default org.apache.abdera.writer.Writer- Specified by:
newWriterInstancein interfaceConfiguration- Returns:
- A new default writer implementation instance
-
newStreamWriterInstance
Deprecated.Return a new instance of the default org.apache.abdera.writer.Writer- Specified by:
newStreamWriterInstancein interfaceConfiguration- Returns:
- A new default writer implementation instance
-