com.icl.saxon.output
Class TEXTEmitter
java.lang.Object
|
+--com.icl.saxon.output.XMLEmitter
|
+--com.icl.saxon.output.TEXTEmitter
- All Implemented Interfaces:
- Emitter
- public class TEXTEmitter
- extends XMLEmitter
This class generates TEXT output
Methods inherited from class com.icl.saxon.output.XMLEmitter |
closeStartTag, emptyElementTagCloser, endDocument, outputCharacterReference, setCharacterSet, setDocumentLocator, setEscaping, setOutputDetails, setWriter, startPrefixMapping, testCharacters, testCharacters, unwindNamespaces, writeAttribute, writeDeclaration, writeDocType, writeEscape |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TEXTEmitter
public TEXTEmitter()
startDocument
public void startDocument()
throws org.xml.sax.SAXException
- Start of the document.
- Overrides:
startDocument
in class XMLEmitter
characters
public void characters(char[] ch,
int start,
int length)
throws org.xml.sax.SAXException
- Produce output using the current Writer.
Special characters are not escaped.
- Overrides:
characters
in class XMLEmitter
- Parameters:
ch
- Character array to be outputstart
- start position of characters to be outputlength
- number of characters to be output- Throws:
org.xml.sax.SAXException
- for any failure
startElement
public void startElement(Name name,
AttributeCollection atts)
throws org.xml.sax.SAXException
- Output an element start tag.
Does nothing with this output method.
- Overrides:
startElement
in class XMLEmitter
- Parameters:
name
- The element name (tag)
endElement
public void endElement(Name name)
throws org.xml.sax.SAXException
- Output an element end tag.
Does nothing with this output method.
- Overrides:
endElement
in class XMLEmitter
- Parameters:
name
- The element name (tag)
processingInstruction
public void processingInstruction(java.lang.String name,
java.lang.String value)
throws org.xml.sax.SAXException
- Output a processing instruction.
Does nothing with this output method.
- Overrides:
processingInstruction
in class XMLEmitter
comment
public void comment(char[] ch,
int start,
int length)
throws org.xml.sax.SAXException
- Output a comment.
Does nothing with this output method.
- Overrides:
comment
in class XMLEmitter