Uses of Interface
org.apache.avalon.framework.configuration.Configuration
-
Packages that use Configuration Package Description 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 Modifier and Type Interface Description interfaceMutableConfigurationA read/write extension of the Configuration interface.Classes in org.apache.avalon.framework.configuration that implement Configuration Modifier and Type Class Description classAbstractConfigurationThis is an abstractConfigurationimplementation that deals with methods that can be abstracted away from underlying implementations.classDefaultConfigurationThis is the defaultConfigurationimplementation.classDefaultImmutableConfigurationAn immutable implementation of theConfigurationinterface.Fields in org.apache.avalon.framework.configuration declared as Configuration Modifier and Type Field Description protected static Configuration[]DefaultConfiguration. EMPTY_ARRAYAn empty (length zero) array of configuration objects.protected static Configuration[]DefaultImmutableConfiguration. EMPTY_ARRAYAn empty (length zero) array of configuration objects.private ConfigurationConfigurationException. m_configprivate ConfigurationNamespacedSAXConfigurationHandler. m_configurationprivate ConfigurationSAXConfigurationHandler. m_configurationMethods in org.apache.avalon.framework.configuration that return Configuration Modifier and Type Method Description ConfigurationDefaultConfigurationBuilder. build(java.io.InputStream inputStream)Build a configuration object using an InputStream.ConfigurationDefaultConfigurationBuilder. 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.ConfigurationDefaultConfigurationBuilder. build(java.lang.String uri)Build a configuration object using an URIConfigurationDefaultConfigurationBuilder. build(org.xml.sax.InputSource input)Build a configuration object using an XML InputSource objectConfigurationDefaultConfigurationBuilder. buildFromFile(java.io.File file)Build a configuration object from a file using a File object.ConfigurationDefaultConfigurationBuilder. buildFromFile(java.lang.String filename)Build a configuration object from a file using a filename.ConfigurationAbstractConfiguration. getChild(java.lang.String name)Return the firstConfigurationobject child of this associated with the given name.ConfigurationAbstractConfiguration. getChild(java.lang.String name, boolean createNew)Return the firstConfigurationobject child of this associated with the given name.ConfigurationConfiguration. getChild(java.lang.String child)Return a newConfigurationinstance encapsulating the specified child node.ConfigurationConfiguration. getChild(java.lang.String child, boolean createNew)Return aConfigurationinstance encapsulating the specified child node.ConfigurationDefaultConfiguration. getChild(java.lang.String name, boolean createNew)Return the firstConfigurationobject child of this associated with the given name.ConfigurationDefaultImmutableConfiguration. getChild(java.lang.String name, boolean createNew)Return the firstConfigurationobject child of this associated with the given name.Configuration[]Configuration. getChildren()Return anArrayofConfigurationelements containing all node children.Configuration[]Configuration. getChildren(java.lang.String name)Return anArrayofConfigurationelements containing all node children with the specified name.Configuration[]DefaultConfiguration. getChildren()Return an array ofConfigurationelements containing all node children.Configuration[]DefaultConfiguration. getChildren(java.lang.String name)Return an array ofConfigurationobjects children of this associated with the given name.Configuration[]DefaultImmutableConfiguration. getChildren()Return an array ofConfigurationelements containing all node children.Configuration[]DefaultImmutableConfiguration. getChildren(java.lang.String name)Return an array ofConfigurationobjects children of this associated with the given name.ConfigurationNamespacedSAXConfigurationHandler. getConfiguration()Get the configuration object that was built.ConfigurationSAXConfigurationHandler. getConfiguration()Get the configuration object that was built.ConfigurationConfigurationException. getOffendingConfiguration()static ConfigurationConfigurationUtil. 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 Modifier and Type Method Description voidDefaultConfiguration. addAll(Configuration other)Add all the attributes, children and value from specified configuration element to current configuration element.voidDefaultConfiguration. addAll(Configuration other, boolean deepCopy)Add all the attributes, children and value from specified configuration element to current configuration element.voidMutableConfiguration. addAll(Configuration other)Add all the attributes, children and value from specified configuration element to current configuration element.voidDefaultConfiguration. addAllAttributes(Configuration other)Add all attributes from specified configuration element to current configuration element.voidMutableConfiguration. addAllAttributes(Configuration other)Add all attributes from specified configuration element to current configuration element.voidDefaultConfiguration. addAllChildren(Configuration other)Add all childConfigurationobjects from specified configuration element to current configuration element.voidDefaultConfiguration. addAllChildren(Configuration other, boolean deepCopy)Add all childConfigurationobjects from specified configuration element to current configuration element.voidMutableConfiguration. addAllChildren(Configuration other)Add all childConfigurationobjects from specified configuration element to current configuration element.voidDefaultConfiguration. addChild(Configuration configuration)Add a childConfigurationto this configuration element.voidMutableConfiguration. addChild(Configuration configuration)Add a childConfigurationto this configuration element.private static booleanConfigurationUtil. areAttributesEqual(Configuration c1, Configuration c2)Return true if the attributes of both configurations are equal.private static booleanConfigurationUtil. areChildrenEqual(Configuration c1, Configuration c2)Return true if the children of both configurations are equal.private static booleanConfigurationUtil. areValuesEqual(Configuration c1, Configuration c2)Return true if the values of two configurations are equal.voidConfigurable. configure(Configuration configuration)Pass theConfigurationto theConfigurableclass.private static org.w3c.dom.ElementConfigurationUtil. createElement(org.w3c.dom.Document document, Configuration configuration)Create an DOMElementfrom aConfigurationobject.static booleanConfigurationUtil. equals(Configuration c1, Configuration c2)Test to see if two Configuration's can be considered the same.private static booleanConfigurationUtil. findMatchingChild(Configuration c, java.util.ArrayList matchAgainst)Return true if find a matching child and remove child from list.voidReconfigurable. reconfigure(Configuration configuration)Describereconfiguremethod here.voidDefaultConfiguration. removeChild(Configuration configuration)Remove a childConfigurationto this configuration element.voidMutableConfiguration. removeChild(Configuration configuration)Remove a childConfigurationto this configuration element.voidDefaultConfigurationSerializer. serialize(java.io.OutputStream outputStream, Configuration source)Serialize the configuration object to an output stream.voidDefaultConfigurationSerializer. serialize(java.lang.String uri, Configuration source)Serialize the configuration object to an output stream derived from an URI.java.lang.StringDefaultConfigurationSerializer. serialize(Configuration source)Serialize the configuration object to a stringvoidDefaultConfigurationSerializer. serialize(org.xml.sax.ContentHandler handler, Configuration source)Serialize the configuration to a ContentHandlerprotected voidDefaultConfigurationSerializer. serializeElement(org.xml.sax.ContentHandler handler, org.xml.sax.helpers.NamespaceSupport namespaceSupport, Configuration element)Serialize each Configuration element.voidDefaultConfigurationSerializer. serializeToFile(java.io.File file, Configuration source)Serialize the configuration object to a file using a File object.voidDefaultConfigurationSerializer. serializeToFile(java.lang.String filename, Configuration source)Serialize the configuration object to a file using a filename.static org.w3c.dom.ElementConfigurationUtil. toElement(Configuration configuration)Convert a configuration tree into a DOM Element tree.private MutableConfigurationDefaultConfiguration. toMutable(Configuration child)Convenience function to convert a child to a mutable configuration.static java.lang.StringConfigurationUtil. toString(Configuration configuration)Serialize the configuration object to a String.Constructors in org.apache.avalon.framework.configuration with parameters of type Configuration Constructor Description ConfigurationException(java.lang.String message, Configuration config)Construct a newConfigurationExceptioninstance.ConfigurationException(java.lang.String message, Configuration config, java.lang.Throwable throwable)Construct a newConfigurationExceptioninstance.ConfigurationException(Configuration config)Construct a newConfigurationExceptioninstance.DefaultConfiguration(Configuration config)Shallow copy constructor, suitable for craeting a writable clone of a read-only configuration.DefaultConfiguration(Configuration config, boolean deepCopy)Copy constructor, to create a clone of another configuration.DefaultImmutableConfiguration(Configuration config)Deep copy constructor. -
Uses of Configuration in org.apache.avalon.framework.container
Methods in org.apache.avalon.framework.container with parameters of type Configuration Modifier and Type Method Description static voidContainerUtil. configure(java.lang.Object object, Configuration configuration)Configure specified object if it implements theConfigurableinterface. -
Uses of Configuration in org.apache.avalon.framework.parameters
Methods in org.apache.avalon.framework.parameters with parameters of type Configuration Modifier and Type Method Description static ParametersParameters. fromConfiguration(Configuration configuration)Create aParametersobject from aConfigurationobject.static ParametersParameters. fromConfiguration(Configuration configuration, java.lang.String elementName)Create aParametersobject from aConfigurationobject using the supplied element name.
-