org.exist.memtree
Class InMemoryNodeSet
java.lang.Object
org.exist.xquery.value.AbstractSequence
org.exist.xquery.value.ValueSequence
org.exist.memtree.InMemoryNodeSet
- All Implemented Interfaces:
- MemoryNodeSet, Sequence
public class InMemoryNodeSet
- extends ValueSequence
Methods inherited from class org.exist.xquery.value.ValueSequence |
add, addAll, clear, clearContext, get, getCollectionIterator, getDocumentSet, getFollowing, getHashKey, getItemCount, getItemType, getPreceding, getState, hasChanged, hasOne, isCacheable, isEmpty, isInMemorySet, isOrdered, isPersistentSet, itemAt, iterate, nodeMoved, removeDuplicates, selectChildren, selectDescendants, setHolderVariable, setIsOrdered, size, sortInDocumentOrder, toMemNodeSet, toNodeSet, toString, unorderedIterator |
EMPTY
public static final InMemoryNodeSet EMPTY
InMemoryNodeSet
public InMemoryNodeSet()
InMemoryNodeSet
public InMemoryNodeSet(int initialSize)
InMemoryNodeSet
public InMemoryNodeSet(Sequence otherSequence)
throws XPathException
- Throws:
XPathException
getAttributes
public Sequence getAttributes(NodeTest test)
throws XPathException
- Specified by:
getAttributes
in interface MemoryNodeSet
- Overrides:
getAttributes
in class ValueSequence
- Throws:
XPathException
getDescendantAttributes
public Sequence getDescendantAttributes(NodeTest test)
throws XPathException
- Specified by:
getDescendantAttributes
in interface MemoryNodeSet
- Overrides:
getDescendantAttributes
in class ValueSequence
- Throws:
XPathException
getChildren
public Sequence getChildren(NodeTest test)
throws XPathException
- Specified by:
getChildren
in interface MemoryNodeSet
- Overrides:
getChildren
in class ValueSequence
- Throws:
XPathException
getChildrenForParent
public Sequence getChildrenForParent(NodeImpl parent)
- Specified by:
getChildrenForParent
in interface MemoryNodeSet
- Overrides:
getChildrenForParent
in class ValueSequence
getDescendants
public Sequence getDescendants(boolean includeSelf,
NodeTest test)
throws XPathException
- Specified by:
getDescendants
in interface MemoryNodeSet
- Overrides:
getDescendants
in class ValueSequence
- Throws:
XPathException
getAncestors
public Sequence getAncestors(boolean includeSelf,
NodeTest test)
throws XPathException
- Specified by:
getAncestors
in interface MemoryNodeSet
- Overrides:
getAncestors
in class ValueSequence
- Throws:
XPathException
getParents
public Sequence getParents(NodeTest test)
throws XPathException
- Specified by:
getParents
in interface MemoryNodeSet
- Overrides:
getParents
in class ValueSequence
- Throws:
XPathException
getSelf
public Sequence getSelf(NodeTest test)
throws XPathException
- Specified by:
getSelf
in interface MemoryNodeSet
- Overrides:
getSelf
in class ValueSequence
- Throws:
XPathException
getPrecedingSiblings
public Sequence getPrecedingSiblings(NodeTest test)
throws XPathException
- Specified by:
getPrecedingSiblings
in interface MemoryNodeSet
- Overrides:
getPrecedingSiblings
in class ValueSequence
- Throws:
XPathException
getFollowingSiblings
public Sequence getFollowingSiblings(NodeTest test)
throws XPathException
- Specified by:
getFollowingSiblings
in interface MemoryNodeSet
- Overrides:
getFollowingSiblings
in class ValueSequence
- Throws:
XPathException
Copyright (C) Wolfgang Meier. All rights reserved.