public abstract class TinyParentNodeImpl extends TinyNodeImpl
NODE_LETTER, nodeNr, parent, treeIS_DTD_TYPE, IS_NILLED| 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.
|
java.lang.CharSequence |
getStringValueCS()
Get the value of the item as a CharSequence.
|
static java.lang.CharSequence |
getStringValueCS(TinyTree tree,
int nodeNr)
Get the string value of a node.
|
boolean |
hasChildNodes()
Determine if the node has children.
|
compareOrder, equals, generateId, getAllNamespaces, getAttributeValue, getBaseURI, getColumnNumber, getConfiguration, getDeclaredNamespaces, getDisplayName, getFingerprint, getGenre, getLineNumber, getLocalPart, getNamePool, getNodeNumber, getParent, getPrefix, getRoot, getSchemaType, getSequenceNumber, getSystemId, getTree, getTreeInfo, getURI, hasFingerprint, hashCode, head, isAncestorOrSelf, isId, isIdref, isNilled, isSameNodeInfo, isStreamed, iterateAxis, iterateAxis, saveLocation, setParentNode, setSystemIdclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitatomize, attributes, children, children, copy, getNodeKind, getPublicId, toShortStringgetLength, itemAt, iterate, reduce, subsequence, toGroundedValueasIterable, concatenate, containsNode, effectiveBooleanValue, materializemakeRepeatablepublic boolean hasChildNodes()
hasChildNodes in interface NodeInfohasChildNodes in class TinyNodeImpltrue if this node has any attributes,
false otherwise.public java.lang.String getStringValue()
Item.getStringValueCS()public java.lang.CharSequence getStringValueCS()
getStringValueCS in interface GroundedValuegetStringValueCS in interface ItemgetStringValueCS in class TinyNodeImplItem.getStringValue()public static java.lang.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-2021 Saxonica Limited. All rights reserved.