Package org.apache.batik.dom
Class AbstractDocument.DocumentConfiguration
- java.lang.Object
-
- org.apache.batik.dom.AbstractDocument.DocumentConfiguration
-
- All Implemented Interfaces:
org.w3c.dom.DOMConfiguration
- Enclosing class:
- AbstractDocument
protected class AbstractDocument.DocumentConfiguration extends java.lang.Object implements org.w3c.dom.DOMConfigurationDOMConfiguration for this document.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classAbstractDocument.DocumentConfiguration.ParameterNameListClass to expose the parameter names.
-
Field Summary
Fields Modifier and Type Field Description protected java.util.MapbooleanParamIndexesMap of parameter names to array indexes.protected java.lang.String[]booleanParamNamesThe boolean parameter names.protected boolean[]booleanParamReadOnlyThe read-onlyness of the boolean parameters.protected boolean[]booleanParamValuesThe boolean parameter values.protected java.lang.ObjecterrorHandlerValue of the 'error-handler' parameter.protected AbstractDocument.DocumentConfiguration.ParameterNameListparamNameListThe DOMStringList object containing the parameter names.
-
Constructor Summary
Constructors Modifier Constructor Description protectedDocumentConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanSetParameter(java.lang.String name, java.lang.Object value)Returns whether the given parameter can be set to the given value.booleangetBooleanParameter(java.lang.String name)Gets the boolean value of the given parameter.java.lang.ObjectgetParameter(java.lang.String name)Gets the value of the given parameter.org.w3c.dom.DOMStringListgetParameterNames()Returns a DOMStringList of parameter names.voidsetParameter(java.lang.String name, java.lang.Object value)Sets the given parameter.
-
-
-
Field Detail
-
booleanParamNames
protected java.lang.String[] booleanParamNames
The boolean parameter names.
-
booleanParamValues
protected boolean[] booleanParamValues
The boolean parameter values.
-
booleanParamReadOnly
protected boolean[] booleanParamReadOnly
The read-onlyness of the boolean parameters.
-
booleanParamIndexes
protected java.util.Map booleanParamIndexes
Map of parameter names to array indexes.
-
errorHandler
protected java.lang.Object errorHandler
Value of the 'error-handler' parameter.
-
paramNameList
protected AbstractDocument.DocumentConfiguration.ParameterNameList paramNameList
The DOMStringList object containing the parameter names.
-
-
Method Detail
-
setParameter
public void setParameter(java.lang.String name, java.lang.Object value)Sets the given parameter.- Specified by:
setParameterin interfaceorg.w3c.dom.DOMConfiguration
-
getParameter
public java.lang.Object getParameter(java.lang.String name)
Gets the value of the given parameter.- Specified by:
getParameterin interfaceorg.w3c.dom.DOMConfiguration
-
getBooleanParameter
public boolean getBooleanParameter(java.lang.String name)
Gets the boolean value of the given parameter.
-
canSetParameter
public boolean canSetParameter(java.lang.String name, java.lang.Object value)Returns whether the given parameter can be set to the given value.- Specified by:
canSetParameterin interfaceorg.w3c.dom.DOMConfiguration
-
getParameterNames
public org.w3c.dom.DOMStringList getParameterNames()
Returns a DOMStringList of parameter names.- Specified by:
getParameterNamesin interfaceorg.w3c.dom.DOMConfiguration
-
-