protected class SchemaElement.XPathStaticContext extends DedicatedStaticContext
autoDeclare, externalResolver, importedSchemaNamespaces, namespaces, requiredContextItemType, variablesusingDefaultFunctionLibrary| 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
|
setExecutablebindVariable, clearAllNamespaces, clearNamespaces, declareNamespace, declareVariable, declareVariable, declareVariable, getContainerGranularity, getExternalVariable, getImportedSchemaNamespaces, getRequiredContextItemType, getSlotNumber, getStackFrameMap, getURIForPrefix, isAllowUndeclaredVariables, isImportedSchema, iterateExternalVariables, iteratePrefixes, setAllowUndeclaredVariables, setDefaultElementNamespace, setImportedSchemaNamespaces, setNamespaceResolver, setNamespaces, setRequiredContextItemTypeaddFunctionLibrary, 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, setXPathLanguageLevelclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContainerGranularity, getHostLanguage, getLocationProvidergetColumnNumber, getLineNumber, getPublicId, getSystemIdgetBaseURI, getCollation, getConfiguration, getDecimalFormatManager, getDefaultCollationName, getDefaultElementNamespace, getDefaultFunctionNamespace, getFunctionLibrary, getLineNumber, getLocationMap, getNamePool, getSystemId, getXPathLanguageLevel, isAllowedBuiltInType, isInBackwardsCompatibleMode, issueWarning, makeEarlyEvaluationContextpublic SchemaElement.XPathStaticContext(Configuration config)
public String getURIForPrefix(String prefix) throws XPathException
getURIForPrefix in interface StaticContextgetURIForPrefix in class IndependentContextprefix - The prefixXPathException - if the prefix is not declaredpublic NamespaceResolver getNamespaceResolver()
getNamespaceResolver in interface StaticContextgetNamespaceResolver in class IndependentContextpublic Executable getExecutable()
getExecutable in interface ContainergetExecutable in class DedicatedStaticContextpublic boolean isSchemaAware()
isSchemaAware in interface StaticContextisSchemaAware in class AbstractStaticContextCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.