Package org.apache.fop.configuration
Class DefaultConfiguration
java.lang.Object
org.apache.fop.configuration.DefaultConfiguration
- All Implemented Interfaces:
Configuration
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addChild
(DefaultConfiguration configuration) getAttribute
(String key) getAttribute
(String key, String defaultValue) boolean
getAttributeAsBoolean
(String key, boolean defaultValue) float
float
getAttributeAsFloat
(String key, float defaultValue) int
getAttributeAsInteger
(String key, int defaultValue) String[]
getChildren
(String key) getValue()
boolean
boolean
getValueAsBoolean
(boolean defaultValue) float
float
getValueAsFloat
(float defaultValue) int
int
getValueAsInteger
(int defaultValue) static String
Deprecated.For debug only.
-
Constructor Details
-
DefaultConfiguration
-
-
Method Details
-
toString
Deprecated.For debug only. -
addChild
-
getChild
- Specified by:
getChild
in interfaceConfiguration
-
getChild
- Specified by:
getChild
in interfaceConfiguration
-
getChildren
- Specified by:
getChildren
in interfaceConfiguration
-
getAttributeNames
- Specified by:
getAttributeNames
in interfaceConfiguration
-
getAttribute
- Specified by:
getAttribute
in interfaceConfiguration
-
getAttribute
- Specified by:
getAttribute
in interfaceConfiguration
-
getAttributeAsBoolean
- Specified by:
getAttributeAsBoolean
in interfaceConfiguration
-
getAttributeAsFloat
- Specified by:
getAttributeAsFloat
in interfaceConfiguration
- Throws:
ConfigurationException
-
getAttributeAsFloat
- Specified by:
getAttributeAsFloat
in interfaceConfiguration
-
getAttributeAsInteger
- Specified by:
getAttributeAsInteger
in interfaceConfiguration
-
getValue
- Specified by:
getValue
in interfaceConfiguration
- Throws:
ConfigurationException
-
getValue
- Specified by:
getValue
in interfaceConfiguration
-
getValueAsBoolean
- Specified by:
getValueAsBoolean
in interfaceConfiguration
- Throws:
ConfigurationException
-
getValueAsBoolean
public boolean getValueAsBoolean(boolean defaultValue) - Specified by:
getValueAsBoolean
in interfaceConfiguration
-
getValueAsInteger
- Specified by:
getValueAsInteger
in interfaceConfiguration
- Throws:
ConfigurationException
-
getValueAsInteger
public int getValueAsInteger(int defaultValue) - Specified by:
getValueAsInteger
in interfaceConfiguration
-
getValueAsFloat
- Specified by:
getValueAsFloat
in interfaceConfiguration
- Throws:
ConfigurationException
-
getValueAsFloat
public float getValueAsFloat(float defaultValue) - Specified by:
getValueAsFloat
in interfaceConfiguration
-
getLocation
- Specified by:
getLocation
in interfaceConfiguration
-