|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.icl.saxon.output.Emitter
com.icl.saxon.output.XMLEmitter
com.icl.saxon.output.TEXTEmitter
public class TEXTEmitter
This class generates TEXT output
Field Summary |
---|
Fields inherited from class com.icl.saxon.output.XMLEmitter |
---|
attbuff1, characterSet, declarationIsWritten, docTypeWritten, empty, escaping, lastDisplayName, lastNameCode, lastPrefix, lastURI, openStartTag, preferHex, specialInAtt, specialInText |
Fields inherited from class com.icl.saxon.output.Emitter |
---|
locator, namePool, outputProperties, outputStream, systemId, writer |
Fields inherited from interface javax.xml.transform.Result |
---|
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING |
Constructor Summary | |
---|---|
TEXTEmitter()
|
Method Summary | |
---|---|
void |
characters(char[] ch,
int start,
int length)
Produce output using the current Writer. |
void |
comment(char[] ch,
int start,
int length)
Output a comment. |
void |
endElement(int nameCode)
Output an element end tag. |
void |
processingInstruction(String name,
String value)
Output a processing instruction. |
void |
startDocument()
Start of the document. |
void |
startElement(int nameCode,
Attributes attributes,
int[] namespaces,
int nscount)
Output an element start tag. |
Methods inherited from class com.icl.saxon.output.XMLEmitter |
---|
closeStartTag, emptyElementTagCloser, endDocument, outputCharacterReference, setDocumentLocator, setEscaping, setOutputProperties, setResult, setUnparsedEntity, testCharacters, testCharacters, writeAttribute, writeDeclaration, writeDocType, writeEscape |
Methods inherited from class com.icl.saxon.output.Emitter |
---|
getNamePool, getOutputProperties, getOutputStream, getSystemId, getWriter, makeEmitter, setNamePool, setOutputStream, setSystemId, setWriter, usesWriter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TEXTEmitter()
Method Detail |
---|
public void startDocument() throws TransformerException
startDocument
in class XMLEmitter
TransformerException
public void characters(char[] ch, int start, int length) throws TransformerException
characters
in class XMLEmitter
ch
- Character array to be outputstart
- start position of characters to be outputlength
- number of characters to be output
TransformerException
- for any failurepublic void startElement(int nameCode, Attributes attributes, int[] namespaces, int nscount) throws TransformerException
startElement
in class XMLEmitter
name
- The element name (tag)
TransformerException
public void endElement(int nameCode) throws TransformerException
endElement
in class XMLEmitter
name
- The element name (tag)
TransformerException
public void processingInstruction(String name, String value) throws TransformerException
processingInstruction
in class XMLEmitter
TransformerException
public void comment(char[] ch, int start, int length) throws TransformerException
comment
in class XMLEmitter
TransformerException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |