net.sf.nxqd.xmldb
Class NxqdBinaryResource

java.lang.Object
  extended by net.sf.nxqd.xmldb.NxqdService
      extended by net.sf.nxqd.xmldb.NxqdBinaryResource
All Implemented Interfaces:
Configurable, Resource, Service, BinaryResource

public class NxqdBinaryResource
extends NxqdService
implements BinaryResource

Version:
1.0
Author:
See Also:
Resource

Field Summary
 
Fields inherited from class net.sf.nxqd.xmldb.NxqdService
NAME, VERSION
 
Fields inherited from interface org.xmldb.api.modules.BinaryResource
RESOURCE_TYPE
 
Constructor Summary
NxqdBinaryResource(Collection parent, String id, String type)
          The a new NxqdBinaryResource constructor creates a new instance of NxqdBinaryResource.
 
Method Summary
 Object getContent()
           
 String getId()
           
 Collection getParentCollection()
           
 String getResourceType()
           
 void setContent(Object data)
           
 
Methods inherited from class net.sf.nxqd.xmldb.NxqdService
getName, getProperty, getVersion, keys, removeProperty, setCollection, setProperty
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.xmldb.api.base.Resource
getId, getParentCollection, getResourceType
 

Constructor Detail

NxqdBinaryResource

public NxqdBinaryResource(Collection parent,
                          String id,
                          String type)
                   throws NxqdException,
                          XMLDBException
The a new NxqdBinaryResource constructor creates a new instance of NxqdBinaryResource.

Throws:
NxqdException
XMLDBException
Method Detail

setContent

public void setContent(Object data)
Specified by:
setContent in interface Resource
See Also:
Resource.setContent(java.lang.Object)

getContent

public Object getContent()
Specified by:
getContent in interface Resource
See Also:
Resource.getContent()

getResourceType

public String getResourceType()
                       throws XMLDBException
Specified by:
getResourceType in interface Resource
Throws:
XMLDBException
See Also:
Resource.getResourceType()

getId

public String getId()
             throws XMLDBException
Specified by:
getId in interface Resource
Throws:
XMLDBException
See Also:
Resource.getId()

getParentCollection

public Collection getParentCollection()
                               throws XMLDBException
Specified by:
getParentCollection in interface Resource
Throws:
XMLDBException
See Also:
Resource.getParentCollection()


Copyright © 2005-2006 nxqd. All Rights Reserved.