Class DefaultConfiguration
java.lang.Object
org.docx4j.fonts.fop.configuration.DefaultConfiguration
- All Implemented Interfaces:
Configuration
public class DefaultConfiguration extends java.lang.Object implements Configuration
-
Constructor Summary
Constructors Constructor Description DefaultConfiguration(java.lang.String key) -
Method Summary
Modifier and Type Method Description voidaddChild(DefaultConfiguration configuration)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)static java.lang.StringtoString(org.w3c.dom.Document document)Deprecated.For debug only.
-
Constructor Details
-
DefaultConfiguration
public DefaultConfiguration(java.lang.String key)
-
-
Method Details
-
toString
public static java.lang.String toString(org.w3c.dom.Document document)Deprecated.For debug only. -
addChild
-
getChild
- Specified by:
getChildin interfaceConfiguration
-
getChild
- Specified by:
getChildin interfaceConfiguration
-
getChildren
- Specified by:
getChildrenin interfaceConfiguration
-
getAttributeNames
public java.lang.String[] getAttributeNames()- Specified by:
getAttributeNamesin interfaceConfiguration
-
getAttribute
public java.lang.String getAttribute(java.lang.String key)- Specified by:
getAttributein interfaceConfiguration
-
getAttribute
public java.lang.String getAttribute(java.lang.String key, java.lang.String defaultValue)- Specified by:
getAttributein interfaceConfiguration
-
getAttributeAsBoolean
public boolean getAttributeAsBoolean(java.lang.String key, boolean defaultValue)- Specified by:
getAttributeAsBooleanin interfaceConfiguration
-
getAttributeAsFloat
- Specified by:
getAttributeAsFloatin interfaceConfiguration- Throws:
ConfigurationException
-
getAttributeAsFloat
public float getAttributeAsFloat(java.lang.String key, float defaultValue)- Specified by:
getAttributeAsFloatin interfaceConfiguration
-
getAttributeAsInteger
public int getAttributeAsInteger(java.lang.String key, int defaultValue)- Specified by:
getAttributeAsIntegerin interfaceConfiguration
-
getValue
- Specified by:
getValuein interfaceConfiguration- Throws:
ConfigurationException
-
getValue
public java.lang.String getValue(java.lang.String defaultValue)- Specified by:
getValuein interfaceConfiguration
-
getValueAsBoolean
- Specified by:
getValueAsBooleanin interfaceConfiguration- Throws:
ConfigurationException
-
getValueAsBoolean
public boolean getValueAsBoolean(boolean defaultValue)- Specified by:
getValueAsBooleanin interfaceConfiguration
-
getValueAsInteger
- Specified by:
getValueAsIntegerin interfaceConfiguration- Throws:
ConfigurationException
-
getValueAsInteger
public int getValueAsInteger(int defaultValue)- Specified by:
getValueAsIntegerin interfaceConfiguration
-
getValueAsFloat
- Specified by:
getValueAsFloatin interfaceConfiguration- Throws:
ConfigurationException
-
getValueAsFloat
public float getValueAsFloat(float defaultValue)- Specified by:
getValueAsFloatin interfaceConfiguration
-
getLocation
public java.lang.String getLocation()- Specified by:
getLocationin interfaceConfiguration
-