Java in a Nutshell, 5th Edition [Electronic resources]

نسخه متنی -صفحه : 1191/ 1104
نمايش فراداده

DOMConfigurationorg.w3c.dom

Java 5.0

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( )