| java.lang.Object org.apache.commons.jelly.xpath.XPathComparator
XPathComparator | public class XPathComparator implements Comparator(Code) | | Compares xml nodes by extracting the value at xpath and
comparing it.
author: Jason Horman version: $Id: XPathComparator.java 155420 2005-02-26 13:06:03Z dirkv $ |
XPathComparator | public XPathComparator()(Code) | | |
XPathComparator | public XPathComparator(XPath xpath, boolean descending)(Code) | | |
compare | public int compare(Node n1, Node n2)(Code) | | |
getComparableValue | protected Comparable getComparableValue(Object value)(Code) | | Turns the XPath result value into a Comparable object.
|
getXpath | public XPath getXpath()(Code) | | |
setDescending | public void setDescending(boolean descending)(Code) | | |
setXpath | public void setXpath(XPath xpath)(Code) | | |
|
|