|
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.ContentClientImpl
ContentClientImpl
Field Summary |
Fields inherited from interface com.dbxml.db.client.ContentClient |
TYPE_DOCUMENT, TYPE_VALUE |
Constructor Summary | |
ContentClientImpl(CollectionClient col,
Container container)
|
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. |
Container |
getInternalContiner()
|
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 java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ContentClientImpl(CollectionClient col, Container container)
Method Detail |
public Container getInternalContiner()
public int getContentType()
ContentClient
getContentType
in interface ContentClient
public java.lang.String getKey() throws dbXMLException
ContentClient
getKey
in interface ContentClient
dbXMLException
public java.lang.String getCanonicalName() throws dbXMLException
ContentClient
getCanonicalName
in interface ContentClient
dbXMLException
public CollectionClient getCollection() throws dbXMLException
ContentClient
getCollection
in interface ContentClient
dbXMLException
public org.w3c.dom.Document getDocument() throws dbXMLException
ContentClient
getDocument
in interface ContentClient
dbXMLException
public java.lang.String getDocumentAsText() throws dbXMLException
ContentClient
getDocumentAsText
in interface ContentClient
dbXMLException
public byte[] getValue() throws dbXMLException
ContentClient
getValue
in interface ContentClient
dbXMLException
public void setDocument(org.w3c.dom.Document document) throws dbXMLException
ContentClient
setDocument
in interface ContentClient
document
- The new Document content
dbXMLException
public void setDocumentAsText(java.lang.String document) throws dbXMLException
ContentClient
setDocumentAsText
in interface ContentClient
document
- The new Document content
dbXMLException
public void setValue(byte[] value) throws dbXMLException
ContentClient
setValue
in interface ContentClient
value
- The new Value content
dbXMLException
|
dbXML API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |