public class TinyTextualElement extends TinyElementImpl
| Modifier and Type | Class and Description |
|---|---|
class |
TinyTextualElement.TinyTextualElementText
Inner class representing the text node; this is created on demand
|
NODE_LETTER, nodeNr, parent, treeIS_DTD_TYPE, IS_NILLED| Constructor and Description |
|---|
TinyTextualElement(TinyTree tree,
int nodeNr) |
| Modifier and Type | Method and Description |
|---|---|
void |
copy(Receiver receiver,
int copyOptions,
Location location)
Copy this node to a given receiver
|
java.lang.String |
getAttributeValue(int fp)
Get the value of the attribute with a given fingerprint.
|
java.lang.String |
getAttributeValue(java.lang.String uri,
java.lang.String local)
Get the string value of a given attribute of this node
|
NamespaceBinding[] |
getDeclaredNamespaces(NamespaceBinding[] buffer)
Get all namespace undeclarations and undeclarations defined on this element.
|
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.
|
TinyTextualElement.TinyTextualElementText |
getTextNode()
Make an instance of the text node
|
boolean |
hasChildNodes()
Determine if the node has children.
|
boolean |
isAncestorOrSelf(TinyNodeImpl d)
Test if this node is an ancestor-or-self of another
|
AxisIterator |
iterateAxis(byte axisNumber)
Return an iterator over all the nodes reached by the given axis from this node
|
AxisIterator |
iterateAxis(byte axisNumber,
NodeTest nodeTest)
Return an iterator over the nodes reached by the given axis from this node
|
atomize, checkNotNamespaceSensitiveElement, getBaseURI, getDeclaredNamespaces, getNodeKind, getSchemaType, getURIForPrefix, hasUniformNamespaces, isId, isIdrefgetStringValueCScompareOrder, equals, generateId, getColumnNumber, getConfiguration, getDisplayName, getFingerprint, getGenre, getLineNumber, getLocalPart, getNamePool, getNodeNumber, getParent, getPrefix, getRoot, getSequenceNumber, getSystemId, getTree, getTreeInfo, getURI, hasFingerprint, hashCode, head, isNilled, isSameNodeInfo, isStreamed, iterate, saveLocation, setParentNode, setSystemIdclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetPublicId, toShortStringgetLength, itemAt, iterator, reduce, subsequence, toGroundedValueasIterable, effectiveBooleanValue, materializemakeRepeatablepublic TinyTextualElement(TinyTree tree, int nodeNr)
public NamespaceBinding[] getDeclaredNamespaces(NamespaceBinding[] buffer)
TinyElementImplgetDeclaredNamespaces in interface NodeInfogetDeclaredNamespaces in class TinyElementImplbuffer - If this is non-null, and the result array fits in this buffer, then the result
may overwrite the contents of this array, to avoid the cost of allocating a new array on the heap.public java.lang.String getAttributeValue(java.lang.String uri,
java.lang.String local)
TinyElementImplgetAttributeValue in interface NodeInfogetAttributeValue in class TinyElementImpluri - the namespace URI of the attribute name. Supply the empty string for an attribute
that is in no namespacelocal - the local part of the attribute name.public java.lang.String getAttributeValue(int fp)
TinyElementImplgetAttributeValue in class TinyElementImplfp - the fingerprint of the required attributepublic void copy(Receiver receiver, int copyOptions, Location location) throws XPathException
TinyElementImplcopy in interface NodeInfocopy in class TinyElementImplreceiver - the Receiver to which the node should be copied. It is the caller's
responsibility to ensure that this Receiver is open before the method is called
(or that it is self-opening), and that it is closed after use.copyOptions - determines handling of namespaces, etclocation - location information associated with the eventXPathException - if any downstream error occurspublic boolean hasChildNodes()
TinyParentNodeImplhasChildNodes in interface NodeInfohasChildNodes in class TinyParentNodeImpltrue if this node has any attributes,
false otherwise.public java.lang.CharSequence getStringValueCS()
TinyParentNodeImplgetStringValueCS in interface GroundedValue<NodeInfo>getStringValueCS in interface Item<NodeInfo>getStringValueCS in class TinyParentNodeImplItem.getStringValue()public java.lang.String getStringValue()
TinyParentNodeImplgetStringValue in interface GroundedValue<NodeInfo>getStringValue in interface Item<NodeInfo>getStringValue in interface NodeInfogetStringValue in class TinyParentNodeImplItem.getStringValueCS()public AxisIterator iterateAxis(byte axisNumber)
TinyNodeImpliterateAxis in interface NodeInfoiterateAxis in class TinyNodeImplaxisNumber - Identifies the required axis, eg. Axis.CHILD or Axis.PARENTAxisInfopublic AxisIterator iterateAxis(byte axisNumber, NodeTest nodeTest)
TinyNodeImpliterateAxis in interface NodeInfoiterateAxis in class TinyNodeImplaxisNumber - Identifies the required axis, eg. Axis.CHILD or Axis.PARENTnodeTest - A pattern to be matched by the returned nodes.AxisInfopublic boolean isAncestorOrSelf(TinyNodeImpl d)
TinyNodeImplisAncestorOrSelf in class TinyNodeImpld - the putative descendant-or-self nodepublic TinyTextualElement.TinyTextualElementText getTextNode()
Copyright (c) 2004-2020 Saxonica Limited. All rights reserved.