net.sf.saxon.event
Class XHTMLIndenter
public
class
XHTMLIndenter
extends HTMLIndenter
XHTMLIndenter: This class indents XHTML elements, by adding whitespace
character data where appropriate. This class differs from its superclass,
HTMLIndenter, only in the way it classifies elements as being inline or
formatted elements: unlike the HTML indenter, it requires the element names
to be in lower case and to be in the XHTML namespace.
Author: Michael Kay
public XHTMLIndenter()
Create an XHTML indenter
protected int classifyTag(int nameCode)
Classify an element name as inline, formatted, or both or neither.
This method is overridden in the XHTML indenter
Parameters: nameCode the element name
Returns: a bit-significant integer containing flags IS_INLINE and/or IS_FORMATTED