|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.noaa.gdsg.xmldbremote.xmldbClient.XmldbClientResourceSet
public class XmldbClientResourceSet
The client interface for the SOAP interface.
Constructor Summary | |
---|---|
XmldbClientResourceSet(gov.noaa.gdsg.xmldbremote.ResourceSet resourceSet,
gov.noaa.gdsg.xmldbremote.NmmrdbSoapBindingStub stub,
XmldbClientCollection parentCollection)
Creates a new instance of XmldbClientResourceSet |
Method Summary | |
---|---|
void |
addResource(org.xmldb.api.base.Resource resource)
Adds a resource to this resource set. |
void |
clear()
Clears this resrouce set of resource |
org.xmldb.api.base.ResourceIterator |
getIterator()
Throws a NOT_IMPLEMENTED exception |
org.xmldb.api.base.Resource |
getMembersAsResource()
Throws a NOT_IMPLEMENTED exception |
org.xmldb.api.base.Resource |
getResource(long index)
Returns a requested resource. |
long |
getSize()
Gets the the number of Resources in this set. |
void |
removeResource(long index)
Removes the resource from this resource set. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XmldbClientResourceSet(gov.noaa.gdsg.xmldbremote.ResourceSet resourceSet, gov.noaa.gdsg.xmldbremote.NmmrdbSoapBindingStub stub, XmldbClientCollection parentCollection)
resourceSet
- Represents the object on the remote server.stub
- used to make remote calls.parentCollection
- The collection this resource set is associated with.Method Detail |
---|
public void addResource(org.xmldb.api.base.Resource resource) throws org.xmldb.api.base.XMLDBException
addResource
in interface org.xmldb.api.base.ResourceSet
resource
- The resource to add
org.xmldb.api.base.XMLDBException
- Everything is caught and rethrown as one.public void clear() throws org.xmldb.api.base.XMLDBException
clear
in interface org.xmldb.api.base.ResourceSet
org.xmldb.api.base.XMLDBException
- Everything is caught and rethrown as one.public org.xmldb.api.base.ResourceIterator getIterator() throws org.xmldb.api.base.XMLDBException
getIterator
in interface org.xmldb.api.base.ResourceSet
org.xmldb.api.base.XMLDBException
- Everything is caught and rethrown as one.public org.xmldb.api.base.Resource getMembersAsResource() throws org.xmldb.api.base.XMLDBException
getMembersAsResource
in interface org.xmldb.api.base.ResourceSet
org.xmldb.api.base.XMLDBException
- Everything is caught and rethrown as one.public org.xmldb.api.base.Resource getResource(long index) throws org.xmldb.api.base.XMLDBException
getResource
in interface org.xmldb.api.base.ResourceSet
index
- The index, in this set, of the resource which one wishes to retrieve.
org.xmldb.api.base.XMLDBException
- All exceptions are rethrown as one.public long getSize() throws org.xmldb.api.base.XMLDBException
getSize
in interface org.xmldb.api.base.ResourceSet
org.xmldb.api.base.XMLDBException
- All exceptions are rethrown as one.public void removeResource(long index) throws org.xmldb.api.base.XMLDBException
removeResource
in interface org.xmldb.api.base.ResourceSet
index
- The index of the resource to remove.
org.xmldb.api.base.XMLDBException
- All exceptions are rethrown as one.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |