Name
setParameter: name, value(3)
Synopsis
Attempts to set the named parameter to the value given.
Arguments
- name: DOMString
The name of a valid parameter (from the
parameterNames
list) to set.- value: DOMUserData
The new value of the parameter.
Exceptions
- NOT_FOUND_ERR
Raised if the given parameter name is not recognized.
- NOT_SUPPORTED_ERR
Raised if the given parameter name is recognized but not supported.
- TYPE_MISMATCH_ERR
Raised if the value for this parameter is incompatible with the expected type (e.g., attempting to set the
error-handler
parameter to an object that doesn’t implement theDOMErrorHandler
interface).
Java binding
public void setParameter(String name, Object value) throws DOMException;
Methods
The DOMConfiguration
object has no methods.
Get XML in a Nutshell, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.