| java.lang.Object net.sf.saxon.event.SequenceReceiver net.sf.saxon.event.ProxyReceiver net.sf.saxon.event.HTMLIndenter
All known Subclasses: net.sf.saxon.event.XHTMLIndenter,
HTMLIndenter | public class HTMLIndenter extends ProxyReceiver (Code) | | HTMLIndenter: This ProxyEmitter indents HTML elements, by adding whitespace
character data where appropriate.
The character data is never added when within an inline element.
The string used for indentation defaults to four spaces, but may be set using the
indent-chars property
author: Michael Kay |
IS_FORMATTED | final protected static int IS_FORMATTED(Code) | | |
IS_INLINE | final protected static int IS_INLINE(Code) | | |
HTMLIndenter | public HTMLIndenter()(Code) | | |
classifyTag | protected int classifyTag(int nameCode)(Code) | | Classify an element name as inline, formatted, or both or neither.
This method is overridden in the XHTML indenter
Parameters: nameCode - the element name a bit-significant integer containing flags IS_INLINE and/or IS_FORMATTED |
setOutputProperties | public void setOutputProperties(Properties props)(Code) | | Set the properties for this indenter
|
startElement | public void startElement(int nameCode, int typeCode, int locationId, int properties) throws XPathException(Code) | | Output element start tag
|
Methods inherited from net.sf.saxon.event.ProxyReceiver | public void attribute(int nameCode, int typeCode, CharSequence value, int locationId, int properties) throws XPathException(Code)(Java Doc) public void characters(CharSequence chars, int locationId, int properties) throws XPathException(Code)(Java Doc) public void close() throws XPathException(Code)(Java Doc) public void comment(CharSequence chars, int locationId, int properties) throws XPathException(Code)(Java Doc) public void endDocument() throws XPathException(Code)(Java Doc) public void endElement() throws XPathException(Code)(Java Doc) public Configuration getConfiguration()(Code)(Java Doc) public LocationProvider getDocumentLocator()(Code)(Java Doc) public NamePool getNamePool()(Code)(Java Doc) public String getSystemId()(Code)(Java Doc) public Receiver getUnderlyingReceiver()(Code)(Java Doc) public void namespace(int namespaceCode, int properties) throws XPathException(Code)(Java Doc) public void open() throws XPathException(Code)(Java Doc) public void processingInstruction(String target, CharSequence data, int locationId, int properties) throws XPathException(Code)(Java Doc) public void setPipelineConfiguration(PipelineConfiguration config)(Code)(Java Doc) public void setSystemId(String systemId)(Code)(Java Doc) public void setUnderlyingReceiver(Receiver receiver)(Code)(Java Doc) public void setUnparsedEntity(String name, String uri, String publicId) throws XPathException(Code)(Java Doc) public void startContent() throws XPathException(Code)(Java Doc) public void startDocument(int properties) throws XPathException(Code)(Java Doc) public void startElement(int nameCode, int typeCode, int locationId, int properties) throws XPathException(Code)(Java Doc)
|
|
|