|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents a node value. May either be an in-memory node or a persistent node.
Field Summary | |
static int |
IN_MEMORY_NODE
Node is a constructed in-memory node |
static int |
PERSISTENT_NODE
Node is a persistent, i.e. |
Fields inherited from interface org.exist.xquery.value.Sequence |
EMPTY_SEQUENCE |
Method Summary | |
void |
addContextNode(int contextId,
NodeValue node)
|
boolean |
after(NodeValue other,
boolean isFollowing)
Returns true if this node comes after another node in document order. |
boolean |
before(NodeValue other,
boolean isPreceding)
Returns true if this node comes before another node in document order. |
boolean |
equals(NodeValue other)
Returns true if this node has the same identity as another node. |
int |
getImplementationType()
Returns the implementation-type of this node, i.e. |
org.w3c.dom.Node |
getNode()
|
org.w3c.dom.Document |
getOwnerDocument()
|
Methods inherited from interface org.exist.xquery.value.Item |
atomize, conversionPreference, convertTo, copyTo, getStringValue, getType, toJavaObject, toSAX, toSequence |
Methods inherited from interface org.exist.xquery.value.Sequence |
add, addAll, clearContext, conversionPreference, convertTo, effectiveBooleanValue, getCardinality, getDocumentSet, getItemType, getLength, getStringValue, hasMany, hasOne, isCached, isEmpty, isPersistentSet, itemAt, iterate, removeDuplicates, setIsCached, setSelfAsContext, toJavaObject, toNodeSet, unorderedIterator |
Field Detail |
public static final int IN_MEMORY_NODE
public static final int PERSISTENT_NODE
Method Detail |
public boolean equals(NodeValue other) throws XPathException
other
-
XPathException
public boolean before(NodeValue other, boolean isPreceding) throws XPathException
other
-
XPathException
public boolean after(NodeValue other, boolean isFollowing) throws XPathException
other
-
XPathException
public int getImplementationType()
IN_MEMORY_NODE
or PERSISTENT_NODE
.
public void addContextNode(int contextId, NodeValue node)
public org.w3c.dom.Node getNode()
public org.w3c.dom.Document getOwnerDocument()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |