net.sf.saxon.xqj
Class SaxonXQMetaData

java.lang.Object
  extended by net.sf.saxon.xqj.SaxonXQMetaData
All Implemented Interfaces:
javax.xml.xquery.XQMetaData

public class SaxonXQMetaData
extends java.lang.Object
implements javax.xml.xquery.XQMetaData

Saxon implementation of the XQMetaData interface


Constructor Summary
SaxonXQMetaData(SaxonXQConnection connection)
          Create the metadata for a given Saxon configuration
 
Method Summary
 int getMaxExpressionLength()
           
 int getMaxUserNameLength()
           
 int getProductMajorVersion()
           
 int getProductMinorVersion()
           
 java.lang.String getProductName()
           
 java.lang.String getProductVersion()
           
 java.util.Set getSupportedXQueryEncodings()
           
 java.lang.String getUserName()
           
 int getXQJMajorVersion()
           
 int getXQJMinorVersion()
           
 java.lang.String getXQJVersion()
           
 boolean isFullAxisFeatureSupported()
           
 boolean isModuleFeatureSupported()
           
 boolean isReadOnly()
           
 boolean isSchemaImportFeatureSupported()
           
 boolean isSchemaValidationFeatureSupported()
           
 boolean isSerializationFeatureSupported()
           
 boolean isStaticTypingExtensionsSupported()
           
 boolean isStaticTypingFeatureSupported()
           
 boolean isTransactionSupported()
           
 boolean isUserDefinedXMLSchemaTypeSupported()
           
 boolean isXQueryEncodingDeclSupported()
           
 boolean isXQueryEncodingSupported(java.lang.String encoding)
           
 boolean isXQueryXSupported()
           
 boolean wasCreatedFromJDBCConnection()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SaxonXQMetaData

public SaxonXQMetaData(SaxonXQConnection connection)
Create the metadata for a given Saxon configuration

Parameters:
connection - the Saxon connection
Method Detail

getMaxExpressionLength

public int getMaxExpressionLength()
                           throws javax.xml.xquery.XQException
Specified by:
getMaxExpressionLength in interface javax.xml.xquery.XQMetaData
Throws:
javax.xml.xquery.XQException

getMaxUserNameLength

public int getMaxUserNameLength()
                         throws javax.xml.xquery.XQException
Specified by:
getMaxUserNameLength in interface javax.xml.xquery.XQMetaData
Throws:
javax.xml.xquery.XQException

getProductMajorVersion

public int getProductMajorVersion()
                           throws javax.xml.xquery.XQException
Specified by:
getProductMajorVersion in interface javax.xml.xquery.XQMetaData
Throws:
javax.xml.xquery.XQException

getProductMinorVersion

public int getProductMinorVersion()
                           throws javax.xml.xquery.XQException
Specified by:
getProductMinorVersion in interface javax.xml.xquery.XQMetaData
Throws:
javax.xml.xquery.XQException

getProductName

public java.lang.String getProductName()
                                throws javax.xml.xquery.XQException
Specified by:
getProductName in interface javax.xml.xquery.XQMetaData
Throws:
javax.xml.xquery.XQException

getProductVersion

public java.lang.String getProductVersion()
                                   throws javax.xml.xquery.XQException
Specified by:
getProductVersion in interface javax.xml.xquery.XQMetaData
Throws:
javax.xml.xquery.XQException

getSupportedXQueryEncodings

public java.util.Set getSupportedXQueryEncodings()
                                          throws javax.xml.xquery.XQException
Specified by:
getSupportedXQueryEncodings in interface javax.xml.xquery.XQMetaData
Throws:
javax.xml.xquery.XQException

getUserName

public java.lang.String getUserName()
                             throws javax.xml.xquery.XQException
Specified by:
getUserName in interface javax.xml.xquery.XQMetaData
Throws:
javax.xml.xquery.XQException

getXQJMajorVersion

public int getXQJMajorVersion()
                       throws javax.xml.xquery.XQException
Specified by:
getXQJMajorVersion in interface javax.xml.xquery.XQMetaData
Throws:
javax.xml.xquery.XQException

getXQJMinorVersion

public int getXQJMinorVersion()
                       throws javax.xml.xquery.XQException
