javax.xml.xquery
Interface XQMetaData


public interface XQMetaData

Author:
Michael Stark

Method Summary
 int getMaxExpressionLength()
          Gets the maximum number of characters allowed in an expression in this data source.
 int getMaxUserNameLength()
          Gets the maximum number of characters allowed in a user name.
 int getProductMajorVersion()
          Gets the major version of this product.
 int getProductMinorVersion()
          Gets the minor version of this product.
 java.lang.String getProductName()
          Gets the name of this product.
 java.lang.String getProductVersion()
          Gets the full version of this product.
 java.lang.String getUserName()
          Gets the user name associated with this connection.
 int getXQJMajorVersion()
          Gets the major version number of XQJ specification supported by this implementation.
 int getXQJMinorVersion()
          Gets the minor version number of XQJ specification supported by this implementation.
 java.lang.String getXQJVersion()
          Gets the full version of XQJ specification supported by this implementation.
 boolean isCollectionNestingSupported()
          Query if nested collections feature is supported in this data source.
 boolean isFullAxisSupported()
          Query if full axis feature is supported in this connection.
 boolean isModulesSupported()
          Query if modules feature is supported in this connection.
 boolean isMustUnderstandExtensionsSupported()
          Query if must understand extensions feature is supported in this connection.
 boolean isPragmaSupported()
          Query if pragma feature is supported in this connection.
 boolean isReadOnly()
          Query if the associated conection is restricted for read only use.
 boolean isSchemaImportSupported()
          Query if schema import feature is supported in this connection.
 boolean isStaticTypingExtensionsSupported()
          Query if static typing extensions feature is supported in this connection.
 boolean isStaticTypingSupported()
          Query if static typing is supported in this data source.
 boolean isTransactionSupported()
          Query if transaction is supported in this data source.
 boolean isXQueryXSupported()
          Query if XQueryX format is supported in this data source.
 boolean wasCreatedFromJDBCConnection()
          Query if this connection was created from a JDBC connection.
 

Method Detail

getMaxExpressionLength

int getMaxExpressionLength()
                           throws XQException
Gets the maximum number of characters allowed in an expression in this data source.

Throws:
XQException

getMaxUserNameLength

int getMaxUserNameLength()
                         throws XQException
Gets the maximum number of characters allowed in a user name.

Throws:
XQException

getProductMajorVersion

int getProductMajorVersion()
                           throws XQException
Gets the major version of this product.

Throws:
XQException

getProductMinorVersion

int getProductMinorVersion()
                           throws XQException
Gets the minor version of this product.

Throws:
XQException

getProductName

java.lang.String getProductName()
                                throws XQException
Gets the name of this product.

Throws:
XQException

getProductVersion

java.lang.String getProductVersion()
                                   throws XQException
Gets the full version of this product.

Throws:
XQException

getUserName

java.lang.String getUserName()
                             throws XQException
Gets the user name associated with this connection.

Throws:
XQException

getXQJMajorVersion

int getXQJMajorVersion()
                       throws XQException
Gets the major version number of XQJ specification supported by this implementation.

Throws:
XQException

getXQJMinorVersion

int getXQJMinorVersion()
                       throws XQException
Gets the minor version number of XQJ specification supported by this implementation.

Throws:
XQException

getXQJVersion

java.lang.String getXQJVersion()
                               throws XQException
Gets the full version of XQJ specification supported by this implementation.

Throws:
XQException

isCollectionNestingSupported

boolean isCollectionNestingSupported()
                                     throws XQException
Query if nested collections feature is supported in this data source.

Throws:
XQException

isFullAxisSupported

boolean isFullAxisSupported()
                            throws XQException
Query if full axis feature is supported in this connection.

Throws:
XQException

isModulesSupported

boolean isModulesSupported()
                           throws XQException
Query if modules feature is supported in this connection.

Throws:
XQException

isMustUnderstandExtensionsSupported

boolean isMustUnderstandExtensionsSupported()
                                            throws XQException
Query if must understand extensions feature is supported in this connection.

Throws:
XQException

isPragmaSupported

boolean isPragmaSupported()
                          throws XQException
Query if pragma feature is supported in this connection.

Throws:
XQException

isReadOnly

boolean isReadOnly()
                   throws XQException
Query if the associated conection is restricted for read only use.

Throws:
XQException

isSchemaImportSupported

boolean isSchemaImportSupported()
                                throws XQException
Query if schema import feature is supported in this connection.

Throws:
XQException

isStaticTypingExtensionsSupported

boolean isStaticTypingExtensionsSupported()
                                          throws XQException
Query if static typing extensions feature is supported in this connection.

Throws:
XQException

isStaticTypingSupported

boolean isStaticTypingSupported()
                                throws XQException
Query if static typing is supported in this data source.

Throws:
XQException

isTransactionSupported

boolean isTransactionSupported()
                               throws XQException
Query if transaction is supported in this data source.

Throws:
XQException

isXQueryXSupported

boolean isXQueryXSupported()
                           throws XQException
Query if XQueryX format is supported in this data source.

Throws:
XQException

wasCreatedFromJDBCConnection

boolean wasCreatedFromJDBCConnection()
                                     throws XQException
Query if this connection was created from a JDBC connection.

Throws:
XQException