Package cdc.util.data
Class Text
- java.lang.Object
-
- cdc.util.data.AbstractChild
-
- cdc.util.data.AbstractContentNode
-
- cdc.util.data.Text
-
public final class Text extends AbstractContentNode
Text node.It has a text content and can be attached to a Document or Element.
- Author:
- Damien Carbonne
-
-
Field Summary
-
Fields inherited from interface cdc.util.data.Node
ANY_NODE, ELEMENT_NAME_AND_ATTRIBUTES_COMPARATOR, ELEMENT_NAME_COMPARATOR, IS_COMMENT, IS_ELEMENT, IS_IGNORABLE_TEXT, IS_PURE_ELEMENT, IS_TEXT
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Textclone(boolean recurse)Return a clone of this node.StringgetQName()NodeTypegetType()booleanisIgnorable()-
Methods inherited from class cdc.util.data.AbstractContentNode
appendContent, appendContent, appendContent, clearContent, deepEquals, getContent, setContent
-
Methods inherited from class cdc.util.data.AbstractChild
equals, getDocument, getParent, getRootElement, hashCode, resetParent, setParent, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface cdc.util.data.Child
detach, getIndex, getParent, getParent, getRootChild, setIndex, setParent
-
Methods inherited from interface cdc.util.data.Node
getDocument, getRootElement
-
-
-
-
Method Detail
-
getType
public NodeType getType()
- Returns:
- The node type.
-
clone
public Text clone(boolean recurse)
Description copied from interface:NodeReturn a clone of this node.
-
getQName
public String getQName()
- Returns:
- A string representation of this node. May be used for debug.
-
isIgnorable
public boolean isIgnorable()
-
-