Package com.xqj2
Interface XQMetaData2
-
- All Superinterfaces:
XQMetaData
public interface XQMetaData2 extends XQMetaData
Extended interface which implements functionality that is missing fromXQMetaData, based on findings whilst trying to implement XQJ API v1.0.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetXQJ2MajorVersion()Gets the major version number of XQJ2 specification supported by this implementation.intgetXQJ2MinorVersion()Gets the minor version number of XQJ2 specification supported by this implementation.StringgetXQJ2Version()Gets the full version of XQJ2 specification supported by this implementation.booleanisXASupported()Query if XA transactions are supported by this data source.booleanisXQuery30Supported()Query if XQuery 3.0 is supported by this data source.booleanisXQueryFullTextSupported()Query if XQuery Full Text extensions are supported by this data source.booleanisXQueryUpdateFacilitySupported()Query if XQuery 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 XQExceptionGets 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 XQExceptionGets 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 XQExceptionQuery if XQuery Update Facility extensions are supported by this data source.Determines if this data source is capable of executing XQuery syntax which contain updating expressions.
Refer to the XQuery Update Facility 1.0 specification for more information.
- Returns:
trueif so; otherwisefalse- Throws:
XQException- if the connection is no longer valid
-
isXQueryFullTextSupported
boolean isXQueryFullTextSupported() throws XQExceptionQuery if XQuery Full Text extensions are supported by this data source.Determines if this data source is capable of executing XQuery syntax which contains full text expressions.
Refer to the XQuery and XPath Full Text 1.0 specification for more information.
- Returns:
trueif so; otherwisefalse- Throws:
XQException- if the connection is no longer valid
-
isXQuery30Supported
boolean isXQuery30Supported() throws XQExceptionQuery 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:
trueif so; otherwisefalse- Throws:
XQException- if the connection is no longer valid
-
isXASupported
boolean isXASupported() throws XQExceptionQuery if XA transactions are supported by this data source.- Returns:
trueif so; otherwisefalse- Throws:
XQException- if the connection is no longer valid
-
-