public class HTMLDocumentImpl
extends java.lang.Object
implements java.lang.Cloneable
| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | nbspThe Constant nbsp. | 
| Constructor and Description | 
|---|
| HTMLDocumentImpl()Deprecated. 
 use HTMLDocumentImpl(DTSContainer dts) instead | 
| HTMLDocumentImpl(DTSContainer dts)Create a new HTMLDocumentImpl for the provided and configured DTSContainer. | 
| Modifier and Type | Method and Description | 
|---|---|
| net.sf.saxon.tree.linked.CommentImpl | addComment(net.sf.saxon.tree.linked.CommentImpl commentNode)Adds a node comment to the document. | 
| net.sf.saxon.tree.linked.CommentImpl | addComment(java.lang.String commentValue)Adds a comment to the document. | 
| void | clear()Clear. | 
| HTMLDocumentImpl | clone()Clone. | 
| void | delete()Deletes the document node. | 
| boolean | equals(java.lang.Object other)Equals. | 
| java.lang.String | getBaseURI()Obtains the document base URI. | 
| DTSContainer | getContainer()Gets the container. | 
| net.sf.saxon.tree.linked.DocumentImpl | getDocumentImpl()Obtains the mutable saxonica document node. | 
| ElemHtml | getElemHtml()Obtains the document element mutable node. | 
| java.lang.String | getSystemId()Obtains the document system id. | 
| int | hashCode()Hash code. | 
| boolean | isSameNodeInfo(HTMLDocumentImpl ni)Determine whether this is the same node as another node. | 
| void | save()Saves the document. | 
| void | save(java.io.OutputStream os)Writes the HTML doc to OutputStream. | 
| void | setBaseURI(java.lang.String uri)Set the base URI of this document node. | 
| void | setSystemId(java.lang.String uri)Set the system id (base URI) of this node. | 
| java.lang.String | toString()To string. | 
| static java.lang.String | validateXhtml(java.lang.String htmlText)Validate xhtml. | 
public HTMLDocumentImpl()
public HTMLDocumentImpl(DTSContainer dts)
dts - the dtspublic net.sf.saxon.tree.linked.CommentImpl addComment(net.sf.saxon.tree.linked.CommentImpl commentNode)
commentNode - the comment novepublic net.sf.saxon.tree.linked.CommentImpl addComment(java.lang.String commentValue)
commentValue - the comment valuepublic void clear()
           throws java.lang.Throwable
java.lang.Throwable - the throwablepublic HTMLDocumentImpl clone()
clone in class java.lang.Objectpublic void delete()
public boolean equals(java.lang.Object other)
equals in class java.lang.Objectother - the otherpublic java.lang.String getBaseURI()
public DTSContainer getContainer()
public net.sf.saxon.tree.linked.DocumentImpl getDocumentImpl()
public ElemHtml getElemHtml()
public java.lang.String getSystemId()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean isSameNodeInfo(HTMLDocumentImpl ni)
ni - the nipublic void save(java.io.OutputStream os)
          throws java.io.IOException
os - the OutputStream where the document will be writtenjava.io.IOException - Signals that an I/O exception has occurred.public void save()
          throws java.io.IOException
java.io.IOException - Signals that an I/O exception has occurred.public void setBaseURI(java.lang.String uri)
uri - the new base URIpublic void setSystemId(java.lang.String uri)
uri - the new system idpublic java.lang.String toString()
toString in class java.lang.Objectpublic static java.lang.String validateXhtml(java.lang.String htmlText)
htmlText - the html textCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa