Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
net.sf.saxon.event.Emitter
net.sf.saxon.event.XMLEmitter
net.sf.saxon.event.TEXTEmitter
public class TEXTEmitter
extends XMLEmitter
Field Summary |
Fields inherited from class net.sf.saxon.event.XMLEmitter | |
declarationIsWritten , elementCode , elementStack , empty , openStartTag , preferHex , undeclareNamespaces |
Fields inherited from class net.sf.saxon.event.Emitter | |
allCharactersEncodable , characterSet , namePool , outputProperties , outputStream , pipelineConfig , streamResult , systemId , writer |
Method Summary | |
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
protected void | |
void |
|
void |
|
void |
|
Methods inherited from class net.sf.saxon.event.XMLEmitter | |
attribute , characters , close , closeStartTag , comment , emptyElementTagCloser , endDocument , endElement , namespace , open , openDocument , outputCharacterReference , processingInstruction , startContent , startDocument , startElement , testCharacters , writeAttribute , writeCharSequence , writeDeclaration , writeDocType , writeEscape |
Methods inherited from class net.sf.saxon.event.Emitter | |
getConfiguration , getOutputProperties , getOutputStream , getPipelineConfiguration , getSystemId , getWriter , makeWriter , setOutputProperties , setOutputStream , setPipelineConfiguration , setStreamResult , setSystemId , setUnparsedEntity , setWriter , usesWriter |
public void attribute(int nameCode, int typeCode, CharSequence value, int locationId, int properties)
- Overrides:
- attribute in interface XMLEmitter
public void characters(CharSequence chars, int locationId, int properties) throws XPathException
Produce output using the current Writer.
Special characters are not escaped.
- Specified by:
- characters in interface Receiver
- Overrides:
- characters in interface XMLEmitter
- Parameters:
chars
- Character sequence to be outputproperties
- bit fields holding special properties of the characters
- Throws:
XPathException
- for any failure
public void comment(CharSequence chars, int locationId, int properties) throws XPathException
Output a comment.
Does nothing with this output method.
- Overrides:
- comment in interface XMLEmitter
public void endElement()
Output an element end tag.
Does nothing with this output method.
- Specified by:
- endElement in interface Receiver
- Overrides:
- endElement in interface XMLEmitter
public void namespace(int namespaceCode, int properties)
- Overrides:
- namespace in interface XMLEmitter
public void open() throws XPathException
Start of the document.
- Overrides:
- open in interface XMLEmitter
protected void openDocument() throws XPathException
- Overrides:
- openDocument in interface XMLEmitter
public void processingInstruction(String name, CharSequence value, int locationId, int properties) throws XPathException
Output a processing instruction.
Does nothing with this output method.
- Specified by:
- processingInstruction in interface Receiver
- Overrides:
- processingInstruction in interface XMLEmitter
public void startElement(int nameCode, int typeCode, int locationId, int properties)
Output an element start tag.
Does nothing with this output method.
- Specified by:
- startElement in interface Receiver
- Overrides:
- startElement in interface XMLEmitter
- Parameters:
nameCode
- The element name (tag)typeCode
- The type annotationproperties
- Bit fields holding any special properties of the element
public void writeDeclaration() throws XPathException
Output the XML declaration. This implementation does nothing.
- Overrides:
- writeDeclaration in interface XMLEmitter