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
| Fields inherited from class uk.ac.ic.doc.automed.wrappers.AutoMedWrapper |
am, awf, debug, driver, emptyKeyProtection, emptyKeys, optionKeyProtection, optionKeys, password, s, url, username |
| 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 |
EXISTWrapper
public EXISTWrapper(AccessMethod am,
java.lang.String password)
throws DataSourceException,
XMLException
- Throws:
DataSourceException
XMLException
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