|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgov.noaa.gdsg.xmldbremote.xmldbClient.XmldbClientDatabase
public class XmldbClientDatabase
This is an XML:DB Database API implementation which uses a SOAP stub to make remote calls.
| Constructor Summary | |
|---|---|
XmldbClientDatabase()
Creates a new instance of XmldbClientDatabase |
|
| Method Summary | |
|---|---|
boolean |
acceptsURI(java.lang.String uri)
Determines if this Database accepts the specified URI |
org.xmldb.api.base.Collection |
getCollection(java.lang.String uri,
java.lang.String userName,
java.lang.String password)
Returns the specified collection. |
java.lang.String |
getConformanceLevel()
Returns the conformance level of the remote database interface. |
java.lang.String |
getEndPointUrl()
Getter for property endPointUrl. |
java.lang.String |
getName()
Deprecated. Use #getNames. |
java.lang.String |
getProperty(java.lang.String str)
Throws an exceptioin as ErrorCodes.NOT_IMPLEMENTED. |
java.lang.String |
getRemoteDatabaseUri()
Getter for property databaseUri. |
org.apache.axis.client.Service |
getService()
Getter for property service. |
void |
init()
Initializes the datbase |
static org.xmldb.api.base.Database |
newDatabase(java.lang.String endpointUrl)
|
static org.xmldb.api.base.Database |
newDefaultDatabase()
|
void |
setEndPointUrl(java.lang.String endPointUrl)
Setter for property endPointUrl. |
void |
setProperty(java.lang.String str,
java.lang.String str1)
Throws an exceptioin as ErrorCodes.NOT_IMPLEMENTED. |
void |
setRemoteDatabaseUri(java.lang.String remoteDatabaseUri)
Setter for property databaseUri. |
void |
setService(org.apache.axis.client.Service service)
Setter for property service. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XmldbClientDatabase()
| Method Detail |
|---|
public static org.xmldb.api.base.Database newDefaultDatabase()
throws org.xmldb.api.base.XMLDBException
org.xmldb.api.base.XMLDBException
public static org.xmldb.api.base.Database newDatabase(java.lang.String endpointUrl)
throws org.xmldb.api.base.XMLDBException
org.xmldb.api.base.XMLDBException
public void init()
throws org.xmldb.api.base.XMLDBException
org.xmldb.api.base.XMLDBException - All exception are caught and rethrown as one.
public boolean acceptsURI(java.lang.String uri)
throws org.xmldb.api.base.XMLDBException
acceptsURI in interface org.xmldb.api.base.Databaseuri - The URI to check.
org.xmldb.api.base.XMLDBException - All exceptions are rethrown as one.
public org.xmldb.api.base.Collection getCollection(java.lang.String uri,
java.lang.String userName,
java.lang.String password)
throws org.xmldb.api.base.XMLDBException
getCollection in interface org.xmldb.api.base.Databaseuri - The uri identifying the collectionpassword - The password associated with the useruserName - The user name
org.xmldb.api.base.XMLDBException - All exceptions are rethrown as one.
public java.lang.String getConformanceLevel()
throws org.xmldb.api.base.XMLDBException
getConformanceLevel in interface org.xmldb.api.base.Databaseorg.xmldb.api.base.XMLDBException - All exceptions are rethrown as one.
public java.lang.String getName()
throws org.xmldb.api.base.XMLDBException
#getNames.
getName in interface org.xmldb.api.base.Databaseorg.xmldb.api.base.XMLDBException - All exceptions are rethrown as one.
public java.lang.String getProperty(java.lang.String str)
throws org.xmldb.api.base.XMLDBException
getProperty in interface org.xmldb.api.base.Configurablestr - Ignored
org.xmldb.api.base.XMLDBException - Always with ErrorCodes.NOT_IMPLEMENTED
public void setProperty(java.lang.String str,
java.lang.String str1)
throws org.xmldb.api.base.XMLDBException
setProperty in interface org.xmldb.api.base.Configurablestr - Ignoredstr1 - Ignored
org.xmldb.api.base.XMLDBException - Always with ErrorCodes.NOT_IMPLEMENTEDpublic java.lang.String getEndPointUrl()
public void setEndPointUrl(java.lang.String endPointUrl)
endPointUrl - New value of property endPointUrl.public org.apache.axis.client.Service getService()
public void setService(org.apache.axis.client.Service service)
service - New value of property service.public java.lang.String getRemoteDatabaseUri()
public void setRemoteDatabaseUri(java.lang.String remoteDatabaseUri)
remoteDatabaseUri - New value of property databaseUri.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||