|
dbXML API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.dbxml.db.client.local.dbXMLClientImpl
dbXMLClientImpl
Field Summary |
Fields inherited from interface com.dbxml.db.client.dbXMLClient |
ALT_HOST, ALT_PASS, ALT_PORT, ALT_USER, HOST, PASS, PORT, USER |
Constructor Summary | |
dbXMLClientImpl()
|
Method Summary | |
void |
connect()
connect instructs the client to connect to the server. |
void |
disconnect()
disconnect instructs the client to disconnect from the server. |
CollectionClient |
getCollection(java.lang.String path)
getCollection returns the CollectionClient defined by the specified path. |
ContentClient |
getContent(java.lang.String path)
getContent returns the ContentClient defined by the specified path. |
CollectionClient |
getDatabase()
getDatabase returns the Database instance as a CollectionClient. |
java.util.Map |
getProperties()
getProperties returns the entire set of client properties. |
java.lang.String |
getProperty(java.lang.String name)
getProperty returns a connection property from the client. |
java.lang.String |
getServerVersion()
getServerVersion returns a string that includes the name and current version of the server that is currently connected. |
java.lang.String[] |
listProperties()
listProperties returns a list of the connection property names for the client. |
void |
setProperty(java.lang.String name,
java.lang.String value)
setProperty sets a connection property for the client. |
void |
shutdown(int exitCode)
shutdown shuts down the server with the specified exit code. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public dbXMLClientImpl()
Method Detail |
public void setProperty(java.lang.String name, java.lang.String value)
dbXMLClient
setProperty
in interface dbXMLClient
name
- The property namevalue
- The property valuepublic java.lang.String getProperty(java.lang.String name)
dbXMLClient
getProperty
in interface dbXMLClient
name
- The property name
public java.lang.String[] listProperties()
dbXMLClient
listProperties
in interface dbXMLClient
public java.util.Map getProperties()
dbXMLClient
getProperties
in interface dbXMLClient
public void connect() throws dbXMLException
dbXMLClient
connect
in interface dbXMLClient
dbXMLException
public void disconnect() throws dbXMLException
dbXMLClient
disconnect
in interface dbXMLClient
dbXMLException
public java.lang.String getServerVersion() throws dbXMLException
dbXMLClient
getServerVersion
in interface dbXMLClient
dbXMLException
public void shutdown(int exitCode) throws dbXMLException
dbXMLClient
shutdown
in interface dbXMLClient
exitCode
- The exit code to use
dbXMLException
public CollectionClient getDatabase() throws dbXMLException
dbXMLClient
getDatabase
in interface dbXMLClient
dbXMLException
public CollectionClient getCollection(java.lang.String path) throws dbXMLException
dbXMLClient
getCollection
in interface dbXMLClient
path
- The Collection path
dbXMLException
public ContentClient getContent(java.lang.String path) throws dbXMLException
dbXMLClient
getContent
in interface dbXMLClient
path
- The Document path
dbXMLException
|
dbXML API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |