net.sf.saxon.sxpath
public interface XPathStaticContext extends StaticContext, Container
Method Summary | |
---|---|
XPathVariable | declareVariable(QNameValue qname)
Declare a variable. |
XPathVariable | declareVariable(String namespaceURI, String localName)
Declare a variable. |
Executable | getExecutable()
Get the executable associated with this static context. |
SlotManager | getStackFrameMap()
Get a Stack Frame Map containing definitions of all the declared variables. |
void | setDefaultElementNamespace(String uri)
Set the default namespace for elements and types |
void | setNamespaceResolver(NamespaceResolver resolver)
Set an external namespace resolver. |
Parameters: qname The name of the variable
Returns: a Variable object representing information about the variable that has been declared.
Parameters: namespaceURI The namespace URI of the name of the variable. Supply "" to represent names in no namespace (null is also accepted) localName The local part of the name of the variable (an NCName)
Returns: an XPathVariable object representing information about the variable that has been declared.
Returns: the Executable
Returns: a SlotManager object holding details of the allocation of variables on the stack frame.
Parameters: uri The namespace to be used to qualify unprefixed element names and type names appearing in the XPath expression.
Parameters: resolver the external namespace resolver