Package org.apache.fop.configuration
Class NullConfiguration
java.lang.Object
org.apache.fop.configuration.NullConfiguration
- All Implemented Interfaces:
Configuration
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute
(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)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
NullConfiguration
private NullConfiguration()
-
-
Method Details
-
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
- Throws:
ConfigurationException
-
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
-