1 28 29 package com.caucho.xpath; 30 31 import com.caucho.xpath.expr.Var; 32 33 import org.w3c.dom.Document ; 34 import org.w3c.dom.Node ; 35 36 39 public interface ExprEnvironment { 40 45 public Var getVar(String name); 46 47 52 public XPathFun getFunction(String name); 53 54 57 public Node setContextNode(Node node); 58 61 public StylesheetEnv getStylesheetEnv(); 62 65 Node getContextNode(); 66 67 70 int getContextPosition(); 71 72 75 int getContextSize(); 76 77 81 Node getCurrentNode(); 82 83 86 Document getOwnerDocument(); 87 91 Object systemProperty(String namespaceURI, String localName); 92 95 String stringValue(Node n); 96 } 97 | Popular Tags |