1 3 9 10 package javax.xml.xpath; 11 12 import org.xml.sax.InputSource ; 13 import javax.xml.namespace.QName ; 14 import javax.xml.namespace.NamespaceContext ; 15 16 77 public interface XPath { 78 79 92 public void reset(); 93 94 103 public void setXPathVariableResolver(XPathVariableResolver resolver); 104 105 112 public XPathVariableResolver getXPathVariableResolver(); 113 114 123 public void setXPathFunctionResolver(XPathFunctionResolver resolver); 124 125 132 public XPathFunctionResolver getXPathFunctionResolver(); 133 134 143 public void setNamespaceContext(NamespaceContext nsContext); 144 145 152 public NamespaceContext getNamespaceContext(); 153 154 171 public XPathExpression compile(String expression) 172 throws XPathExpressionException ; 173 174 204 public Object evaluate(String expression, Object item, QName returnType) 205 throws XPathExpressionException ; 206 207 230 public String evaluate(String expression, Object item) 231 throws XPathExpressionException ; 232 233 260 public Object evaluate( 261 String expression, 262 InputSource source, 263 QName returnType) 264 throws XPathExpressionException ; 265 266 288 public String evaluate(String expression, InputSource source) 289 throws XPathExpressionException ; 290 } 291 | Popular Tags |