org.apache.xalan.transformer
Class NodeSorter
java.lang.Object
org.apache.xalan.transformer.NodeSorter
public class NodeSorter
extends java.lang.Object
This class can sort vectors of DOM nodes according to a select pattern.
NodeSorter(XPathContext p) - Construct a NodeSorter, passing in the XSL TransformerFactory
so it can know how to get the node data according to
the proper whitespace rules.
|
void | sort(DTMIterator v, Vector keys, XPathContext support) - Given a vector of nodes, sort each node according to
the criteria in the keys.
|
NodeSorter
public NodeSorter(XPathContext p)
Construct a NodeSorter, passing in the XSL TransformerFactory
so it can know how to get the node data according to
the proper whitespace rules.
sort
public void sort(DTMIterator v,
Vector keys,
XPathContext support)
throws javax.xml.transform.TransformerException
Given a vector of nodes, sort each node according to
the criteria in the keys.
v
- an vector of Nodes.keys
- a vector of NodeSortKeys.support
- XPath context to use
Copyright B) 2005 Apache XML Project. All Rights Reserved.