FileDocCategorySizeDatePackage
DOMDocumentHandler.javaAPI DocApache Xerces 3.0.13214Fri Sep 14 20:33:54 BST 2007org.apache.xerces.jaxp.validation

DOMDocumentHandler

public interface DOMDocumentHandler implements org.apache.xerces.xni.XMLDocumentHandler

An extension to XMLDocumentHandler for building DOM structures.

author
Michael Glavassevich, IBM
version
$Id: DOMDocumentHandler.java 447235 2006-09-18 05:01:44Z mrglavas $

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)