com.icl.saxon.output
Class DOMEmitter
- Result
DOMEmitter is an Emitter that attaches the result tree to a specified Node in a DOM Document
void | characters(char[] ch, int start, int length) - Character data.
|
void | comment(ch[] , int start, int length) - Handle a comment.
|
void | endDocument() - End of the document.
|
void | endElement(int nameCode) - End of an element.
|
void | processingInstruction(String target, String data) - Handle a processing instruction.
|
void | setNode(Node node) - Set output destination
|
void | startDocument() - Start of the document.
|
void | startElement(int nameCode, Attributes attributes, int[] namespaces, int nscount) - Start of an element.
|
characters , comment , endDocument , endElement , getNamePool , getOutputProperties , getOutputStream , getSystemId , getWriter , makeEmitter , processingInstruction , setDocumentLocator , setEscaping , setNamePool , setOutputProperties , setOutputStream , setSystemId , setUnparsedEntity , setWriter , startDocument , startElement , usesWriter |
currentNode
protected Node currentNode
document
protected Document document
characters
public void characters(char[] ch,
int start,
int length)
throws TransformerException
Character data.
- characters in interface Emitter
comment
public void comment(ch[] ,
int start,
int length)
throws TransformerException
Handle a comment.
endDocument
public void endDocument()
End of the document.
- endDocument in interface Emitter
endElement
public void endElement(int nameCode)
throws TransformerException
End of an element.
- endElement in interface Emitter
processingInstruction
public void processingInstruction(String target,
String data)
throws TransformerException
Handle a processing instruction.
- processingInstruction in interface Emitter
setNode
public void setNode(Node node)
Set output destination
startElement
public void startElement(int nameCode,
Attributes attributes,
int[] namespaces,
int nscount)
throws TransformerException
Start of an element. Output the start tag, escaping special characters.
- startElement in interface Emitter