|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Configuration
Method Summary | |
---|---|
Configuration |
addExtensionFactory(ExtensionFactory factory)
Registers a new ExtensionFactory, this method doesn't override an extensionFactory if already exists. |
Configuration |
addNamedParser(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(Class<? extends StreamWriter> sw)
Registers a new StreamWriter, this method doesn't override a streamWriter if already exists. |
Object |
clone()
|
String |
getConfigurationOption(String id)
Retrieve the value of the specified configuration option |
String |
getConfigurationOption(String id,
String _default)
Retrieve the value of the specified configuration option or _default if the value is null |
List<ExtensionFactory> |
getExtensionFactories()
Get the collection of ExtensionFactory impls |
Map<String,NamedParser> |
getNamedParsers()
Get the collection of NamedParsers; |
Map<String,NamedWriter> |
getNamedWriters()
Get the collection of NamedWriters |
Map<String,Class<? extends StreamWriter>> |
getStreamWriters()
Get the collection of Named StreamWriters |
Factory |
newFactoryInstance(Abdera abdera)
Get a new instance of the default Factory impl |
ParserFactory |
newParserFactoryInstance(Abdera abdera)
Get a new instance of the default ParserFactory impl |
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 |
Method Detail |
---|
String getConfigurationOption(String id)
String getConfigurationOption(String id, String _default)
Factory newFactoryInstance(Abdera abdera)
Parser newParserInstance(Abdera abdera)
XPath newXPathInstance(Abdera abdera)
ParserFactory newParserFactoryInstance(Abdera abdera)
WriterFactory newWriterFactoryInstance(Abdera abdera)
Writer newWriterInstance(Abdera abdera)
StreamWriter newStreamWriterInstance(Abdera abdera)
Map<String,NamedParser> getNamedParsers()
Map<String,NamedWriter> getNamedWriters()
Map<String,Class<? extends StreamWriter>> getStreamWriters()
List<ExtensionFactory> getExtensionFactories()
Object clone()
Configuration addNamedParser(NamedParser parser)
parser
- is the new NamedParser to add
Configuration addNamedWriter(NamedWriter writer)
writer
- is the new NamedWriter to add
Configuration addExtensionFactory(ExtensionFactory factory)
factory
- is the new ExtensionFactory to add
Configuration addStreamWriter(Class<? extends StreamWriter> sw)
sw
- is the new StreamWriter to add
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |