public List<Node> selectNodes(Object context, org.dom4j.XPath sortXPath, boolean distinct) { List<Node> answer = selectNodes(context); sortXPath.sort(answer, distinct); return answer; }
public List<Node> selectNodes(Object context, org.dom4j.XPath sortXPath) { List<Node> answer = selectNodes(context); sortXPath.sort(answer); return answer; }
/** * <p> * <code>sort</code> sorts the given List of Nodes using an XPath * expression as a {@link java.util.Comparator}. * </p> * * @param list * is the list of Nodes to sort * @param xpathExpression * is the XPath expression used for comparison */ public static void sort(List<Node> list, String xpathExpression) { XPath xpath = createXPath(xpathExpression); xpath.sort(list); }
/** * <p> * <code>sort</code> sorts the given List of Nodes using an XPath * expression as a {@link java.util.Comparator}and optionally removing * duplicates. * </p> * * @param list * is the list of Nodes to sort * @param expression * is the XPath expression used for comparison * @param distinct * if true then duplicate values (using the sortXPath for * comparisions) will be removed from the List */ public static void sort(List<Node> list, String expression, boolean distinct) { XPath xpath = createXPath(expression); xpath.sort(list, distinct); }
public List<Node> selectNodes(Object context, org.dom4j.XPath sortXPath, boolean distinct) { List<Node> answer = selectNodes(context); sortXPath.sort(answer, distinct); return answer; }
public List<Node> selectNodes(Object context, org.dom4j.XPath sortXPath) { List<Node> answer = selectNodes(context); sortXPath.sort(answer); return answer; }
public List selectNodes(Object context, org.dom4j.XPath sortXPath) { List answer = selectNodes(context); sortXPath.sort(answer); return answer; }
public List selectNodes(Object context, org.dom4j.XPath sortXPath, boolean distinct) { List answer = selectNodes(context); sortXPath.sort(answer, distinct); return answer; }
public List selectNodes(Object context, org.dom4j.XPath sortXPath, boolean distinct) { List answer = selectNodes(context); sortXPath.sort(answer, distinct); return answer; }
public List selectNodes(Object context, org.dom4j.XPath sortXPath) { List answer = selectNodes(context); sortXPath.sort(answer); return answer; }
public List selectNodes(Object context, org.dom4j.XPath sortXPath, boolean distinct) { List answer = selectNodes(context); sortXPath.sort(answer, distinct); return answer; }
public List selectNodes(Object context, org.dom4j.XPath sortXPath, boolean distinct) { List answer = selectNodes(context); sortXPath.sort(answer, distinct); return answer; }
public List selectNodes(Object context, org.dom4j.XPath sortXPath) { List answer = selectNodes(context); sortXPath.sort(answer); return answer; }
public List<Node> selectNodes(Object context, org.dom4j.XPath sortXPath) { List<Node> answer = selectNodes(context); sortXPath.sort(answer); return answer; }
public List selectNodes(Object context, org.dom4j.XPath sortXPath) { List answer = selectNodes(context); sortXPath.sort(answer); return answer; }
public List selectNodes(Object context, org.dom4j.XPath sortXPath, boolean distinct) { List answer = selectNodes(context); sortXPath.sort(answer, distinct); return answer; }
public List selectNodes(Object context, org.dom4j.XPath sortXPath) { List answer = selectNodes(context); sortXPath.sort(answer); return answer; }
public List selectNodes(Object context, org.dom4j.XPath sortXPath, boolean distinct) { List answer = selectNodes(context); sortXPath.sort(answer, distinct); return answer; }
public List selectNodes(Object context, org.dom4j.XPath sortXPath) { List answer = selectNodes(context); sortXPath.sort(answer); return answer; }
public List<Node> selectNodes(Object context, org.dom4j.XPath sortXPath, boolean distinct) { List<Node> answer = selectNodes(context); sortXPath.sort(answer, distinct); return answer; }