|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjd.xml.xpath.object.XObject
jd.xml.xpath.object.XNodeSet
jd.xml.xpath.object.XMutableNodeSet
jd.xml.xpath.object.XListNodeSet
A MutableNodeSet that stores the added nodes in an array.
| Field Summary |
| Fields inherited from class jd.xml.xpath.object.XNodeSet |
ORDER_CONVERTIBLE, ORDER_COUNTED, ORDER_ORDERED, ORDER_SUMMARIZED, ORDER_UNORDERED |
| Fields inherited from class jd.xml.xpath.object.XObject |
TYPE_BOOLEAN, TYPE_NODESET, TYPE_NUMBER, TYPE_STRING, TYPE_VARIABLE, TYPES |
| Constructor Summary | |
XListNodeSet(int ordering,
int capacity)
|
|
| Method Summary | |
void |
addNode(XPathNode node)
Add a node to the nodeset. |
void |
addNodes(XNodeSet nodeSet)
Add another nodeset to this nodeset. |
XPathNode |
getNode(int index)
Get the node for the given index. |
int |
getOrdering()
Return the ordering. |
boolean |
isEmpty()
Return if the nodeset is empty. |
int |
size()
Return the NodeSet size. |
void |
sort()
Sort the nodeset. |
| Methods inherited from class jd.xml.xpath.object.XMutableNodeSet |
merge, mergeMultiDoc, mergeSingleDoc |
| Methods inherited from class jd.xml.xpath.object.XNodeSet |
canConvertTo, compare, compare, compare, compare, compare, compare, compare, contains, contains, getDocId, getNodeSum, getType, indexOf, isOrdered, isOrdered, setDocId, setMultiDocId, toBooleanValue, toNodeSet, toNumberValue, toNumberValue, toString, toStringValue, toStringValue, toValue, toValue |
| Methods inherited from class jd.xml.xpath.object.XObject |
compare, equals, getTypeName, getTypeName, hashCode, toXObject |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public XListNodeSet(int ordering,
int capacity)
| Method Detail |
public int getOrdering()
getOrdering in class XNodeSetpublic int size()
size in class XNodeSetpublic boolean isEmpty()
XNodeSet
isEmpty in class XNodeSetpublic XPathNode getNode(int index)
XNodeSet
getNode in class XNodeSetpublic void addNode(XPathNode node)
addNode in class XMutableNodeSetpublic void addNodes(XNodeSet nodeSet)
XMutableNodeSet
addNodes in class XMutableNodeSetpublic void sort()
sort in class XMutableNodeSet
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||