XindiceWrapper
Keywords: uk.ac.bbk.dcs.automed.xml.wrappers.XindiceWrapper class

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## uk.ac.bbk.dcs.automed.xml.wrappers
Class XindiceWrapper

    java.lang.Object
      uk.ac.ic.doc.automed.wrappers.AutoMedWrapper
          uk.ac.bbk.dcs.automed.xml.wrappers.XindiceWrapper

    public class XindiceWrapper

extends AutoMedWrapper

The url must be of the form: xmldb:vendordb://host:port/path/to/collection

Author:
  Lucas Zamboulis

Field Summary

Fields inherited from class uk.ac.ic.doc.automed.wrappers.AutoMedWrapper
`am, awf, debug, driver, emptyKeyProtection, emptyKeys, optionKeyProtection, optionKeys, password, protocol, s, url, username`

Constructor Summary
`XindiceWrapper(AccessMethod am, java.lang.String password)`

Method Summary
`void` | `connect()` Use the connection details held with this wrapper to connect to the data source.
`ASG` | `executeIQL(ASG g)` Execute an IQL query on the datasource.
`void` | `finalize()`
`AutoMedWrapperFactory` | `getDefaultWrapperFactory()` Return the default `AutoMedWrapperFactory` that is used to generate `Schema` instances from information in a data sources
`java.lang.String` | `getProtocolName()` The name of the `Protocol` that this wrapper uses
`static AutoMedWrapper` | `newAutoMedWrapper(java.lang.String username, java.lang.String password, java.lang.String driver, java.lang.String url, java.lang.String schemaName, AutoMedWrapperFactory awf)`

Methods inherited from class uk.ac.ic.doc.automed.wrappers.AutoMedWrapper
`atDebugLevel, cacheWrapper, deleteIQL, executeLocalQuery, getAccessMethod, getAutoMedWrapper, getAutoMedWrapper, getAutoMedWrapperFactory, getDrivers, getOption, getOptionKeyProtection, getOptionKeys, getProtocol, getQueryParser, getSchema, getSchema, insertIQL, newAutoMedSchema, newAutoMedWrapper, newAutoMedWrapper, registerWrapper, selectNewAutoMedWrapper, selectNewAutoMedWrapper, setDebugLevel, setOption`

Methods inherited from class java.lang.Object
`clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### XindiceWrapper

    public XindiceWrapper(AccessMethod am,
                          java.lang.String password)
                   throws DataSourceException

Throws:
  `DataSourceException`

Method Detail

### newAutoMedWrapper

    public static AutoMedWrapper newAutoMedWrapper(java.lang.String username,
                                                   java.lang.String password,
                                                   java.lang.String driver,
                                                   java.lang.String url,
                                                   java.lang.String schemaName,
                                                   AutoMedWrapperFactory awf)
                                            throws IntegrityException,
                                                   DataSourceException

  Throws:
    `IntegrityException`
    `DataSourceException`

### connect

    public void connect()
                 throws DataSourceException

  Description copied from class: `AutoMedWrapper`
  Use the connection details held with this wrapper to connect to the data source.

  Specified by:
    `connect` in class `AutoMedWrapper`
  Throws:
    `DataSourceException` - if unable to connect to the data source

### getProtocolName

    public java.lang.String getProtocolName()

  Description copied from class: `AutoMedWrapper`
  The name of the `Protocol` that this wrapper uses

  Specified by:
    `getProtocolName` in class `AutoMedWrapper`

### getDefaultWrapperFactory

    public AutoMedWrapperFactory getDefaultWrapperFactory()

  Description copied from class: `AutoMedWrapper`
  Return the default `AutoMedWrapperFactory` that is used to generate `Schema` instances from information in a data sources

  Specified by:
    `getDefaultWrapperFactory` in class `AutoMedWrapper`

### executeIQL

    public ASG executeIQL(ASG g)

  Description copied from class: `AutoMedWrapper`
  Execute an IQL query on the datasource.

  Specified by:
    `executeIQL` in class `AutoMedWrapper`
  Parameters:
    `g` - An IQL query held in an `ASG` which complies with the limitations of what this wrapper is able to process
  Returns:
    An `ASG` containing the results of the query

### finalize

    public void finalize()
                  throws DataSourceException

  Overrides:
    `finalize` in class `java.lang.Object`
  Throws:
    `DataSourceException`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD