StaticContext
ThinStaticContextImpl
public abstract class DelegatingStaticContextImpl extends Object implements StaticContext
StaticContext.BoundarySpaceProperty, StaticContext.ConstructionModeProperty, StaticContext.CopyNamespacesModeProperty, StaticContext.EmptyOrderProperty, StaticContext.OrderingModeProperty
Modifier and Type | Field | Description |
---|---|---|
protected StaticContext |
parent |
Constructor | Description |
---|---|
DelegatingStaticContextImpl(StaticContext parent) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createFactory
protected final StaticContext parent
public DelegatingStaticContextImpl(StaticContext parent)
public String getBaseUri()
getBaseUri
in interface StaticContext
public StaticContext.BoundarySpaceProperty getBoundarySpaceProperty()
getBoundarySpaceProperty
in interface StaticContext
public StaticContext.ConstructionModeProperty getConstructionModeProperty()
getConstructionModeProperty
in interface StaticContext
public StaticContext.CopyNamespacesModeProperty getCopyNamespacesModeProperty()
getCopyNamespacesModeProperty
in interface StaticContext
public String getDefaultCollation()
getDefaultCollation
in interface StaticContext
public SequenceType getDefaultCollectionType()
getDefaultCollectionType
in interface StaticContext
public String getDefaultElementNamespaceUri()
getDefaultElementNamespaceUri
in interface StaticContext
public String getDefaultFunctionNamespaceUri()
getDefaultFunctionNamespaceUri
in interface StaticContext
public StaticContext.EmptyOrderProperty getEmptyOrderProperty()
getEmptyOrderProperty
in interface StaticContext
public String getOption(QName name)
getOption
in interface StaticContext
public StaticContext.OrderingModeProperty getOrderingModeProperty()
getOrderingModeProperty
in interface StaticContext
public StaticContext getParent()
getParent
in interface StaticContext
public Iterator<Function> listFunctions()
listFunctions
in interface StaticContext
public Iterator<org.apache.commons.lang3.tuple.Pair<String,List<String>>> listModules()
listModules
in interface StaticContext
public Iterator<org.apache.commons.lang3.tuple.Pair<String,List<String>>> listSchemas()
listSchemas
in interface StaticContext
public AttributeType lookupAttributeDeclaration(QName name)
lookupAttributeDeclaration
in interface StaticContext
public Collation lookupCollation(String collationName)
lookupCollation
in interface StaticContext
public SequenceType lookupCollectionType(String collectionUri)
lookupCollectionType
in interface StaticContext
public SequenceType lookupDocumentType(String docUri)
lookupDocumentType
in interface StaticContext
public ElementType lookupElementDeclaration(QName name)
lookupElementDeclaration
in interface StaticContext
public Function lookupFunction(QName functionName, int arity)
lookupFunction
in interface StaticContext
public Function[] lookupFunctions(QName functionName)
lookupFunctions
in interface StaticContext
public String lookupNamespaceUri(String prefix)
lookupNamespaceUri
in interface StaticContext
public SchemaType lookupSchemaType(QName name)
lookupSchemaType
in interface StaticContext
public Iterator<XQueryVariable> listVariables()
listVariables
in interface StaticContext
public XQueryVariable lookupVariable(QName name)
lookupVariable
in interface StaticContext
public void registerAttributeDeclaration(QName name, AttributeType attrDecl)
registerAttributeDeclaration
in interface StaticContext
public void registerCollation(String collationName, Collation collation)
registerCollation
in interface StaticContext
public void registerCollectionType(String collectionUri, SequenceType type)
registerCollectionType
in interface StaticContext
public void registerDocumentType(String docUri, SequenceType type)
registerDocumentType
in interface StaticContext
public void registerElementDeclaration(QName name, ElementType elemDecl)
registerElementDeclaration
in interface StaticContext
public void registerFunction(Function function)
registerFunction
in interface StaticContext
public void registerModuleImport(String uri, List<String> locations)
registerModuleImport
in interface StaticContext
public void registerNamespaceUri(String prefix, String uri)
registerNamespaceUri
in interface StaticContext
public void registerSchemaImport(String uri, List<String> locations)
registerSchemaImport
in interface StaticContext
public void registerSchemaType(QName name, SchemaType type)
registerSchemaType
in interface StaticContext
public SequenceType lookupSequenceType(int code)
lookupSequenceType
in interface StaticContext
public int lookupSequenceType(SequenceType type)
lookupSequenceType
in interface StaticContext
public int encodeSequenceType(SequenceType type)
encodeSequenceType
in interface StaticContext
public int getMaxSequenceTypeCode()
getMaxSequenceTypeCode
in interface StaticContext
public void registerVariable(XQueryVariable var)
registerVariable
in interface StaticContext
public void setBaseUri(String baseUri)
setBaseUri
in interface StaticContext
public void setBoundarySpaceProperty(StaticContext.BoundarySpaceProperty boundarySpaceProperty)
setBoundarySpaceProperty
in interface StaticContext
public void setConstructionModeProperty(StaticContext.ConstructionModeProperty constructionMode)
setConstructionModeProperty
in interface StaticContext
public void setCopyNamespacesModeProperty(StaticContext.CopyNamespacesModeProperty copyNamespacesMode)
setCopyNamespacesModeProperty
in interface StaticContext
public void setDefaultCollation(String defaultCollation)
setDefaultCollation
in interface StaticContext
public void setDefaultCollectionType(SequenceType type)
setDefaultCollectionType
in interface StaticContext
public void setDefaultElementNamespaceUri(String uri)
setDefaultElementNamespaceUri
in interface StaticContext
public void setDefaultFunctionNamespaceUri(String uri)
setDefaultFunctionNamespaceUri
in interface StaticContext
public void setEmptyOrderProperty(StaticContext.EmptyOrderProperty emptyOrder)
setEmptyOrderProperty
in interface StaticContext
public void setOption(QName name, String value)
setOption
in interface StaticContext
public void setOrderingModeProperty(StaticContext.OrderingModeProperty orderingMode)
setOrderingModeProperty
in interface StaticContext
Copyright © 2019 Apache Software Foundation. All Rights Reserved.