|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.icl.saxon.exslt.Sets
This class implements extension functions in the http://exslt.org/sets namespace.
Constructor Summary | |
Sets()
|
Method Summary | |
static NodeEnumeration |
difference(Context c,
NodeEnumeration p1,
NodeEnumeration p2)
Return the difference of two node-sets |
static NodeEnumeration |
distinct(Context c,
NodeEnumeration in)
Given a node-set, return a subset that includes only nodes with distinct string-values |
static boolean |
hasSameNode(Context c,
NodeEnumeration p1,
NodeEnumeration p2)
Determine whether two node-sets contain at least one node in common |
static NodeEnumeration |
intersection(Context c,
NodeEnumeration p1,
NodeEnumeration p2)
Return the intersection of two node-sets |
static NodeSetValue |
leading(Context c,
NodeEnumeration ns1,
NodeEnumeration ns2)
Find all the nodes in ns1 that are before the first node in ns2. |
static NodeSetValue |
trailing(Context c,
NodeEnumeration ns1,
NodeEnumeration ns2)
Find all the nodes in ns1 that are after the first node in ns2. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Sets()
Method Detail |
public static NodeEnumeration intersection(Context c, NodeEnumeration p1, NodeEnumeration p2) throws XPathException
p1
- The first node-setp2
- The second node-set
XPathException
public static NodeEnumeration difference(Context c, NodeEnumeration p1, NodeEnumeration p2) throws XPathException
p1
- The first node-setp2
- The second node-set
XPathException
public static boolean hasSameNode(Context c, NodeEnumeration p1, NodeEnumeration p2) throws XPathException
p1
- The first node-setp2
- The second node-set
XPathException
public static NodeEnumeration distinct(Context c, NodeEnumeration in) throws XPathException
XPathException
public static NodeSetValue leading(Context c, NodeEnumeration ns1, NodeEnumeration ns2) throws XPathException
XPathException
public static NodeSetValue trailing(Context c, NodeEnumeration ns1, NodeEnumeration ns2) throws XPathException
XPathException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |