com.icl.saxon.output
Class HTMLIndenter
public
class
HTMLIndenter
extends ProxyEmitter
HTMLIndenter: This ProxyEmitter indents HTML elements, by adding whitespace
character data where appropriate.
The character data is never added when within an inline element.
The string used for indentation defaults to four spaces, but may be set using the
indent-chars property
Author Michael H. Kay
Method Summary |
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 nameCode)
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 nameCode, Attributes atts, int[] namespaces, int nscount)
Output element start tag |
public HTMLIndenter()
public void characters(char[] chars, int start, int len)
Output character data
public void comment(char[] chars, int start, int len)
Output a comment
public void endDocument()
End of document
public void endElement(int nameCode)
Output element end tag
public void ignorableWhitespace(char[] chars, int start, int len)
Output ignorable white space
public void processingInstruction(String target, String data)
Output a processing instruction
public void startDocument()
Start of document
public void startElement(int nameCode, Attributes atts, int[] namespaces, int nscount)
Output element start tag