org.backsource.xindice.cursor
Class ResourceSetCursor

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byorg.backsource.xindice.cursor.ResourceSetCursor
All Implemented Interfaces:
java.util.Collection, Cursor, java.util.List

public class ResourceSetCursor
extends java.util.AbstractList
implements Cursor

Cursor for an XML:DB ResourceSet, is mostly used to get the cursor chain going, or for subclassing or usage as a delegator.

Version:
$Revision: 1.1.1.1 $
Author:
Peter Antman

Field Summary
protected  org.xmldb.api.base.ResourceSet set
           
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
ResourceSetCursor(org.xmldb.api.base.ResourceSet set)
           
 
Method Summary
 java.lang.Object get(int i)
           
 void setSource(Cursor cursor)
          Throws an XindiceException if used!.
 int size()
           
 
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
 
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, subList, toArray, toArray
 

Field Detail

set

protected org.xmldb.api.base.ResourceSet set
Constructor Detail

ResourceSetCursor

public ResourceSetCursor(org.xmldb.api.base.ResourceSet set)
Method Detail

setSource

public void setSource(Cursor cursor)
               throws XindiceException
Throws an XindiceException if used!.

Specified by:
setSource in interface Cursor
Throws:
XindiceException

get

public java.lang.Object get(int i)
                     throws java.lang.IndexOutOfBoundsException,
                            java.lang.IllegalStateException
Specified by:
get in interface java.util.List
Throws:
java.lang.IndexOutOfBoundsException
java.lang.IllegalStateException

size

public int size()
         throws java.lang.IllegalStateException
Specified by:
size in interface java.util.List
Throws:
java.lang.IllegalStateException


Copyright © 2003-2004 Backsource. All Rights Reserved.