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 | writeDocType(String type, String systemId, String publicId)
Output the document type declaration |
| protected void | writeEscape(CharSequence chars, boolean inAttribute)
Escape characters. |
Parameters: type The element name systemId The DOCTYP system identifier publicId The DOCTYPE public identifier