| |
|
| java.lang.Object org.enhydra.xml.io.ExtBaseDOMFormatter org.enhydra.xml.io.ExtHTMLFormatter
Constructor Summary | |
public | ExtHTMLFormatter(Node node, OutputOptions outputOptions, boolean forPreFormatting) Constructor. |
ExtHTMLFormatter | public ExtHTMLFormatter(Node node, OutputOptions outputOptions, boolean forPreFormatting)(Code) | | Constructor.
|
getDefaultOutputOptions | static OutputOptions getDefaultOutputOptions()(Code) | | Get the default OutputOptions for a document formatter with this
formatter. The encoding will not be set, which signals to use the
default encoding.
|
getFormatter | public static Formatter getFormatter(Node node, OutputOptions outputOptions, boolean forPreFormatting)(Code) | | |
handleAttr | public void handleAttr(Attr attr) throws IOException(Code) | | Handler called for Attr nodes.
See Also: org.enhydra.xml.dom.DOMTraversal.Handler.handleAttr |
handleCDATASection | public void handleCDATASection(CDATASection cdata) throws IOException(Code) | | Handler called for CDATASection nodes.
Non-standard extension: outputs data as-is.
See Also: org.enhydra.xml.dom.DOMTraversal.Handler.handleCDATASection |
handleDocument | public void handleDocument(Document document) throws IOException(Code) | | Handler called for Document nodes.
See Also: org.enhydra.xml.dom.DOMTraversal.Handler.handleDocument |
handleDocumentFragment | public void handleDocumentFragment(DocumentFragment documentFragment)(Code) | | Handler called for DocumentFragment nodes; just process children.
See Also: org.enhydra.xml.dom.DOMTraversal.Handler.handleDocumentFragment |
handleDocumentType | public void handleDocumentType(DocumentType documentType) throws IOException(Code) | | Handler called for Document nodes; should never be called.
See Also: org.enhydra.xml.dom.DOMTraversal.Handler.handleDocumentType |
handleElement | public void handleElement(Element element) throws IOException(Code) | | Handler called for Element nodes.
This optionally corrects problem cases for browsers:
- ID attributes are dropped from SPAN tags. This cause Internet
Explorer 4.0 to get confused on keep-alive connections.
See Also: org.enhydra.xml.dom.DOMTraversal.Handler.handleElement |
handleProcessingInstruction | public void handleProcessingInstruction(ProcessingInstruction pi) throws IOException(Code) | | Handler called for ProcessingInstruction nodes.
See Also: org.enhydra.xml.dom.DOMTraversal.Handler.handleProcessingInstruction |
handleText | final public void handleText(Text text) throws IOException(Code) | | Handler called for Text nodes.
See Also: org.enhydra.xml.dom.DOMTraversal.Handler.handleText |
writeOpenTag | final protected void writeOpenTag(Element element, String tagName, boolean hasChildren) throws IOException(Code) | | Write an element open tag. The hasChildren option is ignored.
|
|
|
|