javax.xml.transform.Source, javax.xml.transform.SourceLocator, PullEvent, FingerprintedNode, Item<NodeInfo>, NodeInfo, ValueRepresentation<NodeInfo>TinyDocumentImpl, TinyElementImplpublic abstract class TinyParentNodeImpl extends TinyNodeImpl
ALL_NAMESPACES, IS_DTD_TYPE, IS_NILLED, LOCAL_NAMESPACES, NO_NAMESPACESNODE_LETTER, nodeNr, parent, treeEMPTY_VALUE_ARRAY| Constructor | Description |
|---|---|
TinyParentNodeImpl() |
| Modifier and Type | Method | 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.
|
getTypedValueatomize, copy, getNodeKindclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitcompareOrder, equals, generateId, getAttributeValue, getAttributeValue, getBaseURI, getColumnNumber, getConfiguration, getDeclaredNamespaces, getDisplayName, getDocumentNumber, getDocumentRoot, getFingerprint, getLineNumber, getLocalPart, getNameCode, getNamePool, getNodeNumber, getParent, getParentNodeNr, getPrefix, getPublicId, getRoot, getSchemaType, getSequenceNumber, getSystemId, getTree, getTypeAnnotation, getURI, hashCode, isAncestorOrSelf, isId, isIdref, isNilled, isSameNodeInfo, iterateAxis, iterateAxis, setParentNode, setSystemIdpublic 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 final java.lang.CharSequence getStringValueCS()
getStringValueCS in interface Item<NodeInfo>getStringValueCS in interface ValueRepresentation<NodeInfo>getStringValueCS 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.