com.icl.saxon.output
Modifier and Type | Field and Description |
---|---|
protected Node |
currentNode |
protected Document |
document |
locator, namePool, outputProperties, outputStream, systemId, writer
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING
Constructor and Description |
---|
DOMEmitter() |
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int start,
int length)
Character data.
|
void |
comment(char[] 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.
|
getNamePool, getOutputProperties, getOutputStream, getSystemId, getWriter, makeEmitter, setDocumentLocator, setEscaping, setNamePool, setOutputProperties, setOutputStream, setSystemId, setUnparsedEntity, setWriter, usesWriter
public void startDocument()
startDocument
in class Emitter
public void endDocument()
endDocument
in class Emitter
public void startElement(int nameCode, Attributes attributes, int[] namespaces, int nscount) throws TransformerException
startElement
in class Emitter
namespaces
- Array of namespace codes identifying the namespace prefix/uri
pairs associated with this elementnscount
- Number of significant entries within namespaces arrayTransformerException
public void endElement(int nameCode) throws TransformerException
endElement
in class Emitter
TransformerException
public void characters(char[] ch, int start, int length) throws TransformerException
characters
in class Emitter
TransformerException
public void processingInstruction(String target, String data) throws TransformerException
processingInstruction
in class Emitter
TransformerException
public void comment(char[] ch, int start, int length) throws TransformerException
comment
in class Emitter
TransformerException
public void setNode(Node node)