Package org.apache.fop.configuration
Interface Configuration
-
- All Known Implementing Classes:
DefaultConfiguration
public interface Configuration
-
-
Method Summary
All Methods Instance Methods Abstract Methods 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 Detail
-
getChild
Configuration getChild(java.lang.String key)
-
getChild
Configuration getChild(java.lang.String key, boolean required)
-
getChildren
Configuration[] getChildren(java.lang.String key)
-
getAttributeNames
java.lang.String[] getAttributeNames()
-
getAttribute
java.lang.String getAttribute(java.lang.String key) throws ConfigurationException- 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
float getAttributeAsFloat(java.lang.String key) throws ConfigurationException- Throws:
ConfigurationException
-
getAttributeAsFloat
float getAttributeAsFloat(java.lang.String key, float defaultValue)
-
getAttributeAsInteger
int getAttributeAsInteger(java.lang.String key, int defaultValue)
-
getValue
java.lang.String getValue() throws ConfigurationException- Throws:
ConfigurationException
-
getValue
java.lang.String getValue(java.lang.String defaultValue)
-
getValueAsBoolean
boolean getValueAsBoolean() throws ConfigurationException- Throws:
ConfigurationException
-
getValueAsBoolean
boolean getValueAsBoolean(boolean defaultValue)
-
getValueAsInteger
int getValueAsInteger() throws ConfigurationException- Throws:
ConfigurationException
-
getValueAsInteger
int getValueAsInteger(int defaultValue)
-
getValueAsFloat
float getValueAsFloat() throws ConfigurationException- Throws:
ConfigurationException
-
getValueAsFloat
float getValueAsFloat(float defaultValue)
-
getLocation
java.lang.String getLocation()
-
-