net.sf.saxon.event
public class HTMLEmitter extends XMLEmitter
Field Summary | |
---|---|
static HTMLTagHashSet | emptyTags
Table of HTML tags that have no closing tag |
Constructor Summary | |
---|---|
HTMLEmitter()
Constructor |
Method Summary | |
---|---|
void | characters(CharSequence chars, int locationId, int properties)
Character data. |
void | endElement()
Output an element end tag. |
protected static boolean | isEmptyTag(String tag) |
void | open()
Output start of document |
protected void | openDocument() |
void | processingInstruction(String target, CharSequence data, int locationId, int properties)
Handle a processing instruction. |
void | startContent() |
void | startElement(int nameCode, int typeCode, int locationId, int properties)
Output element start tag |
protected void | writeAttribute(int elCode, String attname, CharSequence value, int properties)
Write attribute name=value pair. |
protected void | writeEscape(CharSequence chars, boolean inAttribute)
Escape characters. |