com.dbxml.db.client.xmldb
Class BinaryResourceImpl
java.lang.Object
com.dbxml.db.client.xmldb.BinaryResourceImpl
- All Implemented Interfaces:
- org.xmldb.api.modules.BinaryResource, org.xmldb.api.base.Resource
- public final class BinaryResourceImpl
- extends java.lang.Object
- implements org.xmldb.api.modules.BinaryResource
BinaryResourceImpl
Field Summary |
static java.lang.String |
TYPE
|
Fields inherited from interface org.xmldb.api.modules.BinaryResource |
RESOURCE_TYPE |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE
public static final java.lang.String TYPE
- See Also:
- Constant Field Values
BinaryResourceImpl
public BinaryResourceImpl(CollectionImpl parent,
java.lang.String id,
byte[] content)
getParentCollection
public org.xmldb.api.base.Collection getParentCollection()
throws org.xmldb.api.base.XMLDBException
- Specified by:
getParentCollection
in interface org.xmldb.api.base.Resource
- Throws:
org.xmldb.api.base.XMLDBException
getId
public java.lang.String getId()
throws org.xmldb.api.base.XMLDBException
- Specified by:
getId
in interface org.xmldb.api.base.Resource
- Throws:
org.xmldb.api.base.XMLDBException
getResourceType
public java.lang.String getResourceType()
throws org.xmldb.api.base.XMLDBException
- Specified by:
getResourceType
in interface org.xmldb.api.base.Resource
- Throws:
org.xmldb.api.base.XMLDBException
getContent
public java.lang.Object getContent()
throws org.xmldb.api.base.XMLDBException
- Specified by:
getContent
in interface org.xmldb.api.base.Resource
- Throws:
org.xmldb.api.base.XMLDBException
setContent
public void setContent(java.lang.Object value)
throws org.xmldb.api.base.XMLDBException
- Specified by:
setContent
in interface org.xmldb.api.base.Resource
- Throws:
org.xmldb.api.base.XMLDBException
Copyright (c) 2004 The dbXML Group