protected class SchemaElement.XPathStaticContext extends DedicatedStaticContext
autoDeclare, externalResolver, importedSchemaNamespaces, namespaces, requiredContextItemType, variables
usingDefaultFunctionLibrary
Constructor and Description |
---|
SchemaElement.XPathStaticContext(Configuration config) |
Modifier and Type | Method and Description |
---|---|
Executable |
getExecutable()
Bind a variable reference appearing within an XPath expression
|
NamespaceResolver |
getNamespaceResolver()
Get a Namespace resolver that can be used for run-time resolution of QNames appearing
in the XPath expression
|
String |
getURIForPrefix(String prefix)
Get the URI for a prefix, using the declared namespaces as
the context for namespace resolution.
|
boolean |
isSchemaAware()
Ask whether this static context is schema-aware
|
setExecutable
bindVariable, clearAllNamespaces, clearNamespaces, declareNamespace, declareVariable, declareVariable, declareVariable, getContainerGranularity, getExternalVariable, getImportedSchemaNamespaces, getRequiredContextItemType, getSlotNumber, getStackFrameMap, getURIForPrefix, isAllowUndeclaredVariables, isImportedSchema, iterateExternalVariables, iteratePrefixes, setAllowUndeclaredVariables, setDefaultElementNamespace, setImportedSchemaNamespaces, setNamespaceResolver, setNamespaces, setRequiredContextItemType
addFunctionLibrary, declareCollation, getBaseURI, getCollation, getCollationMap, getColumnNumber, getConfiguration, getDecimalFormatManager, getDefaultCollationName, getDefaultElementNamespace, getDefaultFunctionNamespace, getFunctionLibrary, getHostLanguage, getLineNumber, getLocationMap, getLocationProvider, getNamePool, getPublicId, getSystemId, getXPathLanguageLevel, isAllowedBuiltInType, isInBackwardsCompatibleMode, issueWarning, makeEarlyEvaluationContext, setBackwardsCompatibilityMode, setBaseURI, setCollationMap, setConfiguration, setDecimalFormatManager, setDefaultFunctionLibrary, setDefaultFunctionNamespace, setFunctionLibrary, setLocationMap, setSchemaAware, setXPathLanguageLevel
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getContainerGranularity, getHostLanguage, getLocationProvider
getColumnNumber, getLineNumber, getPublicId, getSystemId
getBaseURI, getCollation, getConfiguration, getDecimalFormatManager, getDefaultCollationName, getDefaultElementNamespace, getDefaultFunctionNamespace, getFunctionLibrary, getLineNumber, getLocationMap, getNamePool, getSystemId, getXPathLanguageLevel, isAllowedBuiltInType, isInBackwardsCompatibleMode, issueWarning, makeEarlyEvaluationContext
public SchemaElement.XPathStaticContext(Configuration config)
public String getURIForPrefix(String prefix) throws XPathException
getURIForPrefix
in interface StaticContext
getURIForPrefix
in class IndependentContext
prefix
- The prefixXPathException
- if the prefix is not declaredpublic NamespaceResolver getNamespaceResolver()
getNamespaceResolver
in interface StaticContext
getNamespaceResolver
in class IndependentContext
public Executable getExecutable()
getExecutable
in interface Container
getExecutable
in class DedicatedStaticContext
public boolean isSchemaAware()
isSchemaAware
in interface StaticContext
isSchemaAware
in class AbstractStaticContext
Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.