|
||||||||||
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 |
---|
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. |
Fields in org.apache.avalon.framework.configuration declared as Configuration | |
---|---|
protected static Configuration[] |
DefaultConfiguration.EMPTY_ARRAY
An empty (length zero) array of configuration objects. |
private Configuration |
ConfigurationException.m_config
|
private Configuration |
NamespacedSAXConfigurationHandler.m_configuration
|
private Configuration |
SAXConfigurationHandler.m_configuration
|
Methods in org.apache.avalon.framework.configuration that return Configuration | |
---|---|
Configuration |
DefaultConfigurationBuilder.build(org.xml.sax.InputSource input)
Build a configuration object using an XML InputSource 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.buildFromFile(java.io.File file)
Build a configuration object from a file using a File object. |
Configuration |
DefaultConfigurationBuilder.buildFromFile(java.lang.String filename)
Build a configuration object from a file using a filename. |
Configuration |
AbstractConfiguration.getChild(java.lang.String name)
Return the first Configuration object child of this
associated with the given name. |
Configuration |
Configuration.getChild(java.lang.String child)
Return a new Configuration instance encapsulating the
specified child node. |
Configuration |
AbstractConfiguration.getChild(java.lang.String name,
boolean createNew)
Return the first Configuration object child of this
associated with the given name. |
Configuration |
DefaultConfiguration.getChild(java.lang.String name,
boolean createNew)
Return the first Configuration object child of this
associated with the given name. |
Configuration |
Configuration.getChild(java.lang.String child,
boolean createNew)
Return a Configuration instance encapsulating the specified
child node. |
Configuration[] |
DefaultConfiguration.getChildren()
Return an array of Configuration
elements containing all node children. |
Configuration[] |
Configuration.getChildren()
Return an Array of Configuration
elements containing all node children. |
Configuration[] |
DefaultConfiguration.getChildren(java.lang.String name)
Return an array of Configuration objects
children of this associated with the given name. |
Configuration[] |
Configuration.getChildren(java.lang.String name)
Return an Array of Configuration
elements containing all node children with the specified name. |
Configuration |
NamespacedSAXConfigurationHandler.getConfiguration()
Get the configuration object that was built. |
Configuration |
SAXConfigurationHandler.getConfiguration()
Get the configuration object that was built. |
Configuration |
ConfigurationException.getOffendingConfiguration()
|
static Configuration |
ConfigurationUtil.toConfiguration(org.w3c.dom.Element element)
Convert a DOM Element tree into a configuration tree. |
Methods in org.apache.avalon.framework.configuration with parameters of type Configuration | |
---|---|
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.addChild(Configuration configuration)
Add a child Configuration to this configuration element. |
private static boolean |
ConfigurationUtil.areAttributesEqual(Configuration c1,
Configuration c2)
Return true if the attributes of both configurations are equal. |
private static boolean |
ConfigurationUtil.areChildrenEqual(Configuration c1,
Configuration c2)
Return true if the children of both configurations are equal. |
private static boolean |
ConfigurationUtil.areValuesEqual(Configuration c1,
Configuration c2)
Return true if the values of two configurations are equal. |
void |
Configurable.configure(Configuration configuration)
Pass the Configuration to the Configurable
class. |
private static org.w3c.dom.Element |
ConfigurationUtil.createElement(org.w3c.dom.Document document,
Configuration configuration)
Create an DOM Element from a Configuration
object. |
static boolean |
ConfigurationUtil.equals(Configuration c1,
Configuration c2)
Test to see if two Configuration's can be considered the same. |
private static boolean |
ConfigurationUtil.findMatchingChild(Configuration c,
java.util.ArrayList matchAgainst)
Return true if find a matching child and remove child from list. |
void |
Reconfigurable.reconfigure(Configuration configuration)
Describe reconfigure method here. |
void |
DefaultConfiguration.removeChild(Configuration configuration)
Remove a child Configuration to this configuration element. |
java.lang.String |
DefaultConfigurationSerializer.serialize(Configuration source)
Serialize the configuration object to a string |
void |
DefaultConfigurationSerializer.serialize(org.xml.sax.ContentHandler handler,
Configuration source)
Serialize the configuration to a ContentHandler |
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. |
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.io.File file,
Configuration source)
Serialize the configuration object to a file using a File object. |
void |
DefaultConfigurationSerializer.serializeToFile(java.lang.String filename,
Configuration source)
Serialize the configuration object to a file using a filename. |
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. |
Constructors in org.apache.avalon.framework.configuration with parameters of type 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 |