FileDocCategorySizeDatePackage
DOMDocumentHandler.javaAPI DocJava SE 6 API3002Tue Jun 10 00:22:48 BST 2008com.sun.org.apache.xerces.internal.jaxp.validation

DOMDocumentHandler

public interface DOMDocumentHandler implements XMLDocumentHandler

An extension to XMLDocumentHandler for building DOM structures.

author
Michael Glavassevich, IBM
version
$Id: DOMDocumentHandler.java,v 1.1.4.1 2005/09/05 11:35:27 sunithareddy Exp $

Fields Summary
Constructors Summary
Methods Summary
public voidcdata(org.w3c.dom.CDATASection node)

public voidcharacters(org.w3c.dom.Text node)

public voidcomment(org.w3c.dom.Comment node)
A comment.

param
node a Comment node
exception
XNIException Thrown by application to signal an error.

public voiddoctypeDecl(org.w3c.dom.DocumentType node)
A document type declaration.

param
node a DocumentType node
exception
XNIException Thrown by handler to signal an error.

public voidprocessingInstruction(org.w3c.dom.ProcessingInstruction node)
A processing instruction. Processing instructions consist of a target name and, optionally, text data. The data is only meaningful to the application.

Typically, a processing instruction's data will contain a series of pseudo-attributes. These pseudo-attributes follow the form of element attributes but are not parsed or presented to the application as anything other than text. The application is responsible for parsing the data.

param
node a ProcessingInstruction node
exception
XNIException Thrown by handler to signal an error.

public voidsetDOMResult(javax.xml.transform.dom.DOMResult result)

Sets the DOMResult object which receives the constructed DOM nodes.

param
result the object which receives the constructed DOM nodes

public voidsetIgnoringCharacters(boolean ignore)