|
dbXML API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.dbxml.db.client.xmlrpc.ConnectionManager
com.dbxml.db.client.xmlrpc.ContentClientImpl
ContentClientImpl
| Field Summary |
| Fields inherited from class com.dbxml.db.client.xmlrpc.ConnectionManager |
CONNECTION, SECURE, STANDARD |
| Fields inherited from interface com.dbxml.db.client.ContentClient |
TYPE_DOCUMENT, TYPE_VALUE |
| Constructor Summary | |
ContentClientImpl(dbXMLClientImpl dbxmlClient,
CollectionClientImpl parent,
java.lang.String path)
|
|
ContentClientImpl(dbXMLClientImpl dbxmlClient,
java.lang.String path)
|
|
| Method Summary | |
java.lang.String |
getCanonicalName()
getCanonicalName returns the canonical path for the Content. |
CollectionClient |
getCollection()
getCollection returns the CollectionClient that this ContentClientImpl belongs to. |
int |
getContentType()
getContainerType returns the content type for this client. |
org.w3c.dom.Document |
getDocument()
getDocument returns the Document Content as a DOM Document. |
java.lang.String |
getDocumentAsText()
getDocumentAsText returns the Document Content as text. |
java.lang.String |
getKey()
getKey returns the Content Key. |
byte[] |
getValue()
getValue returns the Value Content as a byte array. |
void |
setDocument(org.w3c.dom.Document document)
setDocument sets or overwrites the Document Content. |
void |
setDocumentAsText(java.lang.String document)
setDocumentAsText sets or overwrites the Document Content. |
void |
setValue(byte[] value)
setValue sets or overwrites the Value Content. |
| Methods inherited from class com.dbxml.db.client.xmlrpc.ConnectionManager |
execute, executeBinary, executeBoolean, executeInt, executeList, executeMap, executeString, getClientPath, getProperties, getProperty, getXmlRpcClient, listProperties, setClientPath, setProperty |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ContentClientImpl(dbXMLClientImpl dbxmlClient,
CollectionClientImpl parent,
java.lang.String path)
throws dbXMLException
public ContentClientImpl(dbXMLClientImpl dbxmlClient,
java.lang.String path)
throws dbXMLException
| Method Detail |
public int getContentType()
throws dbXMLException
ContentClient
getContentType in interface ContentClientdbXMLException
public java.lang.String getKey()
throws dbXMLException
ContentClient
getKey in interface ContentClientdbXMLException
public java.lang.String getCanonicalName()
throws dbXMLException
ContentClient
getCanonicalName in interface ContentClientdbXMLException
public CollectionClient getCollection()
throws dbXMLException
ContentClient
getCollection in interface ContentClientdbXMLException
public java.lang.String getDocumentAsText()
throws dbXMLException
ContentClient
getDocumentAsText in interface ContentClientdbXMLException
public org.w3c.dom.Document getDocument()
throws dbXMLException
ContentClient
getDocument in interface ContentClientdbXMLException
public byte[] getValue()
throws dbXMLException
ContentClient
getValue in interface ContentClientdbXMLException
public void setDocumentAsText(java.lang.String document)
throws dbXMLException
ContentClient
setDocumentAsText in interface ContentClientdocument - The new Document content
dbXMLException
public void setDocument(org.w3c.dom.Document document)
throws dbXMLException
ContentClient
setDocument in interface ContentClientdocument - The new Document content
dbXMLException
public void setValue(byte[] value)
throws dbXMLException
ContentClient
setValue in interface ContentClientvalue - The new Value content
dbXMLException
|
dbXML API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||