public class TEXTEmitter extends XMLEmitter
characterSet, declarationIsWritten, empty, escaping, lastDisplayName, lastNameCode, lastPrefix, lastURI, openStartTag, preferHexlocator, namePool, outputProperties, outputStream, systemId, writerPI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING| Constructor and Description |
|---|
TEXTEmitter() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
closeStartTag, emptyElementTagCloser, endDocument, outputCharacterReference, setDocumentLocator, setEscaping, setOutputProperties, setResult, setUnparsedEntity, testCharacters, testCharacters, writeAttribute, writeDeclaration, writeDocType, writeEscapegetNamePool, getOutputProperties, getOutputStream, getSystemId, getWriter, makeEmitter, setNamePool, setOutputStream, setSystemId, setWriter, usesWriterpublic void startDocument()
throws TransformerException
startDocument in class XMLEmitterTransformerExceptionpublic void characters(char[] ch,
int start,
int length)
throws TransformerException
characters in class XMLEmitterch - Character array to be outputstart - start position of characters to be outputlength - number of characters to be outputTransformerException - for any failurepublic void startElement(int nameCode,
Attributes attributes,
int[] namespaces,
int nscount)
throws TransformerException
startElement in class XMLEmittername - The element name (tag)TransformerExceptionpublic void endElement(int nameCode)
throws TransformerException
endElement in class XMLEmittername - The element name (tag)TransformerExceptionpublic void processingInstruction(String name, String value) throws TransformerException
processingInstruction in class XMLEmitterTransformerExceptionpublic void comment(char[] ch,
int start,
int length)
throws TransformerException
comment in class XMLEmitterTransformerException