Specified by:
getXQJMinorVersion in interface javax.xml.xquery.XQMetaData
Throws:
javax.xml.xquery.XQException

getXQJVersion

public java.lang.String getXQJVersion()
                               throws javax.xml.xquery.XQException
Specified by:
getXQJVersion in interface javax.xml.xquery.XQMetaData
Throws:
javax.xml.xquery.XQException

isFullAxisFeatureSupported

public boolean isFullAxisFeatureSupported()
                                   throws javax.xml.xquery.XQException
Specified by:
isFullAxisFeatureSupported in interface javax.xml.xquery.XQMetaData
Throws:
javax.xml.xquery.XQException

isModuleFeatureSupported

public boolean isModuleFeatureSupported()
                                 throws javax.xml.xquery.XQException
Specified by:
isModuleFeatureSupported in interface javax.xml.xquery.XQMetaData
Throws:
javax.xml.xquery.XQException

isReadOnly

public boolean isReadOnly()
                   throws javax.xml.xquery.XQException
Specified by:
isReadOnly in interface javax.xml.xquery.XQMetaData
Throws:
javax.xml.xquery.XQException

isSchemaImportFeatureSupported

public boolean isSchemaImportFeatureSupported()
                                       throws javax.xml.xquery.XQException
Specified by:
isSchemaImportFeatureSupported in interface javax.xml.xquery.XQMetaData
Throws:
javax.xml.xquery.XQException

isSchemaValidationFeatureSupported

public boolean isSchemaValidationFeatureSupported()
                                           throws javax.xml.xquery.XQException
Specified by:
isSchemaValidationFeatureSupported in interface javax.xml.xquery.XQMetaData
Throws:
javax.xml.xquery.XQException

isSerializationFeatureSupported

public boolean isSerializationFeatureSupported()
                                        throws javax.xml.xquery.XQException
Specified by:
isSerializationFeatureSupported in interface javax.xml.xquery.XQMetaData
Throws:
javax.xml.xquery.XQException

isStaticTypingExtensionsSupported

public boolean isStaticTypingExtensionsSupported()
                                          throws javax.xml.xquery.XQException
Specified by:
isStaticTypingExtensionsSupported in interface javax.xml.xquery.XQMetaData
Throws:
javax.xml.xquery.XQException

isStaticTypingFeatureSupported

public boolean isStaticTypingFeatureSupported()
                                       throws javax.xml.xquery.XQException
Specified by:
isStaticTypingFeatureSupported in interface javax.xml.xquery.XQMetaData
Throws:
javax.xml.xquery.XQException

isTransactionSupported

public boolean isTransactionSupported()
                               throws javax.xml.xquery.XQException
Specified by:
isTransactionSupported in interface javax.xml.xquery.XQMetaData
Throws:
javax.xml.xquery.XQException

isUserDefinedXMLSchemaTypeSupported

public boolean isUserDefinedXMLSchemaTypeSupported()
                                            throws javax.xml.xquery.XQException
Specified by:
isUserDefinedXMLSchemaTypeSupported in interface javax.xml.xquery.XQMetaData
Throws:
javax.xml.xquery.XQException

isXQueryEncodingDeclSupported

public boolean isXQueryEncodingDeclSupported()
                                      throws javax.xml.xquery.XQException
Specified by:
isXQueryEncodingDeclSupported in interface javax.xml.xquery.XQMetaData
Throws:
javax.xml.xquery.XQException

isXQueryEncodingSupported

public boolean isXQueryEncodingSupported(java.lang.String encoding)
                                  throws javax.xml.xquery.XQException
Specified by:
isXQueryEncodingSupported in interface javax.xml.xquery.XQMetaData
Throws:
javax.xml.xquery.XQException

isXQueryXSupported

public boolean isXQueryXSupported()
                           throws javax.xml.xquery.XQException
Specified by:
isXQueryXSupported in interface javax.xml.xquery.XQMetaData
Throws:
javax.xml.xquery.XQException

wasCreatedFromJDBCConnection

public boolean wasCreatedFromJDBCConnection()
                                     throws javax.xml.xquery.XQException
Specified by:
wasCreatedFromJDBCConnection in interface javax.xml.xquery.XQMetaData
Throws:
javax.xml.xquery.XQException