|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.saxon.exslt.Sets
public abstract class Sets
This class implements extension functions in the http://exslt.org/sets namespace.
Method Summary | |
---|---|
static SequenceIterator |
difference(SequenceIterator p1,
SequenceIterator p2)
Return the difference of two node-sets |
static boolean |
hasSameNode(SequenceIterator p1,
SequenceIterator p2)
Determine whether two node-sets contain at least one node in common |
static SequenceIterator |
intersection(SequenceIterator p1,
SequenceIterator p2)
Return the intersection of two node-sets |
static SequenceIterator |
leading(XPathContext context,
SequenceIterator ns1,
SequenceIterator ns2)
Find all the nodes in ns1 that are before the first node in ns2. |
static SequenceIterator |
trailing(XPathContext c,
SequenceIterator ns1,
SequenceIterator ns2)
Find all the nodes in ns1 that are after the first node in ns2. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static SequenceIterator intersection(SequenceIterator p1, SequenceIterator p2) throws XPathException
p1
- The first node-setp2
- The second node-set
XPathException
public static SequenceIterator difference(SequenceIterator p1, SequenceIterator p2) throws XPathException
p1
- The first node-setp2
- The second node-set
XPathException
public static boolean hasSameNode(SequenceIterator p1, SequenceIterator p2) throws XPathException
p1
- The first node-setp2
- The second node-set
XPathException
public static SequenceIterator leading(XPathContext context, SequenceIterator ns1, SequenceIterator ns2) throws XPathException
XPathException
public static SequenceIterator trailing(XPathContext c, SequenceIterator ns1, SequenceIterator ns2) throws XPathException
XPathException
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |