jodd.lagarto.dom
Class DocumentType

java.lang.Object
  extended by jodd.lagarto.dom.Node
      extended by jodd.lagarto.dom.DocumentType
All Implemented Interfaces:
java.lang.Cloneable

public class DocumentType
extends Node

Document type node.


Nested Class Summary
 
Nested classes/interfaces inherited from class jodd.lagarto.dom.Node
Node.NodeType
 
Field Summary
protected  java.lang.String baseUri
           
protected  java.lang.String publicId
           
 
Fields inherited from class jodd.lagarto.dom.Node
attributes, caseSensitive, childElementNodes, childElementNodesCount, childNodes, deepLevel, nodeName, nodeType, nodeValue, parentNode, siblingElementIndex, siblingIndex, siblingNameIndex
 
Constructor Summary
DocumentType(java.lang.String value, java.lang.String publicId, java.lang.String baseUri)
           
 
Method Summary
 DocumentType clone()
           
 java.lang.String getBaseUri()
           
 java.lang.String getPublicId()
           
 java.lang.String getRootName()
           
 void toHtml(java.lang.Appendable appendable)
          Generates HTML by appending it to the provided Appendable.
 
Methods inherited from class jodd.lagarto.dom.Node
appendChild, appendChild, cloneTo, detachFromParent, getAttribute, getAttribute, getAttributeInstance, getAttributesCount, getChild, getChildElement, getChildElements, getChildElementsCount, getChildElementsCount, getChildNodes, getChildNodesCount, getCssPath, getDeepLevel, getFirstChild, getFirstChildElement, getFirstChildElement, getHtml, getInnerHtml, getLastChild, getLastChildElement, getLastChildElement, getNextSibling, getNextSiblingElement, getNextSiblingName, getNodeName, getNodeType, getNodeValue, getParentNode, getPreviousSibling, getPreviousSiblingElement, getPreviousSiblingName, getSiblingElementIndex, getSiblingIndex, getSiblingNameIndex, getTextContent, hasAttribute, hasAttributes, hasChildNodes, indexOfAttributeInstance, initAttributes, initChildElementNodes, initChildNodes, initSiblingNames, insertAfter, insertBefore, insertChild, isAttributeIncluding, reindexChildren, removeAllChilds, removeAttribute, removeChild, removeChild, setAttribute, setAttribute, setNodeValue, toInnerHtml
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

publicId

protected final java.lang.String publicId

baseUri

protected final java.lang.String baseUri
Constructor Detail

DocumentType

public DocumentType(java.lang.String value,
                    java.lang.String publicId,
                    java.lang.String baseUri)
Method Detail

clone

public DocumentType clone()
Specified by:
clone in class Node

getRootName

public java.lang.String getRootName()

getPublicId

public java.lang.String getPublicId()

getBaseUri

public java.lang.String getBaseUri()

toHtml

public void toHtml(java.lang.Appendable appendable)
            throws java.io.IOException
Description copied from class: Node
Generates HTML by appending it to the provided Appendable.

Overrides:
toHtml in class Node
Throws:
java.io.IOException


Copyright © 2003-2012 Jodd Team