protected class SchemaElement.XPathStaticContext extends IndependentContext
autoDeclare, executable, externalResolver, importedSchemaNamespaces, namespaces, packageData, requiredContextItemType, variablesusingDefaultFunctionLibrary| 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, setSchemaAwareaddFunctionLibrary, 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, setXPathLanguageLevelclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBaseURI, getCollation, getConfiguration, getDecimalFormatManager, getDefaultCollationName, getDefaultElementNamespace, getDefaultFunctionNamespace, getFunctionLibrary, getKeyManager, getLineNumber, getLocationMap, getNamePool, getSystemId, getXPathLanguageLevel, isAllowedBuiltInType, isInBackwardsCompatibleMode, issueWarning, makeEarlyEvaluationContextgetConfiguration, getHostLanguagegetColumnNumber, getLineNumber, getPublicId, getSystemIdpublic 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 class IndependentContextpublic boolean isSchemaAware()
isSchemaAware in interface StaticContextisSchemaAware in class AbstractStaticContextCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.