net.sf.saxon.event
Class XHTMLIndenter
- Receiver, Result
public class XHTMLIndenter
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.
protected int | classifyTag(int nameCode) - Classify an element name as inline, formatted, or both or neither.
|
append , attribute , characters , close , comment , endDocument , endElement , getConfiguration , getDocumentLocator , getNamePool , getUnderlyingReceiver , namespace , open , processingInstruction , setPipelineConfiguration , setSystemId , setUnderlyingReceiver , setUnparsedEntity , startContent , startDocument , startElement |
XHTMLIndenter
public XHTMLIndenter()
Create an XHTML indenter
classifyTag
protected int classifyTag(int nameCode)
Classify an element name as inline, formatted, or both or neither.
This method is overridden in the XHTML indenter
- classifyTag in interface HTMLIndenter
nameCode
- the element name
- a bit-significant integer containing flags IS_INLINE and/or IS_FORMATTED