|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Configuration | |
org.apache.avalon.framework.configuration | Component configuration interfaces and XML-based implementations. |
org.apache.avalon.framework.container | Utilities supporting execution of component lifecycle stages. |
org.apache.avalon.framework.parameters | Interfaces supporting the supply of flat configuration information. |
Uses of Configuration in org.apache.avalon.framework.configuration |
Subinterfaces of Configuration in org.apache.avalon.framework.configuration | |
interface |
MutableConfiguration
A read/write extension of the Configuration interface. |
Classes in org.apache.avalon.framework.configuration that implement Configuration | |
class |
AbstractConfiguration
This is an abstract Configuration implementation that deals
with methods that can be abstracted away from underlying implementations. |
class |
DefaultConfiguration
This is the default Configuration implementation. |
class |
DefaultImmutableConfiguration
An immutable implementation of the Configuration interface. |
Fields in org.apache.avalon.framework.configuration declared as Configuration | |
protected static Configuration[] |
DefaultImmutableConfiguration.EMPTY_ARRAY
An empty (length zero) array of configuration objects. |
protected static Configuration[] |
DefaultConfiguration.EMPTY_ARRAY
An empty (length zero) array of configuration objects. |
Methods in org.apache.avalon.framework.configuration that return Configuration | |
Configuration |
SAXConfigurationHandler.getConfiguration()
Get the configuration object that was built. |
Configuration |
NamespacedSAXConfigurationHandler.getConfiguration()
Get the configuration object that was built. |
Configuration[] |
DefaultImmutableConfiguration.getChildren()
Return an array of Configuration
elements containing all node children. |
Configuration |
DefaultImmutableConfiguration.getChild(java.lang.String name,
boolean createNew)
Return the first Configuration object child of this
associated with the given name. |
Configuration[] |
DefaultImmutableConfiguration.getChildren(java.lang.String name)
Return an array of Configuration objects
children of this associated with the given name.
|
Configuration |
DefaultConfigurationBuilder.buildFromFile(java.lang.String filename)
Build a configuration object from a file using a filename. |
Configuration |
DefaultConfigurationBuilder.buildFromFile(java.io.File file)
Build a configuration object from a file using a File object. |
Configuration |
DefaultConfigurationBuilder.build(java.io.InputStream inputStream)
Build a configuration object using an InputStream. |
Configuration |
DefaultConfigurationBuilder.build(java.io.InputStream inputStream,
java.lang.String systemId)
Build a configuration object using an InputStream; supplying a systemId to make messages about all kinds of errors more meaningfull. |
Configuration |
DefaultConfigurationBuilder.build(java.lang.String uri)
Build a configuration object using an URI |
Configuration |
DefaultConfigurationBuilder.build(org.xml.sax.InputSource input)
Build a configuration object using an XML InputSource object |
Configuration[] |
DefaultConfiguration.getChildren()
Return an array of Configuration
elements containing all node children. |
Configuration |
DefaultConfiguration.getChild(java.lang.String name,
boolean createNew)
Return the first Configuration object child of this
associated with the given name. |
Configuration[] |
DefaultConfiguration.getChildren(java.lang.String name)
Return an array of Configuration objects
children of this associated with the given name.
|
static Configuration |
ConfigurationUtil.toConfiguration(org.w3c.dom.Element element)
Convert a DOM Element tree into a configuration tree. |
Configuration |
AbstractConfiguration.getChild(java.lang.String name)
Return the first Configuration object child of this
associated with the given name. |
Configuration |
AbstractConfiguration.getChild(java.lang.String name,
boolean createNew)
Return the first Configuration object child of this
associated with the given name. |
Configuration |
ConfigurationException.getOffendingConfiguration()
|
Configuration |
Configuration.getChild(java.lang.String child)
Return a new Configuration instance encapsulating the
specified child node.
|
Configuration |
Configuration.getChild(java.lang.String child,
boolean createNew)
Return a Configuration instance encapsulating the specified
child node. |
Configuration[] |
Configuration.getChildren()
Return an Array of Configuration
elements containing all node children. |
Configuration[] |
Configuration.getChildren(java.lang.String name)
Return an Array of Configuration
elements containing all node children with the specified name. |
Methods in org.apache.avalon.framework.configuration with parameters of type Configuration | |
void |
MutableConfiguration.addChild(Configuration configuration)
Add a child Configuration to this configuration element. |
void |
MutableConfiguration.addAll(Configuration other)
Add all the attributes, children and value from specified configuration element to current configuration element. |
void |
MutableConfiguration.addAllAttributes(Configuration other)
Add all attributes from specified configuration element to current configuration element. |
void |
MutableConfiguration.addAllChildren(Configuration other)
Add all child Configuration objects from specified
configuration element to current configuration element. |
void |
MutableConfiguration.removeChild(Configuration configuration)
Remove a child Configuration to this configuration element. |
void |
DefaultConfigurationSerializer.serialize(org.xml.sax.ContentHandler handler,
Configuration source)
Serialize the configuration to a ContentHandler |
protected void |
DefaultConfigurationSerializer.serializeElement(org.xml.sax.ContentHandler handler,
org.xml.sax.helpers.NamespaceSupport namespaceSupport,
Configuration element)
Serialize each Configuration element. |
void |
DefaultConfigurationSerializer.serializeToFile(java.lang.String filename,
Configuration source)
Serialize the configuration object to a file using a filename. |
void |
DefaultConfigurationSerializer.serializeToFile(java.io.File file,
Configuration source)
Serialize the configuration object to a file using a File object. |
void |
DefaultConfigurationSerializer.serialize(java.io.OutputStream outputStream,
Configuration source)
Serialize the configuration object to an output stream. |
void |
DefaultConfigurationSerializer.serialize(java.lang.String uri,
Configuration source)
Serialize the configuration object to an output stream derived from an URI. |
java.lang.String |
DefaultConfigurationSerializer.serialize(Configuration source)
Serialize the configuration object to a string |
void |
DefaultConfiguration.addChild(Configuration configuration)
Add a child Configuration to this configuration element. |
void |
DefaultConfiguration.addAll(Configuration other)
Add all the attributes, children and value from specified configuration element to current configuration element. |
void |
DefaultConfiguration.addAllAttributes(Configuration other)
Add all attributes from specified configuration element to current configuration element. |
void |
DefaultConfiguration.addAllChildren(Configuration other)
Add all child Configuration objects from specified
configuration element to current configuration element. |
void |
DefaultConfiguration.removeChild(Configuration configuration)
Remove a child Configuration to this configuration element. |
static org.w3c.dom.Element |
ConfigurationUtil.toElement(Configuration configuration)
Convert a configuration tree into a DOM Element tree. |
static java.lang.String |
ConfigurationUtil.toString(Configuration configuration)
Serialize the configuration object to a String. |
static boolean |
ConfigurationUtil.equals(Configuration c1,
Configuration c2)
Test to see if two Configuration's can be considered the same. |
void |
Reconfigurable.reconfigure(Configuration configuration)
Describe reconfigure method here. |
void |
Configurable.configure(Configuration configuration)
Pass the Configuration to the Configurable
class. |
Constructors in org.apache.avalon.framework.configuration with parameters of type Configuration | |
DefaultImmutableConfiguration(Configuration config)
Deep copy constructor. |
|
DefaultConfiguration(Configuration config)
Shallow copy constructor, suitable for craeting a writable clone of a read-only configuration. |
|
ConfigurationException(Configuration config)
Construct a new ConfigurationException instance. |
|
ConfigurationException(java.lang.String message,
Configuration config)
Construct a new ConfigurationException instance. |
|
ConfigurationException(java.lang.String message,
Configuration config,
java.lang.Throwable throwable)
Construct a new ConfigurationException instance. |
Uses of Configuration in org.apache.avalon.framework.container |
Methods in org.apache.avalon.framework.container with parameters of type Configuration | |
static void |
ContainerUtil.configure(java.lang.Object object,
Configuration configuration)
Configure specified object if it implements the Configurable interface. |
Uses of Configuration in org.apache.avalon.framework.parameters |
Methods in org.apache.avalon.framework.parameters with parameters of type Configuration | |
static Parameters |
Parameters.fromConfiguration(Configuration configuration)
Create a Parameters object from a Configuration
object. |
static Parameters |
Parameters.fromConfiguration(Configuration configuration,
java.lang.String elementName)
Create a Parameters object from a Configuration
object using the supplied element name. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |