|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.nxqd.NxqdConsumer
net.sf.nxqd.xmldb.NxqdDatabase
public class NxqdDatabase
The class NxqdDatabase is the Xml:DB driver for
communicating with the Nxqd Apache module.
Database| Field Summary | |
|---|---|
static String |
NXQD_INTERNAL_SEP
|
static String |
NXQD_NAME
The NXQD_NAME constant is used to construct a Xml:DB URI
to connect to the Nxqd server. |
static String |
NXQD_ROOT
|
| Constructor Summary | |
|---|---|
NxqdDatabase()
The a new NxqdDatabase constructor creates a new instance
of this driver. |
|
| Method Summary | |
|---|---|
boolean |
acceptsURI(String uri)
|
static String |
decodePath(String path)
|
static String |
encodePath(String path)
|
static String |
extractCollectionName(String uri)
The extractCollectionName method will extract the Collection
name from the uri parameter. |
static String |
extractCollectionPath(String uri)
The extractCollectionPath method will extract the Collection
path from the uri parameter. |
Collection |
getCollection(String uri,
String userName,
String passWord)
|
String |
getConformanceLevel()
|
String |
getName()
|
String |
getProperty(String name)
|
static String |
parseHost(String uri)
The parseHost method will extract the host value
from the uri parameter. |
static String |
parsePort(String uri)
The parseHost method will extract the port value from
the uri parameter. |
void |
setProperty(String name,
String value)
|
| Methods inherited from class net.sf.nxqd.NxqdConsumer |
|---|
getNxqdManager, setNxqdManager |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String NXQD_NAME
NXQD_NAME constant is used to construct a Xml:DB URI
to connect to the Nxqd server.
public static final String NXQD_ROOT
public static final String NXQD_INTERNAL_SEP
| Constructor Detail |
|---|
public NxqdDatabase()
NxqdDatabase constructor creates a new instance
of this driver.
| Method Detail |
|---|
public final String getName()
throws XMLDBException
getName in interface DatabaseXMLDBExceptionDatabase.getName()
public final Collection getCollection(String uri,
String userName,
String passWord)
throws XMLDBException
getCollection in interface DatabaseXMLDBExceptionDatabase.getCollection(java.lang.String,
java.lang.String, java.lang.String)
public final boolean acceptsURI(String uri)
throws XMLDBException
acceptsURI in interface DatabaseXMLDBExceptionDatabase.acceptsURI(java.lang.String)
public final String getConformanceLevel()
throws XMLDBException
getConformanceLevel in interface DatabaseXMLDBExceptionDatabase.getConformanceLevel()
public final String getProperty(String name)
throws XMLDBException
getProperty in interface ConfigurableXMLDBExceptionConfigurable.getProperty(java.lang.String)
public final void setProperty(String name,
String value)
throws XMLDBException
setProperty in interface ConfigurableXMLDBExceptionConfigurable.setProperty(java.lang.String,
java.lang.String)public static String parseHost(String uri)
parseHost method will extract the host value
from the uri parameter.
uri - a String value
String value
public static String parsePort(String uri)
throws NxqdException
parseHost method will extract the port value from
the uri parameter.
uri - a String value
String value
NxqdExceptionpublic static String extractCollectionName(String uri)
extractCollectionName method will extract the Collection
name from the uri parameter.
uri - a String value
String value
public static String extractCollectionPath(String uri)
throws NxqdException
extractCollectionPath method will extract the Collection
path from the uri parameter.
uri - a String value
String value
NxqdExceptionpublic static String encodePath(String path)
public static String decodePath(String path)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||