Name
DOMConfiguration
Synopsis
This
Level 3 interface defines methods
for querying and setting the values of named parameters. The
DOMConfiguration
object obtained with the
Document.getDomConfig( )
method allows you to
specify parameters that affect the behavior of the
Document.normalizeDocument( )
method. You can also
obtain a DOMConfiguration
object from the
LSParser
and LSSerializer
interfaces of the org.w3c.dom.ls
package. Those
configuration objects affect the way documents are loaded and saved,
but the package is beyond the scope of this book. See the DOM
specification for details on the available parameters.
public interface DOMConfiguration { // Public Instance Methods boolean canSetParameter(String name, Object value); Object getParameter(String name) throws DOMException; DOMStringList getParameterNames( ); void setParameter(String name, Object value) throws DOMException; }
Returned By
Document.getDomConfig( )
Get Java in a Nutshell, 5th 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.