|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.saxon.xpath.StandaloneContext
org.apache.ode.bpel.elang.xpath20.compiler.SaxonContext
public class SaxonContext
Hooks on Saxon StandaloneContext to be notified when the compilation finds some variables and functions. This allows us to prepare the OXpathExpression with variable references and all the things needed at runtime.
Constructor Summary | |
---|---|
SaxonContext(net.sf.saxon.Configuration config,
JaxpVariableResolver varResolver,
JaxpFunctionResolver funcResolver)
|
Method Summary | |
---|---|
net.sf.saxon.expr.VariableReference |
bindVariable(int fingerprint)
|
net.sf.saxon.trans.Variable |
declareVariable(java.lang.String qname,
java.lang.Object initialValue)
|
Methods inherited from class net.sf.saxon.xpath.StandaloneContext |
---|
clearAllNamespaces, clearNamespaces, declareCollation, declareNamespace, getBaseURI, getCollation, getConfiguration, getDefaultCollationName, getDefaultElementNamespace, getDefaultFunctionNamespace, getFunctionLibrary, getImportedSchemaNamespaces, getLineNumber, getLocationMap, getNamePool, getNamespaceContext, getNamespaceResolver, getStackFrameMap, getSystemId, getURIForPrefix, getURIForPrefix, getXPathFunctionResolver, getXPathVariableResolver, importSchema, isAllowedBuiltInType, isImportedSchema, isInBackwardsCompatibleMode, issueWarning, iteratePrefixes, makeEarlyEvaluationContext, setBackwardsCompatibilityMode, setBaseURI, setDefaultElementNamespace, setDefaultFunctionNamespace, setFunctionLibrary, setLocationMap, setNamespaceContext, setNamespaces, setXPathFunctionResolver, setXPathVariableResolver |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SaxonContext(net.sf.saxon.Configuration config, JaxpVariableResolver varResolver, JaxpFunctionResolver funcResolver)
Method Detail |
---|
public net.sf.saxon.trans.Variable declareVariable(java.lang.String qname, java.lang.Object initialValue) throws net.sf.saxon.trans.XPathException
declareVariable
in class net.sf.saxon.xpath.StandaloneContext
net.sf.saxon.trans.XPathException
public net.sf.saxon.expr.VariableReference bindVariable(int fingerprint) throws net.sf.saxon.trans.StaticError
bindVariable
in interface net.sf.saxon.expr.StaticContext
bindVariable
in class net.sf.saxon.xpath.StandaloneContext
net.sf.saxon.trans.StaticError
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |