net.groboclown.xml.xdstates.v1.modules
Class VSelectEach
java.lang.Object
|
+--net.groboclown.xml.xdstates.v1.modules.AbstractVSelect
|
+--net.groboclown.xml.xdstates.v1.modules.VSelectEach
- All Implemented Interfaces:
- IPermuteValueModule, IValueModule
- public class VSelectEach
- extends AbstractVSelect
A generic value module that selects a subset of items from the
underlying collection. The subclasses must getIndex(), setIndex(), and
setHasMore() in its selection method.
- Version:
- Alpha 0.9.0 - JDK 1.2+
- Author:
- Matt Albrecht
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
VALUES
private static final String[] VALUES
VSelectEach
public VSelectEach()
copyAbstractVSelect
protected AbstractVSelect copyAbstractVSelect()
- Overrides:
copyAbstractVSelect
in class AbstractVSelect
select
protected void select(IItem[] in,
ArrayList out)
- Load the given out list with the selected items from
the in list, using the current getIndex(). At
the end of this method, the implementors must call
setIndex() and setHasMore() to their correct
state.
If the in item list is empty, then this method will
not be called.
- Overrides:
select
in class AbstractVSelect
Written under the LGPL