com.xqj2
Interface XQMetaData2

All Superinterfaces:
XQMetaData

public interface XQMetaData2
extends XQMetaData


Method Summary
 int getXQJ2MajorVersion()
          Gets the major version number of XQJ2 specification supported by this implementation.
 int getXQJ2MinorVersion()
          Gets the minor version number of XQJ2 specification supported by this implementation.
 String getXQJ2Version()
          Gets the full version of XQJ2 specification supported by this implementation.
 boolean isXQuery30Supported()
          Query if XQuery 3.0 is supported by this data source.
 boolean isXQueryFullTextSupported()
          Query if XQuery 1.0 Full Text extensions are supported by this data source.
 boolean isXQueryUpdateFacilitySupported()
          Query if XQuery 1.0 Update Facility extensions are supported by this data source.
 
Methods inherited from interface javax.xml.xquery.XQMetaData
getMaxExpressionLength, getMaxUserNameLength, getProductMajorVersion, getProductMinorVersion, getProductName, getProductVersion, getSupportedXQueryEncodings, getUserName, getXQJMajorVersion, getXQJMinorVersion, getXQJVersion, isFullAxisFeatureSupported, isModuleFeatureSupported, isReadOnly, isSchemaImportFeatureSupported, isSchemaValidationFeatureSupported, isSerializationFeatureSupported, isStaticTypingExtensionsSupported, isStaticTypingFeatureSupported, isTransactionSupported, isUserDefinedXMLSchemaTypeSupported, isXQueryEncodingDeclSupported, isXQueryEncodingSupported, isXQueryXSupported, wasCreatedFromJDBCConnection
 

Method Detail

getXQJ2MajorVersion

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

Returns:
an integer indicating the XQJ2 major version
Throws:
XQException - if the connection is no longer valid

getXQJ2MinorVersion

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

Returns:
an integer indicating the XQJ2 minor version
Throws:
XQException - if the connection is no longer valid

getXQJ2Version

String getXQJ2Version()
                      throws XQException
Gets the full version of XQJ2 specification supported by this implementation.

Returns:
a string indicating the version of XQJ2 specification
Throws:
XQException - if the connection is no longer valid

isXQueryUpdateFacilitySupported

boolean isXQueryUpdateFacilitySupported()
                                        throws XQException
Query if XQuery 1.0 Update Facility extensions are supported by this data source.

Determines if this data source is capable of executing XQuery 1.0 syntax which contain updating expressions.

Refer to the XQuery Update Facility 1.0 specification for more information.

Returns:
true if so; otherwise false
Throws:
XQException - if the connection is no longer valid

isXQueryFullTextSupported

boolean isXQueryFullTextSupported()
                                  throws XQException
Query if XQuery 1.0 Full Text extensions are supported by this data source.

Determines if this data source is capable of executing XQuery 1.0 syntax which contains full text expressions.

Refer to the XQuery and XPath Full Text 1.0 specification for more information.

Returns:
true if so; otherwise false
Throws:
XQException - if the connection is no longer valid

isXQuery30Supported

boolean isXQuery30Supported()
                            throws XQException
Query if XQuery 3.0 is supported by this data source.

Determines if this data source is capable of executing regular XQuery 3.0 expressions.

Refer to the XQuery 3.0: An XML Query Language specification for more information.

Returns:
true if so; otherwise false
Throws:
XQException - if the connection is no longer valid