com.icl.saxon.output
public class HTMLEmitter extends XMLEmitter
Field Summary | |
---|---|
static HashMap | emptyTags
Table of HTML tags that have no closing tag |
Constructor Summary | |
---|---|
HTMLEmitter()
Constructor |
Method Summary | |
---|---|
void | characters(char[] ch, int start, int length)
Character data. |
void | endElement(int nameCode)
Output an element end tag. |
protected static boolean | isEmptyTag(String tag) |
static boolean | isUrlAttribute(String element, String attribute) |
void | processingInstruction(String target, String data)
Handle a processing instruction. |
void | startDocument()
Output start of document |
void | startElement(int nameCode, Attributes atts, int[] namespaces, int nscount)
Output element start tag |
protected void | writeAttribute(int elCode, String attname, String type, String value)
Write attribute name=value pair. |
protected void | writeEscape(char[] ch, int start, int length, boolean inAttribute)
Escape characters. |
Parameters: name The element name (tag)