org.apache.batik.dom

Class AbstractDocument.DocumentConfiguration

protected class AbstractDocument.DocumentConfiguration extends Object implements DOMConfiguration

DOMConfiguration for this document.
Nested Class Summary
protected classAbstractDocument.DocumentConfiguration.ParameterNameList
Class to expose the parameter names.
Field Summary
protected MapbooleanParamIndexes
Map of parameter names to array indexes.
protected String[]booleanParamNames
The boolean parameter names.
protected boolean[]booleanParamReadOnly
The read-onlyness of the boolean parameters.
protected boolean[]booleanParamValues
The boolean parameter values.
protected ObjecterrorHandler
Value of the 'error-handler' parameter.
protected AbstractDocument.DocumentConfiguration.ParameterNameListparamNameList
The DOMStringList object containing the parameter names.
Method Summary
booleancanSetParameter(String name, Object value)
Returns whether the given parameter can be set to the given value.
booleangetBooleanParameter(String name)
Gets the boolean value of the given parameter.
ObjectgetParameter(String name)
Gets the value of the given parameter.
DOMStringListgetParameterNames()
Returns a DOMStringList of parameter names.
voidsetParameter(String name, Object value)
Sets the given parameter.

Field Detail

booleanParamIndexes

protected Map booleanParamIndexes
Map of parameter names to array indexes.

booleanParamNames

protected String[] booleanParamNames
The boolean parameter names.

booleanParamReadOnly

protected boolean[] booleanParamReadOnly
The read-onlyness of the boolean parameters.

booleanParamValues

protected boolean[] booleanParamValues
The boolean parameter values.

errorHandler

protected Object errorHandler
Value of the 'error-handler' parameter.

paramNameList

protected AbstractDocument.DocumentConfiguration.ParameterNameList paramNameList
The DOMStringList object containing the parameter names.

Method Detail

canSetParameter

public boolean canSetParameter(String name, Object value)
Returns whether the given parameter can be set to the given value.

getBooleanParameter

public boolean getBooleanParameter(String name)
Gets the boolean value of the given parameter.

getParameter

public Object getParameter(String name)
Gets the value of the given parameter.

getParameterNames

public DOMStringList getParameterNames()
Returns a DOMStringList of parameter names.

setParameter

public void setParameter(String name, Object value)
Sets the given parameter.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.