public interface Configuration
| Modifier and Type | Method and Description |
|---|---|
String |
getAttribute(String key) |
String |
getAttribute(String key,
String defaultValue) |
boolean |
getAttributeAsBoolean(String key,
boolean defaultValue) |
float |
getAttributeAsFloat(String key) |
float |
getAttributeAsFloat(String key,
float defaultValue) |
int |
getAttributeAsInteger(String key,
int defaultValue) |
String[] |
getAttributeNames() |
Configuration |
getChild(String key) |
Configuration |
getChild(String key,
boolean required) |
Configuration[] |
getChildren(String key) |
String |
getLocation() |
String |
getValue() |
String |
getValue(String defaultValue) |
boolean |
getValueAsBoolean() |
boolean |
getValueAsBoolean(boolean defaultValue) |
float |
getValueAsFloat() |
float |
getValueAsFloat(float defaultValue) |
int |
getValueAsInteger() |
int |
getValueAsInteger(int defaultValue) |
Configuration getChild(String key)
Configuration getChild(String key, boolean required)
Configuration[] getChildren(String key)
String[] getAttributeNames()
String getAttribute(String key) throws ConfigurationException
ConfigurationExceptionboolean getAttributeAsBoolean(String key, boolean defaultValue)
float getAttributeAsFloat(String key) throws ConfigurationException
ConfigurationExceptionfloat getAttributeAsFloat(String key, float defaultValue)
int getAttributeAsInteger(String key, int defaultValue)
String getValue() throws ConfigurationException
ConfigurationExceptionboolean getValueAsBoolean()
throws ConfigurationException
ConfigurationExceptionboolean getValueAsBoolean(boolean defaultValue)
int getValueAsInteger()
throws ConfigurationException
ConfigurationExceptionint getValueAsInteger(int defaultValue)
float getValueAsFloat()
throws ConfigurationException
ConfigurationExceptionfloat getValueAsFloat(float defaultValue)
String getLocation()
Copyright © 2025 Apache Software Foundation. All rights reserved.