abstract class TinyParentNodeImpl extends TinyNodeImpl
NODE_LETTER, nodeNr, parent, treeALL_NAMESPACES, EMPTY_NAMESPACE_LIST, IS_DTD_TYPE, IS_NILLED, LOCAL_NAMESPACES, NO_NAMESPACES| Constructor and Description |
|---|
TinyParentNodeImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getStringValue()
Return the string-value of the node, that is, the concatenation
of the character content of all descendent elements and text nodes.
|
static java.lang.CharSequence |
getStringValue(TinyTree tree,
int nodeNr)
Get the string value of a node.
|
java.lang.CharSequence |
getStringValueCS()
Get the value of the item as a CharSequence.
|
boolean |
hasChildNodes()
Determine if the node has children.
|
atomize, compareOrder, equals, generateId, getAttributeValue, getBaseURI, getColumnNumber, getConfiguration, getDeclaredNamespaces, getDisplayName, getDocumentNumber, getDocumentRoot, getFingerprint, getLineNumber, getLocalPart, getNameCode, getNamePool, getNodeNumber, getParent, getParentNodeNr, getPrefix, getPublicId, getRoot, getSequenceNumber, getSystemId, getTypeAnnotation, getTypedValue, getURI, hashCode, isAncestorOrSelf, isId, isIdref, isNilled, isSameNodeInfo, iterateAxis, iterateAxis, sendNamespaceDeclarations, setParentNode, setSystemIdclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitcopy, getNodeKindpublic final boolean hasChildNodes()
hasChildNodes in interface NodeInfohasChildNodes in class TinyNodeImpltrue if this node has any attributes,
false otherwise.public final java.lang.String getStringValue()
Item.getStringValueCS()public java.lang.CharSequence getStringValueCS()
getStringValueCS in interface ItemgetStringValueCS in interface ValueRepresentationgetStringValueCS in class TinyNodeImplItem.getStringValue()public static final java.lang.CharSequence getStringValue(TinyTree tree, int nodeNr)
tree - The containing documentnodeNr - identifies the node whose string value is required. This must be a
document or element node. The caller is trusted to ensure this.