public class FleetingElementNode extends FleetingParentNode implements FingerprintedNode
rootALL_NAMESPACES, IS_DTD_TYPE, IS_NILLED, LOCAL_NAMESPACES, NO_NAMESPACES| Constructor and Description |
|---|
FleetingElementNode() |
| Modifier and Type | Method and Description |
|---|---|
void |
copy(Receiver out,
int copyOptions,
int locationId)
Copy this node to a given Receiver.
|
String |
getAttributeValue(int fp)
Get the value of the attribute with a given fingerprint.
|
String |
getAttributeValue(String uri,
String local)
Get the string value of a given attribute of this node
|
NamespaceBinding[] |
getDeclaredNamespaces(NamespaceBinding[] buffer)
Get all namespace declarations and undeclarations defined on this element.
|
AxisIterator |
iterateAxis(byte axisNumber,
NodeTest nodeTest)
Return an iteration over all the nodes reached by the given axis from this node
that match a given NodeTest
|
void |
setAttributes(AttributeCollection attributes) |
void |
setLocalNamespaces(NamespaceBinding[] namespaces) |
getPosition, incrementChildCountatomize, compareOrder, comparePosition, generateId, getBaseURI, getColumnNumber, getConfiguration, getDisplayName, getDocumentNumber, getDocumentRoot, getFingerprint, getLineNumber, getLocalPart, getNameCode, getNamePool, getNodeKind, getParent, getPrefix, getRoot, getSchemaType, getStringValue, getStringValueCS, getSystemId, getTypeAnnotation, getURI, hasChildNodes, head, isId, isIdref, isNilled, isSameNodeInfo, iterate, iterateAxis, setNodeKind, setNodeName, setParent, setStringValue, setSystemId, setTypeAnnotationpublic void setLocalNamespaces(NamespaceBinding[] namespaces)
public void setAttributes(AttributeCollection attributes)
public void copy(Receiver out, int copyOptions, int locationId) throws XPathException
copy in interface NodeInfocopy in class FleetingNodeout - 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 - a selection of the options defined in CopyOptionslocationId - If non-zero, identifies the location of the instruction
that requested this copy. If zero, indicates that the location information
for the original node is to be copied; in this case the Receiver must beUnsupportedOperationException - (always)XPathException - if any downstream error occurspublic AxisIterator iterateAxis(byte axisNumber, NodeTest nodeTest)
iterateAxis in interface NodeInfoiterateAxis in class FleetingNodeaxisNumber - an integer identifying the axis; one of the constants
defined in class AxisInfonodeTest - A condition to be satisfied by the returned nodes; nodes
that do not satisfy this condition are not included in the resultUnsupportedOperationException - if the namespace axis is
requested and this axis is not supported for this implementation.AxisInfopublic NamespaceBinding[] getDeclaredNamespaces(NamespaceBinding[] buffer)
iterateAxis(Axis.NAMESPACE).
(However, not all implementations support the namespace axis, whereas all implementations are
required to support this method.)getDeclaredNamespaces in interface NodeInfogetDeclaredNamespaces in class FleetingNodebuffer - 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.For a node other than an element, the method returns null.
public String getAttributeValue(String uri, String local)
getAttributeValue in interface NodeInfogetAttributeValue in class FleetingNodeuri - 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 String getAttributeValue(int fp)
getAttributeValue in interface FingerprintedNodefp - the fingerprint of the required attributeCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.