public class GraftedElement extends TinyElementImpl
NODE_LETTER, nodeNr, parent, treeIS_DTD_TYPE, IS_NILLED| Constructor and Description |
|---|
GraftedElement(TinyTree tree,
int nodeNr,
NodeInfo externalNode,
boolean copyNamespaces) |
| Modifier and Type | Method and Description |
|---|---|
AtomicSequence |
atomize()
Get the typed value.
|
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 |
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.
|
boolean |
hasChildNodes()
Determine if the node has children.
|
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
|
checkNotNamespaceSensitiveElement, getAttributeValue, getBaseURI, getDeclaredNamespaces, getDeclaredNamespaces, getNodeKind, getSchemaType, getURIForPrefix, isId, isIdrefgetStringValueCScompareOrder, equals, generateId, getColumnNumber, getConfiguration, getDisplayName, getFingerprint, getGenre, getLineNumber, getLocalPart, getNamePool, getNodeNumber, getParent, getPrefix, getRoot, getSequenceNumber, getSystemId, getTree, getTreeInfo, getURI, hasFingerprint, hashCode, head, isAncestorOrSelf, isNilled, isSameNodeInfo, isStreamed, iterate, saveLocation, setParentNode, setSystemIdclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetPublicId, toShortStringasArgumentArray, getLength, itemAt, iterator, reduce, subsequenceasIterable, effectiveBooleanValue, materializemakeRepeatablepublic 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 GroundedValuegetStringValueCS in interface ItemgetStringValueCS in class TinyParentNodeImplItem.getStringValue()public java.lang.String getStringValue()
TinyParentNodeImplgetStringValue in interface GroundedValuegetStringValue in interface ItemgetStringValue in interface NodeInfogetStringValue in class TinyParentNodeImplItem.getStringValueCS()public AtomicSequence atomize() throws XPathException
TinyElementImplatomize in interface Itematomize in interface NodeInfoatomize in class TinyElementImplXPathException - if the node has no typed value, for example if
it is an element node with element-only contentpublic 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 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 java.lang.String getAttributeValue(int fp)
getAttributeValue in class TinyElementImplfp - the fingerprint of the required attributeCopyright (c) 2004-2018 Saxonica Limited. All rights reserved.