xpointer.datatype
Class SchemeListImpl

java.lang.Object
  |
  +--xpointer.datatype.SchemeListImpl
All Implemented Interfaces:
SchemeList

public class SchemeListImpl
extends java.lang.Object
implements SchemeList

An implementation of the SchemeList interface.


Constructor Summary
SchemeListImpl()
          Creates new SchemeListImpl
 
Method Summary
 void addScheme(Scheme scheme)
           
 int getLength()
          Returns the number of schemes in the list
 Scheme item(int i)
          Returns the i-th scheme in the list
 void removeScheme(Scheme scheme)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemeListImpl

public SchemeListImpl()
Creates new SchemeListImpl
Method Detail

addScheme

public void addScheme(Scheme scheme)

getLength

public int getLength()
Description copied from interface: SchemeList
Returns the number of schemes in the list
Specified by:
getLength in interface SchemeList

item

public Scheme item(int i)
Description copied from interface: SchemeList
Returns the i-th scheme in the list
Specified by:
item in interface SchemeList

removeScheme

public void removeScheme(Scheme scheme)