protected class SchemaElement.XPathStaticContext extends IndependentContext
autoDeclare, executable, externalResolver, importedSchemaNamespaces, namespaces, packageData, requiredContextItemType, variables
usingDefaultFunctionLibrary
Constructor and Description |
---|
SchemaElement.XPathStaticContext(Configuration config) |
Modifier and Type | Method and Description |
---|---|
Executable |
getExecutable() |
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
|
bindVariable, clearAllNamespaces, clearNamespaces, declareNamespace, declareVariable, declareVariable, declareVariable, getContainerGranularity, getExternalVariable, getImportedSchemaNamespaces, getPackageData, getRequiredContextItemType, getSlotNumber, getStackFrameMap, getURIForPrefix, isAllowUndeclaredVariables, isImportedSchema, iterateExternalVariables, iteratePrefixes, setAllowUndeclaredVariables, setDefaultElementNamespace, setExecutable, setImportedSchemaNamespaces, setNamespaceResolver, setNamespaces, setRequiredContextItemType, setSchemaAware
addFunctionLibrary, declareCollation, getBaseURI, getCollation, getColumnNumber, getConfiguration, getDecimalFormatManager, getDefaultCollationName, getDefaultElementNamespace, getDefaultFunctionNamespace, getFunctionLibrary, getHostLanguage, getKeyManager, getLineNumber, getLocationMap, getLocationProvider, getNamePool, getPublicId, getSystemId, getXPathLanguageLevel, isAllowedBuiltInType, isInBackwardsCompatibleMode, issueWarning, makeEarlyEvaluationContext, setBackwardsCompatibilityMode, setBaseURI, setConfiguration, setDecimalFormatManager, setDefaultCollationName, setDefaultFunctionLibrary, setDefaultFunctionNamespace, setFunctionLibrary, setLocationMap, setXPathLanguageLevel
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBaseURI, getCollation, getConfiguration, getDecimalFormatManager, getDefaultCollationName, getDefaultElementNamespace, getDefaultFunctionNamespace, getFunctionLibrary, getKeyManager, getLineNumber, getLocationMap, getNamePool, getSystemId, getXPathLanguageLevel, isAllowedBuiltInType, isInBackwardsCompatibleMode, issueWarning, makeEarlyEvaluationContext
getConfiguration, getHostLanguage
getColumnNumber, getLineNumber, getPublicId, getSystemId
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 class IndependentContext
public boolean isSchemaAware()
isSchemaAware
in interface StaticContext
isSchemaAware
in class AbstractStaticContext
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.