com.icl.saxon.output
Class UncommittedEmitter
- Result
public class UncommittedEmitter
This class generates XML or HTML output depending on whether the first tag output is ""
void | characters(ch[] , int start, int length)- Produce character output using the current Writer.
|
void | comment(ch[] , int start, int length)- Output a comment
|
void | endDocument()- End of document
|
void | processingInstruction(String target, String data)- Processing Instruction
|
void | setEscaping(boolean escaping)- Switch escaping on or off.
|
void | startDocument()- Start of document
|
void | startElement(int nameCode, Attributes attributes, int[] namespaces, int nscount)- Output an element start tag.
|
characters, comment, endDocument, endElement, processingInstruction, setDocumentLocator, setEscaping, setNamePool, setOutputProperties, setUnderlyingEmitter, setUnparsedEntity, setWriter, startDocument, startElement |
characters, comment, endDocument, endElement, getNamePool, getOutputProperties, getOutputStream, getSystemId, getWriter, makeEmitter, processingInstruction, setDocumentLocator, setEscaping, setNamePool, setOutputProperties, setOutputStream, setSystemId, setUnparsedEntity, setWriter, startDocument, startElement, usesWriter |
characters
public void characters(ch[] ,
int start,
int length)
throws TransformerException Produce character output using the current Writer.
comment
public void comment(ch[] ,
int start,
int length)
throws TransformerException Output a comment
- comment in interface ProxyEmitter
endDocument
public void endDocument()
throws TransformerException End of document
- endDocument in interface ProxyEmitter
processingInstruction
public void processingInstruction(String target,
String data)
throws TransformerException Processing Instruction
- processingInstruction in interface ProxyEmitter
setEscaping
public void setEscaping(boolean escaping)
throws TransformerException Switch escaping on or off. This is called when the XSLT disable-output-escaping attribute
is used to switch escaping on or off. It is not called for other sections of output (e.g.
element names) where escaping is inappropriate.
- setEscaping in interface ProxyEmitter
startDocument
public void startDocument()
throws TransformerException Start of document
- startDocument in interface ProxyEmitter
startElement
public void startElement(int nameCode,
Attributes attributes,
int[] namespaces,
int nscount)
throws TransformerException Output an element start tag.
This can only be called once: it switches to a substitute output generator for XML or HTML,
depending on whether the tag is "HTML".
- startElement in interface ProxyEmitter