1 package com.icl.saxon.expr; 2 import com.icl.saxon.Binding; 3 import com.icl.saxon.om.NamePool; 4 import com.icl.saxon.pattern.NameTest; 5 import com.icl.saxon.pattern.NamespaceTest; 6 import javax.xml.transform.TransformerException ; 7 8 9 13 14 public interface StaticContext { 15 16 19 20 public StaticContext makeRuntimeContext(NamePool pool); 21 22 27 28 public String getSystemId(); 29 30 34 35 public int getLineNumber(); 36 37 42 43 public String getBaseURI(); 44 45 50 51 public String getURIForPrefix(String prefix) throws XPathException; 52 53 60 61 public int makeNameCode(String qname, boolean useDefault) throws XPathException; 62 63 71 72 public int getFingerprint(String qname, boolean useDefault) throws XPathException; 73 74 77 78 public NameTest makeNameTest(short nodeType, String qname, boolean useDefault) 79 throws XPathException; 80 81 84 85 public NamespaceTest makeNamespaceTest(short nodeType, String prefix) 86 throws XPathException; 87 88 95 96 public Binding bindVariable(int fingerprint) throws XPathException; 97 98 101 102 public boolean isExtensionNamespace(short uriCode) throws XPathException; 103 104 107 108 public boolean forwardsCompatibleModeIsEnabled() throws XPathException; 109 110 115 116 public Function getStyleSheetFunction(int fingerprint) throws XPathException; 117 118 125 126 public Class getExternalJavaClass(String uri) throws TransformerException ; 127 128 131 132 public boolean isElementAvailable(String qname) throws XPathException; 133 134 137 138 public boolean isFunctionAvailable(String qname) throws XPathException; 139 140 143 144 public boolean allowsKeyFunction(); 145 146 149 150 public String getVersion(); 151 152 } 153 154 | Popular Tags |