|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.exist.xmldb.RemoteResourceSet
public class RemoteResourceSet
| Constructor Summary | |
|---|---|
RemoteResourceSet(RemoteCollection col,
Properties properties,
Vector resources,
int handle)
|
|
| Method Summary | |
|---|---|
void |
addResource(Resource resource)
Adds a Resource instance to the set. |
void |
clear()
Removes all Resource instances from the set. |
ResourceIterator |
getIterator()
Returns an iterator over all Resource instances stored in the set. |
ResourceIterator |
getIterator(long start)
|
Resource |
getMembersAsResource()
Returns a Resource containing an XML representation of all resources stored in the set. |
Resource |
getResource(long pos)
|
long |
getSize()
Returns the number of resources contained in the set. |
void |
removeResource(long pos)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.xmldb.api.base.ResourceSet |
|---|
addAll, getResource, removeResource |
| Constructor Detail |
|---|
public RemoteResourceSet(RemoteCollection col,
Properties properties,
Vector resources,
int handle)
| Method Detail |
|---|
public void addResource(Resource resource)
ResourceSetResource instance to the set.
addResource in interface ResourceSetresource - The Resource to add to the set.
public void clear()
throws XMLDBException
ResourceSetResource instances from the set.
clear in interface ResourceSetXMLDBException - with expected error codes.ErrorCodes.VENDOR_ERROR for any vendor
specific errors that occur.
public ResourceIterator getIterator()
throws XMLDBException
ResourceSetResource instances stored in the set.
getIterator in interface ResourceSetResourceIterator over all Resource
instances in the set.
XMLDBException - with expected error codes.ErrorCodes.VENDOR_ERROR for any vendor
specific errors that occur.
public ResourceIterator getIterator(long start)
throws XMLDBException
XMLDBException
public Resource getMembersAsResource()
throws XMLDBException
ResourceSet
getMembersAsResource in interface ResourceSetResource instance containing an XML representation
of all set members.
XMLDBException - with expected error codes.ErrorCodes.VENDOR_ERROR for any vendor
specific errors that occur.
public Resource getResource(long pos)
throws XMLDBException
XMLDBException
public long getSize()
throws XMLDBException
ResourceSetResource instances. Calling this method MAY
force the downloading of all set members before the size can be determined.
getSize in interface ResourceSetResource instances in the set.
XMLDBException - with expected error codes.ErrorCodes.VENDOR_ERROR for any vendor
specific errors that occur.
public void removeResource(long pos)
throws XMLDBException
XMLDBException
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||