Interface Configuration
- All Known Implementing Classes:
DefaultConfiguration
public interface Configuration
-
Method Summary
Modifier and Type Method Description java.lang.StringgetAttribute(java.lang.String key)java.lang.StringgetAttribute(java.lang.String key, java.lang.String defaultValue)booleangetAttributeAsBoolean(java.lang.String key, boolean defaultValue)floatgetAttributeAsFloat(java.lang.String key)floatgetAttributeAsFloat(java.lang.String key, float defaultValue)intgetAttributeAsInteger(java.lang.String key, int defaultValue)java.lang.String[]getAttributeNames()ConfigurationgetChild(java.lang.String key)ConfigurationgetChild(java.lang.String key, boolean required)Configuration[]getChildren(java.lang.String key)java.lang.StringgetLocation()java.lang.StringgetValue()java.lang.StringgetValue(java.lang.String defaultValue)booleangetValueAsBoolean()booleangetValueAsBoolean(boolean defaultValue)floatgetValueAsFloat()floatgetValueAsFloat(float defaultValue)intgetValueAsInteger()intgetValueAsInteger(int defaultValue)
-
Method Details
-
getChild
-
getChild
-
getChildren
-
getAttributeNames
java.lang.String[] getAttributeNames() -
getAttribute
- Throws:
ConfigurationException
-
getAttribute
java.lang.String getAttribute(java.lang.String key, java.lang.String defaultValue) -
getAttributeAsBoolean
boolean getAttributeAsBoolean(java.lang.String key, boolean defaultValue) -
getAttributeAsFloat
- Throws:
ConfigurationException
-
getAttributeAsFloat
float getAttributeAsFloat(java.lang.String key, float defaultValue) -
getAttributeAsInteger
int getAttributeAsInteger(java.lang.String key, int defaultValue) -
getValue
- Throws:
ConfigurationException
-
getValue
java.lang.String getValue(java.lang.String defaultValue) -
getValueAsBoolean
- Throws:
ConfigurationException
-
getValueAsBoolean
boolean getValueAsBoolean(boolean defaultValue) -
getValueAsInteger
- Throws:
ConfigurationException
-
getValueAsInteger
int getValueAsInteger(int defaultValue) -
getValueAsFloat
- Throws:
ConfigurationException
-
getValueAsFloat
float getValueAsFloat(float defaultValue) -
getLocation
java.lang.String getLocation()
-