|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xalan.lib.ExsltBase org.apache.xalan.lib.ExsltSets
public class ExsltSets
This class contains EXSLT set extension functions. It is accessed by specifying a namespace URI as follows:
xmlns:set="http://exslt.org/sets"The documentation for each function has been copied from the relevant EXSLT Implementer page.
Constructor Summary | |
---|---|
ExsltSets()
|
Method Summary | |
---|---|
static org.w3c.dom.NodeList |
difference(org.w3c.dom.NodeList nl1,
org.w3c.dom.NodeList nl2)
The set:difference function returns the difference between two node sets - those nodes that are in the node set passed as the first argument that are not in the node set passed as the second argument. |
static org.w3c.dom.NodeList |
distinct(org.w3c.dom.NodeList nl)
The set:distinct function returns a subset of the nodes contained in the node-set NS passed as the first argument. |
static boolean |
hasSameNode(org.w3c.dom.NodeList nl1,
org.w3c.dom.NodeList nl2)
The set:has-same-node function returns true if the node set passed as the first argument shares any nodes with the node set passed as the second argument. |
static org.w3c.dom.NodeList |
intersection(org.w3c.dom.NodeList nl1,
org.w3c.dom.NodeList nl2)
The set:intersection function returns a node set comprising the nodes that are within both the node sets passed as arguments to it. |
static org.w3c.dom.NodeList |
leading(org.w3c.dom.NodeList nl1,
org.w3c.dom.NodeList nl2)
The set:leading function returns the nodes in the node set passed as the first argument that precede, in document order, the first node in the node set passed as the second argument. |
static org.w3c.dom.NodeList |
trailing(org.w3c.dom.NodeList nl1,
org.w3c.dom.NodeList nl2)
The set:trailing function returns the nodes in the node set passed as the first argument that follow, in document order, the first node in the node set passed as the second argument. |
Methods inherited from class org.apache.xalan.lib.ExsltBase |
---|
toNumber, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExsltSets()
Method Detail |
---|
public static org.w3c.dom.NodeList leading(org.w3c.dom.NodeList nl1, org.w3c.dom.NodeList nl2)
nl1
- NodeList for first node-set.nl2
- NodeList for second node-set.
public static org.w3c.dom.NodeList trailing(org.w3c.dom.NodeList nl1, org.w3c.dom.NodeList nl2)
nl1
- NodeList for first node-set.nl2
- NodeList for second node-set.
public static org.w3c.dom.NodeList intersection(org.w3c.dom.NodeList nl1, org.w3c.dom.NodeList nl2)
nl1
- NodeList for first node-set.nl2
- NodeList for second node-set.
public static org.w3c.dom.NodeList difference(org.w3c.dom.NodeList nl1, org.w3c.dom.NodeList nl2)
nl1
- NodeList for first node-set.nl2
- NodeList for second node-set.
public static org.w3c.dom.NodeList distinct(org.w3c.dom.NodeList nl)
nl
- NodeList for the node-set.
public static boolean hasSameNode(org.w3c.dom.NodeList nl1, org.w3c.dom.NodeList nl2)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |