public class RewriteContext extends IndependentContext
Modifier and Type | Field and Description |
---|---|
Expression[] |
slots |
autoDeclare, executable, externalResolver, importedSchemaNamespaces, namespaces, requiredContextItemType, variables
usingDefaultFunctionLibrary
Constructor and Description |
---|
RewriteContext() |
RewriteContext(Configuration config) |
RewriteContext(RewriteContext rc) |
Modifier and Type | Method and Description |
---|---|
void |
allocateSlots() |
Expression |
bindVariable(StructuredQName qName)
Bind a variable used in an XPath Expression to the XSLVariable element in which it is declared.
|
RewriteContext |
copy() |
clearAllNamespaces, clearNamespaces, declareNamespace, declareVariable, declareVariable, declareVariable, getColumnNumber, getDeclaredVariables, getExecutable, getExternalVariable, getImportedSchemaNamespaces, getLineNumber, getNamespaceResolver, getPublicId, getRequiredContextItemType, getSlotNumber, getStackFrameMap, getURIForPrefix, isAllowUndeclaredVariables, isImportedSchema, iterateExternalVariables, iteratePrefixes, setAllowUndeclaredVariables, setDefaultElementNamespace, setExecutable, setImportedSchemaNamespaces, setNamespaceResolver, setNamespaces, setRequiredContextItemType
addFunctionLibrary, declareCollation, getConfiguration, getContainingLocation, getDecimalFormatManager, getDefaultCollationName, getDefaultElementNamespace, getDefaultFunctionNamespace, getFunctionLibrary, getHostLanguage, getKeyManager, getPackageData, getStaticBaseURI, getSystemId, getXPathVersion, isInBackwardsCompatibleMode, issueWarning, makeEarlyEvaluationContext, makeRetainedStaticContext, setBackwardsCompatibilityMode, setBaseURI, setConfiguration, setContainingLocation, setDecimalFormatManager, setDefaultCollationName, setDefaultFunctionLibrary, setDefaultFunctionNamespace, setFunctionLibrary, setPackageData, setSchemaAware, setXPathLanguageLevel
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConfiguration, getContainingLocation, getDecimalFormatManager, getDefaultCollationName, getDefaultElementNamespace, getDefaultFunctionNamespace, getFunctionLibrary, getKeyManager, getPackageData, getStaticBaseURI, getSystemId, getXPathVersion, isInBackwardsCompatibleMode, issueWarning, makeEarlyEvaluationContext, makeRetainedStaticContext
public Expression[] slots
public RewriteContext()
public RewriteContext(Configuration config)
public RewriteContext(RewriteContext rc)
public RewriteContext copy()
public Expression bindVariable(StructuredQName qName) throws XPathException
IndependentContext
bindVariable
in interface StaticContext
bindVariable
in class IndependentContext
qName
- the name of the variableXPathException
- if the variable cannot be bound (has not been declared)public void allocateSlots()
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.