EXISTWrapper
Keywords: uk.ac.bbk.dcs.automed.xml.wrappers.EXISTWrapper 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 EXISTWrapper

    java.lang.Object
      uk.ac.ic.doc.automed.wrappers.AutoMedWrapper
          uk.ac.bbk.dcs.automed.xml.wrappers.XMLWrapper
              uk.ac.bbk.dcs.automed.xml.wrappers.NXDBWrapper
                  uk.ac.bbk.dcs.automed.xml.wrappers.EXISTWrapper

    public class EXISTWrapper

extends NXDBWrapper

Class Task Description

Author:
  Lucas Zamboulis

Field Summary

Fields inherited from class uk.ac.bbk.dcs.automed.xml.wrappers.XMLWrapper
`logger, resultList, schemaDoc, schemaUIDDoc`

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

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

Method Summary
`protected void` | `connect()` Use the connection details held with this wrapper to connect to the data source.
`protected 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
`void` | `insertDocument(org.xmldb.api.base.Collection col, org.w3c.dom.Document doc, java.lang.String name)`
`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)`
`void` | `removeDocument(org.xmldb.api.base.Collection col, org.w3c.dom.Document doc, java.lang.String name)`

Methods inherited from class uk.ac.bbk.dcs.automed.xml.wrappers.NXDBWrapper
`compositeQuery, elementAttributeQuery, elementElementQuery, elementPCDataQuery, elementQuery, getDeepQuery, getQueryParser, setDeepQuery, textQuery`

Methods inherited from class uk.ac.bbk.dcs.automed.xml.wrappers.XMLWrapper
`assignCIDs, elementElementQuery, elementPCDataQuery, executeIQL, executeLocalQuery, executeXMLQuery, getSchemaDoc, getSchemaName, getSchemaUIDDoc, getSODefinition, getURI, getXMLDSS, initialiseWrapper, selectNewAutoMedWrapper, xpathForAttributeQuery, xpathForElementQuery, xpathForTextQuery`

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

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

Constructor Detail

### EXISTWrapper

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

Throws:
  `DataSourceException`
  `XMLException`

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`

### 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

    protected 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`

### connect

    protected void connect()
                    throws DataSourceException

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

  Overrides:
    `connect` in class `XMLWrapper`
  Throws:
    `DataSourceException` - if unable to connect to the data source

### insertDocument

    public void insertDocument(org.xmldb.api.base.Collection col,
                               org.w3c.dom.Document doc,
                               java.lang.String name)
                        throws XMLException

  Throws:
    `XMLException`

### removeDocument

    public void removeDocument(org.xmldb.api.base.Collection col,
                               org.w3c.dom.Document doc,
                               java.lang.String name)
                        throws XMLException

  Throws:
    `XMLException`

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