org.exist.xmldb
Class LocalResourceSet

java.lang.Object
  extended by org.exist.xmldb.LocalResourceSet
All Implemented Interfaces:
ResourceSet

public class LocalResourceSet
extends Object
implements ResourceSet


Constructor Summary
LocalResourceSet(Subject user, BrokerPool pool, LocalCollection col, Properties properties, Sequence val, String sortExpr)
           
 
Method Summary
 void addResource(Resource resource)
           
 void clear()
           
 ResourceIterator getIterator()
           
 ResourceIterator getIterator(long start)
           
 Resource getMembersAsResource()
           
 Resource getResource(long pos)
           
 long getSize()
          Gets the size attribute of the LocalResourceSet object
 void removeResource(long pos)
          Description of the Method
 Sequence toSequence()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalResourceSet

public LocalResourceSet(Subject user,
                        BrokerPool pool,
                        LocalCollection col,
                        Properties properties,
                        Sequence val,
                        String sortExpr)
                 throws XMLDBException
Throws:
XMLDBException
Method Detail

addResource

public void addResource(Resource resource)
                 throws XMLDBException
Specified by:
addResource in interface ResourceSet
Throws:
XMLDBException

clear

public void clear()
           throws XMLDBException
Specified by:
clear in interface ResourceSet
Throws:
XMLDBException

getIterator

public ResourceIterator getIterator()
                             throws XMLDBException
Specified by:
getIterator in interface ResourceSet
Throws:
XMLDBException

getIterator

public ResourceIterator getIterator(long start)
                             throws XMLDBException
Throws:
XMLDBException

getMembersAsResource

public Resource getMembersAsResource()
                              throws XMLDBException
Specified by:
getMembersAsResource in interface ResourceSet
Throws:
XMLDBException

getResource

public Resource getResource(long pos)
                     throws XMLDBException
Specified by:
getResource in interface ResourceSet
Throws:
XMLDBException

toSequence

public Sequence toSequence()

getSize

public long getSize()
             throws XMLDBException
Gets the size attribute of the LocalResourceSet object

Specified by:
getSize in interface ResourceSet
Returns:
The size value
Throws:
XMLDBException - Description of the Exception

removeResource

public void removeResource(long pos)
                    throws XMLDBException
Description of the Method

Specified by:
removeResource in interface ResourceSet
Parameters:
pos - Description of the Parameter
Throws:
XMLDBException - Description of the Exception


Copyright (C) The eXist-db Project. All rights reserved.