|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exist.xquery.value.AbstractSequence
org.exist.dom.AbstractNodeSet
org.exist.dom.AVLTreeNodeSet
| Field Summary |
| Fields inherited from class org.exist.dom.AbstractNodeSet |
hasMixedContent, hasTextIndex, indexType, LOG |
| Fields inherited from interface org.exist.dom.NodeSet |
ANCESTOR, DESCENDANT, EMPTY_SET, FOLLOWING, PRECEDING |
| Fields inherited from interface org.exist.xquery.value.Sequence |
EMPTY_SEQUENCE |
| Constructor Summary | |
AVLTreeNodeSet()
|
|
| Method Summary | |
void |
add(NodeProxy proxy)
Add a new proxy object to the node set. |
void |
addAll(NodeSet other)
Add all nodes from the given node set. |
boolean |
contains(DocumentImpl doc,
long nodeId)
|
boolean |
contains(NodeProxy proxy)
Check if this node set contains a node matching the document and node-id of the given NodeProxy object. |
boolean |
containsDoc(DocumentImpl doc)
Check if this node set contains nodes belonging to the given document. |
NodeProxy |
get(DocumentImpl doc,
long nodeId)
Get a node from this node set matching the document and node id. |
NodeProxy |
get(int pos)
Get the node at position pos within this node set. |
NodeProxy |
get(NodeProxy p)
Get a node from this node set matching the document and node id of the given NodeProxy. |
int |
getLength()
Return the number of nodes contained in this node set. |
org.exist.dom.AVLTreeNodeSet.Node |
getMaxNode()
|
org.exist.dom.AVLTreeNodeSet.Node |
getMinNode()
|
org.w3c.dom.Node |
item(int pos)
|
Item |
itemAt(int pos)
Returns the item located at the specified position within this sequence. |
SequenceIterator |
iterate()
Returns an iterator over all items in the sequence. |
NodeSetIterator |
iterator()
Return an iterator on the nodes in this list. |
void |
remove(NodeProxy node)
Remove a node. |
void |
removeNode(org.exist.dom.AVLTreeNodeSet.Node node)
|
org.exist.dom.AVLTreeNodeSet.Node |
searchData(NodeProxy proxy)
|
java.lang.String |
toString()
|
SequenceIterator |
unorderedIterator()
Returns an iterator over all items in the sequence. |
| Methods inherited from class org.exist.xquery.value.AbstractSequence |
conversionPreference, convertTo, effectiveBooleanValue, getCardinality, getStringValue, setSelfAsContext, toJavaObject |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.exist.xquery.value.Sequence |
conversionPreference, convertTo, effectiveBooleanValue, getCardinality, getStringValue, setSelfAsContext, toJavaObject |
| Constructor Detail |
public AVLTreeNodeSet()
| Method Detail |
public SequenceIterator iterate()
Sequence
iterate in interface Sequenceiterate in class AbstractNodeSetpublic SequenceIterator unorderedIterator()
Sequence
unorderedIterator in interface SequenceunorderedIterator in class AbstractNodeSetpublic void addAll(NodeSet other)
AbstractNodeSet
addAll in interface NodeSetaddAll in class AbstractNodeSetother - public int getLength()
AbstractNodeSet
getLength in interface NodeSetgetLength in class AbstractNodeSetpublic org.w3c.dom.Node item(int pos)
item in interface org.w3c.dom.NodeListitem in class AbstractNodeSetpublic NodeProxy get(int pos)
AbstractNodeSet
get in interface NodeSetget in class AbstractNodeSetpos -
public final NodeProxy get(NodeProxy p)
AbstractNodeSet
get in interface NodeSetget in class AbstractNodeSetp -
public Item itemAt(int pos)
Sequence
itemAt in interface SequenceitemAt in class AbstractSequencepublic final void add(NodeProxy proxy)
AbstractNodeSet
add in interface NodeSetadd in class AbstractNodeSetproxy - public org.exist.dom.AVLTreeNodeSet.Node getMinNode()
public org.exist.dom.AVLTreeNodeSet.Node getMaxNode()
public final org.exist.dom.AVLTreeNodeSet.Node searchData(NodeProxy proxy)
public final NodeProxy get(DocumentImpl doc,
long nodeId)
AbstractNodeSet
get in interface NodeSetget in class AbstractNodeSetdoc - nodeId -
public final boolean containsDoc(DocumentImpl doc)
AbstractNodeSet
containsDoc in interface NodeSetcontainsDoc in class AbstractNodeSetdoc -
public final boolean contains(NodeProxy proxy)
AbstractNodeSet
contains in interface NodeSetcontains in class AbstractNodeSetproxy -
public final boolean contains(DocumentImpl doc,
long nodeId)
public void remove(NodeProxy node)
AbstractNodeSet
remove in class AbstractNodeSetnode - public void removeNode(org.exist.dom.AVLTreeNodeSet.Node node)
public NodeSetIterator iterator()
AbstractNodeSet
iterator in interface NodeSetiterator in class AbstractNodeSetpublic java.lang.String toString()
toString in class AbstractNodeSet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||