public class RewriteContext extends IndependentContext
| Modifier and Type | Field and Description |
|---|---|
Expression[] |
slots |
autoDeclare, executable, externalResolver, importedSchemaNamespaces, namespaces, requiredContextItemType, variablesusingDefaultFunctionLibrary| 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, setRequiredContextItemTypeaddFunctionLibrary, 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, setXPathLanguageLevelclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConfiguration, getContainingLocation, getDecimalFormatManager, getDefaultCollationName, getDefaultElementNamespace, getDefaultFunctionNamespace, getFunctionLibrary, getKeyManager, getPackageData, getStaticBaseURI, getSystemId, getXPathVersion, isInBackwardsCompatibleMode, issueWarning, makeEarlyEvaluationContext, makeRetainedStaticContextpublic Expression[] slots
public RewriteContext()
public RewriteContext(Configuration config)
public RewriteContext(RewriteContext rc)
public RewriteContext copy()
public Expression bindVariable(StructuredQName qName) throws XPathException
IndependentContextbindVariable in interface StaticContextbindVariable in class IndependentContextqName - 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.