Package org.eclipse.wst.xml.xpath2.processor.internal


org.eclipse.wst.xml.xpath2.processor.internal
Class StaticContextAdapter



public class StaticContextAdapter
extends java.lang.Object

Constructor Summary

StaticContextAdapter(org.eclipse.wst.xml.xpath2.processor.StaticContext sc)

Method Summary

public java.net.URIgetBaseUri()
    
public org.eclipse.wst.xml.xpath2.api.CollationProvidergetCollationProvider()
    
public org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinitiongetCollectionType(java.lang.String collectionName)
    
public org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinitiongetDefaultCollectionType()
    
public java.lang.StringgetDefaultFunctionNamespace()
    
public java.lang.StringgetDefaultNamespace()
    
public org.eclipse.wst.xml.xpath2.api.typesystem.ItemTypegetDocumentType(java.net.URI documentUri)
    
public java.util.MapgetFunctionLibraries()
    
public org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinitiongetInitialContextType()
    
public org.eclipse.wst.xml.xpath2.api.StaticVariableResolvergetInScopeVariables()
    
public javax.xml.namespace.NamespaceContextgetNamespaceContext()
    
public org.eclipse.wst.xml.xpath2.api.typesystem.TypeModelgetTypeModel()
    
public booleanisXPath1Compatible()
    
public org.eclipse.wst.xml.xpath2.api.FunctionresolveFunction(javax.xml.namespace.QName name , int arity)
    

Constructor Detail

StaticContextAdapter

public StaticContextAdapter(org.eclipse.wst.xml.xpath2.processor.StaticContext sc)


Methods Detail

getBaseUri

public java.net.URI getBaseUri()

Returns

java.net.URI


getCollationProvider

public org.eclipse.wst.xml.xpath2.api.CollationProvider getCollationProvider()

Returns

org.eclipse.wst.xml.xpath2.api.CollationProvider


getCollectionType

public org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinition getCollectionType(java.lang.String collectionName)

Parameters

collectionName

Returns

org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinition


getDefaultCollectionType

public org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinition getDefaultCollectionType()

Returns

org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinition


getDefaultFunctionNamespace

public java.lang.String getDefaultFunctionNamespace()

Returns

java.lang.String


getDefaultNamespace

public java.lang.String getDefaultNamespace()

Returns

java.lang.String


getDocumentType

public org.eclipse.wst.xml.xpath2.api.typesystem.ItemType getDocumentType(java.net.URI documentUri)

Parameters

documentUri

Returns

org.eclipse.wst.xml.xpath2.api.typesystem.ItemType


getFunctionLibraries

public java.util.Map getFunctionLibraries()

Returns

java.util.Map


getInitialContextType

public org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinition getInitialContextType()

Returns

org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinition


getInScopeVariables

public org.eclipse.wst.xml.xpath2.api.StaticVariableResolver getInScopeVariables()

Returns

org.eclipse.wst.xml.xpath2.api.StaticVariableResolver


getNamespaceContext

public javax.xml.namespace.NamespaceContext getNamespaceContext()

Returns

javax.xml.namespace.NamespaceContext


getTypeModel

public org.eclipse.wst.xml.xpath2.api.typesystem.TypeModel getTypeModel()

Returns

org.eclipse.wst.xml.xpath2.api.typesystem.TypeModel


isXPath1Compatible

public boolean isXPath1Compatible()

Returns

boolean


resolveFunction

public org.eclipse.wst.xml.xpath2.api.Function resolveFunction(javax.xml.namespace.QName name , int arity)

Parameters

name

arity

Returns

org.eclipse.wst.xml.xpath2.api.Function