|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.abdera.util.AbderaConfiguration
public final class AbderaConfiguration
Provides the basic configuration for the Abdera default implementation. This class should not be accessed by applications directly without very good reason.
Field Summary |
---|
Constructor Summary | |
---|---|
|
AbderaConfiguration()
|
protected |
AbderaConfiguration(java.util.ResourceBundle bundle)
|
Method Summary | |
---|---|
void |
addExtensionFactory(ExtensionFactory factory)
Registers an ExtensionFactory implementation. |
void |
addNamedParser(NamedParser parser)
Registers a NamedParser implementation |
void |
addNamedWriter(NamedWriter writer)
Registers a NamedWriter implementation |
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 |
static AbderaConfiguration |
getDefault()
Returns the default configuration. |
java.lang.String |
getDefaultFactory()
Returns the Java classname of the default Abdera Factory implementation |
java.lang.String |
getDefaultParser()
Returns the Java classname of the default Abdera Parser implementation |
java.lang.String |
getDefaultParserFactory()
Returns the Java classname of the default ParserFactory implementation |
java.lang.String |
getDefaultWriter()
Returns the Java classname of the default Writer implementation |
java.lang.String |
getDefaultWriterFactory()
Returns the Java classname of the default WriterFactory implementation |
java.lang.String |
getDefaultXPath()
Returns the Java classname of the default Abdera XPath implementation |
java.util.List<ExtensionFactory> |
getExtensionFactories()
Returns the listing of registered ExtensionFactory implementations |
java.util.Map<java.lang.String,NamedParser> |
getNamedParsers()
Returns the collection of Named Parsers |
java.util.Map<java.lang.String,NamedWriter> |
getNamedWriters()
Returns the collection of NamedWriters |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbderaConfiguration()
protected AbderaConfiguration(java.util.ResourceBundle bundle)
Method Detail |
---|
public static AbderaConfiguration getDefault()
public java.lang.String getConfigurationOption(java.lang.String id)
public java.lang.String getConfigurationOption(java.lang.String id, java.lang.String _default)
public java.lang.String getDefaultXPath()
public java.lang.String getDefaultParser()
public java.lang.String getDefaultFactory()
public java.lang.String getDefaultParserFactory()
public java.lang.String getDefaultWriterFactory()
public java.lang.String getDefaultWriter()
public void addExtensionFactory(ExtensionFactory factory)
public java.util.List<ExtensionFactory> getExtensionFactories()
public void addNamedWriter(NamedWriter writer)
public java.util.Map<java.lang.String,NamedWriter> getNamedWriters()
public void addNamedParser(NamedParser parser)
public java.util.Map<java.lang.String,NamedParser> getNamedParsers()
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |