public abstract class TinyParentNodeImpl extends TinyNodeImpl
NODE_LETTER, nodeNr, parent, tree
ALL_NAMESPACES, IS_DTD_TYPE, IS_NILLED, LOCAL_NAMESPACES, NO_NAMESPACES
Constructor and Description |
---|
TinyParentNodeImpl() |
Modifier and Type | Method and Description |
---|---|
String |
getStringValue()
Return the string-value of the node, that is, the concatenation
of the character content of all descendent elements and text nodes.
|
CharSequence |
getStringValueCS()
Get the value of the item as a CharSequence.
|
static CharSequence |
getStringValueCS(TinyTree tree,
int nodeNr)
Get the string value of a node.
|
boolean |
hasChildNodes()
Determine if the node has children.
|
compareOrder, comparePosition, equals, generateId, getAttributeValue, getAttributeValue, getBaseURI, getColumnNumber, getConfiguration, getDeclaredNamespaces, getDisplayName, getFingerprint, getLineNumber, getLocalPart, getNameCode, getNamePool, getNodeNumber, getParent, getPrefix, getPublicId, getRoot, getSchemaType, getSequenceNumber, getSystemId, getTree, getTreeInfo, getURI, hashCode, head, isAncestorOrSelf, isId, isIdref, isNilled, isSameNodeInfo, iterate, iterateAxis, iterateAxis, saveLocation, setParentNode, setSystemId
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
atomize, copy, getNodeKind
public final boolean hasChildNodes()
hasChildNodes
in interface NodeInfo
hasChildNodes
in class TinyNodeImpl
true
if this node has any attributes,
false
otherwise.public final String getStringValue()
Item.getStringValueCS()
public final CharSequence getStringValueCS()
getStringValueCS
in interface Item
getStringValueCS
in class TinyNodeImpl
Item.getStringValue()
public static CharSequence getStringValueCS(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.Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.