Package | Description |
---|---|
org.apache.avalon.framework.configuration |
Component configuration interfaces and XML-based implementations.
|
org.apache.avalon.framework.parameters |
Interfaces supporting the supply of flat configuration information.
|
Modifier and Type | Method and Description |
---|---|
void |
Configurable.configure(Configuration configuration)
Pass the
Configuration to the Configurable
class. |
java.lang.String |
Configuration.getAttribute(java.lang.String paramName)
Return the value of specified attribute.
|
boolean |
Configuration.getAttributeAsBoolean(java.lang.String paramName)
Return the
boolean value of the specified parameter contained
in this node. |
double |
Configuration.getAttributeAsDouble(java.lang.String paramName)
Return the
double value of the specified parameter contained
in this node. |
float |
Configuration.getAttributeAsFloat(java.lang.String paramName)
Return the
float value of the specified parameter contained
in this node. |
int |
Configuration.getAttributeAsInteger(java.lang.String paramName)
Return the
int value of the specified attribute contained
in this node. |
long |
Configuration.getAttributeAsLong(java.lang.String name)
Returns the value of the attribute specified by its name as a
long . |
java.lang.String |
Configuration.getNamespace()
Returns a string indicating which namespace this Configuration node
belongs to.
|
java.lang.String |
Configuration.getValue()
Return the
String value of the node. |
boolean |
Configuration.getValueAsBoolean()
Return the
boolean value of the node. |
double |
Configuration.getValueAsDouble()
Return the
double value of the node. |
float |
Configuration.getValueAsFloat()
Return the
float value of the node. |
int |
Configuration.getValueAsInteger()
Return the
int value of the node. |
long |
Configuration.getValueAsLong()
Return the
long value of the node. |
void |
Reconfigurable.reconfigure(Configuration configuration)
Describe
reconfigure method here. |
Modifier and Type | Method and Description |
---|---|
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. |