javax.xml.xquery
Interface XQStaticContext

All Known Subinterfaces:
XQConnection
All Known Implementing Classes:
XQAbstractConnection, XQConnectionImpl

public interface XQStaticContext

Author:
Michael Stark

Method Summary
 java.lang.String getBaseURI()
          Gets the base URI, if set, else the empty string.
 int getDefaultCollation()
          Gets the default collation defined in the static context.
 java.lang.String getDefaultElementTypeNamespace()
          Retrieves the default element/type namespace as a string.
 java.lang.String getDefaultFunctionNamespace()
          Retrieves the default function namespace.
 int getDefaultValidationMode()
          Gets the default validation mode defined in the static context.
 int getDefaultXMLSpacePolicy()
          Gets the default XML space policy defined in the static context.
 java.lang.String[] getInScopeNamespacePrefixes()
          Returns the prefixes of all the in scope namespace definitions.
 java.lang.String getNamespaceURI(java.lang.String prefix)
          Retrieves the namespace URI associated with the prefix.
 javax.xml.namespace.QName[] getStaticInScopeVariableNames()
          Gets the list of all static scope variables defined in the static context.
 XQSequenceType getStaticInScopeVariableType(javax.xml.namespace.QName varname)
          Gets the type of the static in scope variable.
 

Method Detail

getBaseURI

java.lang.String getBaseURI()
Gets the base URI, if set, else the empty string.


getDefaultCollation

int getDefaultCollation()
Gets the default collation defined in the static context.


getDefaultElementTypeNamespace

java.lang.String getDefaultElementTypeNamespace()
Retrieves the default element/type namespace as a string.


getDefaultFunctionNamespace

java.lang.String getDefaultFunctionNamespace()
Retrieves the default function namespace.


getDefaultValidationMode

int getDefaultValidationMode()
Gets the default validation mode defined in the static context.


getDefaultXMLSpacePolicy

int getDefaultXMLSpacePolicy()
Gets the default XML space policy defined in the static context.


getInScopeNamespacePrefixes

java.lang.String[] getInScopeNamespacePrefixes()
Returns the prefixes of all the in scope namespace definitions.


getNamespaceURI

java.lang.String getNamespaceURI(java.lang.String prefix)
Retrieves the namespace URI associated with the prefix.


getStaticInScopeVariableNames

javax.xml.namespace.QName[] getStaticInScopeVariableNames()
Gets the list of all static scope variables defined in the static context.


getStaticInScopeVariableType

XQSequenceType getStaticInScopeVariableType(javax.xml.namespace.QName varname)
Gets the type of the static in scope variable.