Package org.apache.batik.dom
Class AbstractDocument.DocumentConfiguration
java.lang.Object
org.apache.batik.dom.AbstractDocument.DocumentConfiguration
- All Implemented Interfaces:
DOMConfiguration
- Enclosing class:
AbstractDocument
DOMConfiguration for this document.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected class
Class to expose the parameter names. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Map
Map of parameter names to array indexes.protected String[]
The boolean parameter names.protected boolean[]
The read-onlyness of the boolean parameters.protected boolean[]
The boolean parameter values.protected Object
Value of the 'error-handler' parameter.The DOMStringList object containing the parameter names. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
canSetParameter
(String name, Object value) Returns whether the given parameter can be set to the given value.boolean
getBooleanParameter
(String name) Gets the boolean value of the given parameter.getParameter
(String name) Gets the value of the given parameter.Returns a DOMStringList of parameter names.void
setParameter
(String name, Object value) Sets the given parameter.
-
Field Details
-
booleanParamNames
The boolean parameter names. -
booleanParamValues
protected boolean[] booleanParamValuesThe boolean parameter values. -
booleanParamReadOnly
protected boolean[] booleanParamReadOnlyThe read-onlyness of the boolean parameters. -
booleanParamIndexes
Map of parameter names to array indexes. -
errorHandler
Value of the 'error-handler' parameter. -
paramNameList
The DOMStringList object containing the parameter names.
-
-
Constructor Details
-
DocumentConfiguration
protected DocumentConfiguration()
-
-
Method Details
-
setParameter
Sets the given parameter.- Specified by:
setParameter
in interfaceDOMConfiguration
-
getParameter
Gets the value of the given parameter.- Specified by:
getParameter
in interfaceDOMConfiguration
-
getBooleanParameter
Gets the boolean value of the given parameter. -
canSetParameter
Returns whether the given parameter can be set to the given value.- Specified by:
canSetParameter
in interfaceDOMConfiguration
-
getParameterNames
Returns a DOMStringList of parameter names.- Specified by:
getParameterNames
in interfaceDOMConfiguration
-