|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XPathStaticContext
This interface defines methods that must be provided when Saxon's free-standing XPath API is used.
The default implementation of this interface is IndependentContext
, and
that implementation should be adequate for most purposes; but for extra customization, a user-written
implementation of this interface may be used instead.
Method Summary | |
---|---|
XPathVariable |
declareVariable(QNameValue qname)
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. |
Methods inherited from interface net.sf.saxon.expr.Container |
---|
getHostLanguage, getLocationProvider, replaceSubExpression |
Methods inherited from interface javax.xml.transform.SourceLocator |
---|
getColumnNumber, getLineNumber, getPublicId, getSystemId |
Method Detail |
---|
Executable getExecutable()
getExecutable
in interface Container
void setDefaultElementNamespace(String uri)
uri
- The namespace to be used to qualify unprefixed element names and type names appearing
in the XPath expression.void setNamespaceResolver(NamespaceResolver resolver)
XPathVariable declareVariable(QNameValue qname)
XPathEvaluator.declareVariable(java.lang.String, java.lang.String)
method.
qname
- The name of the variable
SlotManager getStackFrameMap()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |