public class XMLIndenter extends ProxyEmitter
baseEmitter, outputPropertieslocator, namePool, outputStream, systemId, writerPI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING| Constructor and Description |
|---|
XMLIndenter() |
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] chars,
int start,
int len)
Output character data
|
void |
comment(char[] chars,
int start,
int len)
Output a comment
|
void |
endDocument()
End of document
|
void |
endElement(int tag)
Output element end tag
|
void |
ignorableWhitespace(char[] chars,
int start,
int len)
Output ignorable white space
|
void |
processingInstruction(String target,
String data)
Output a processing instruction
|
void |
startDocument()
Start of document
|
void |
startElement(int tag,
Attributes atts,
int[] namespaces,
int nscount)
Output element start tag
|
setDocumentLocator, setEscaping, setNamePool, setOutputProperties, setUnderlyingEmitter, setUnparsedEntity, setWritergetNamePool, getOutputProperties, getOutputStream, getSystemId, getWriter, makeEmitter, setOutputStream, setSystemId, usesWriterpublic void startDocument()
throws TransformerException
startDocument in class ProxyEmitterTransformerExceptionpublic void startElement(int tag,
Attributes atts,
int[] namespaces,
int nscount)
throws TransformerException
startElement in class ProxyEmitternamespaces - Array of namespace codes identifying the namespace prefix/uri
pairs associated with this elementnscount - Number of significant entries within namespaces arrayTransformerExceptionpublic void endElement(int tag)
throws TransformerException
endElement in class ProxyEmitterTransformerExceptionpublic void processingInstruction(String target, String data) throws TransformerException
processingInstruction in class ProxyEmitterTransformerExceptionpublic void characters(char[] chars,
int start,
int len)
throws TransformerException
characters in class ProxyEmitterTransformerExceptionpublic void ignorableWhitespace(char[] chars,
int start,
int len)
throws TransformerException
TransformerExceptionpublic void comment(char[] chars,
int start,
int len)
throws TransformerException
comment in class ProxyEmitterTransformerExceptionpublic void endDocument()
throws TransformerException
endDocument in class ProxyEmitterTransformerException