Copyright 2002 by aragost

com.aragost.araspect.handlers
Class GenericCollectionHandler

java.lang.Object
  |
  +--com.aragost.araspect.handlers.Handler
        |
        +--com.aragost.araspect.handlers.GenericCollectionHandler
Direct Known Subclasses:
CollectionHandler, MapHandler, StrutsObjectHandler

public abstract class GenericCollectionHandler
extends Handler


Constructor Summary
GenericCollectionHandler()
           
 
Method Summary
 boolean canRemoveEntries()
          Indicate if entries can be removed from the collection
protected abstract  java.util.Iterator getEntryIterator()
          Return an Iterator with TableEntry's for each entry in the collection.
 int getStart()
          Getter for property start.
 java.lang.String getTitle()
          Return the title of the table displaying the contents.
 void initFromRequest(javax.servlet.ServletRequest request)
          DOCUMENT ME!
 void setStart(int start)
          Setter for property start.
 
Methods inherited from class com.aragost.araspect.handlers.Handler
addGetters, getFacade, getHtmlUtils, getInspector, getNext, getPath, setNext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericCollectionHandler

public GenericCollectionHandler()
Method Detail

getTitle

public java.lang.String getTitle()
Return the title of the table displaying the contents.

Returns:
DOCUMENT ME!

initFromRequest

public void initFromRequest(javax.servlet.ServletRequest request)
DOCUMENT ME!

Overrides:
initFromRequest in class Handler
Parameters:
request - DOCUMENT ME!

getEntryIterator

protected abstract java.util.Iterator getEntryIterator()
                                                throws EvaluationException
Return an Iterator with TableEntry's for each entry in the collection. If the default evaluation methods should work this should return the same order every time

Returns:
DOCUMENT ME!
Throws:
EvaluationException - DOCUMENT ME!

canRemoveEntries

public boolean canRemoveEntries()
Indicate if entries can be removed from the collection

Returns:
DOCUMENT ME!

getStart

public int getStart()
Getter for property start.

Returns:
Value of property start.

setStart

public void setStart(int start)
Setter for property start.

Parameters:
start - New value of property start.

Copyright 2002 by aragost