jodd.lagarto.dom
Class Document

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

public class Document
extends Node

Document node is always a root node.


Nested Class Summary
 
Nested classes/interfaces inherited from class jodd.lagarto.dom.Node
Node.NodeType
 
Field Summary
protected  java.util.List<java.lang.String> errors
           
 
Fields inherited from class jodd.lagarto.dom.Node
attributes, caseSensitive, childElementNodes, childElementNodesCount, childNodes, deepLevel, nodeName, nodeType, nodeValue, parentNode, siblingElementIndex, siblingIndex, siblingNameIndex
 
Constructor Summary
Document()
           
 
Method Summary
 Document clone()
           
 java.util.List<java.lang.String> getErrors()
          Returns list of errors occurred during parsing.
 
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, toHtml, toInnerHtml
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

errors

protected java.util.List<java.lang.String> errors
Constructor Detail

Document

public Document()
Method Detail

clone

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

getErrors

public java.util.List<java.lang.String> getErrors()
Returns list of errors occurred during parsing. Returns null if parsing was successful; or if errors are not collected.



Copyright © 2003-2012 Jodd Team