1 7 8 package org.dom4j; 9 10 import java.util.List ; 11 import java.util.Map ; 12 13 import org.jaxen.FunctionContext; 14 import org.jaxen.NamespaceContext; 15 import org.jaxen.VariableContext; 16 17 26 public interface XPath extends NodeFilter { 27 35 String getText(); 36 37 49 boolean matches(Node node); 50 51 67 Object evaluate(Object context); 68 69 88 Object selectObject(Object context); 89 90 103 List selectNodes(Object context); 104 105 121 List selectNodes(Object context, XPath sortXPath); 122 123 143 List selectNodes(Object context, XPath sortXPath, boolean distinct); 144 145 158 Node selectSingleNode(Object context); 159 160 172 String valueOf(Object context); 173 174 188 Number numberValueOf(Object context); 189 190 210 boolean booleanValueOf(Object context); 211 212 221 void sort(List list); 222 223 236 void sort(List list, boolean distinct); 237 238 243 FunctionContext getFunctionContext(); 244 245 251 void setFunctionContext(FunctionContext functionContext); 252 253 258 NamespaceContext getNamespaceContext(); 259 260 266 void setNamespaceContext(NamespaceContext namespaceContext); 267 268 292 void setNamespaceURIs(Map map); 293 294 299 VariableContext getVariableContext(); 300 301 307 void setVariableContext(VariableContext variableContext); 308 } 309 310 346 | Popular Tags |