net.sf.saxon.event
public class HTMLIndenter extends ProxyReceiver
Field Summary | |
---|---|
protected static String[] | formattedTags |
protected static String[] | inlineTags |
protected static int | IS_FORMATTED |
protected static int | IS_INLINE |
Constructor Summary | |
---|---|
HTMLIndenter() |
Method Summary | |
---|---|
void | characters(CharSequence chars, int locationId, int properties)
Output character data |
protected int | classifyTag(int nameCode)
Classify an element name as inline, formatted, or both or neither.
|
void | comment(CharSequence chars, int locationId, int properties)
Output a comment |
void | endElement()
Output element end tag |
void | setOutputProperties(Properties props)
Set the properties for this indenter |
void | startElement(int nameCode, int typeCode, int locationId, int properties)
Output element start tag |
Parameters: nameCode the element name
Returns: a bit-significant integer containing flags IS_INLINE and/or IS_FORMATTED