org.erights.e.elib.slot
Class ListGuard

java.lang.Object
  |
  +--org.erights.e.elib.slot.BaseGuard
        |
        +--org.erights.e.elib.slot.ListGuard
All Implemented Interfaces:
Guard, SlotGuard, ValueGuard

public class ListGuard
extends BaseGuard

Safe:


Field Summary
private  ValueGuard myElemGuard
           
 
Fields inherited from class org.erights.e.elib.slot.BaseGuard
myOptValueGuard
 
Constructor Summary
ListGuard(ValueGuard elemGuard)
          Enabled:
 
Method Summary
 Object coerce(Object specimen, OneArgFunc optEjector)
          Enabled:
 ValueGuard getElemGuard()
          Enabled:
 String getName()
          Enabled: "elem-guard-name[]"
 
Methods inherited from class org.erights.e.elib.slot.BaseGuard
__printOn, accepts, and, butNot, coerce, get, makeSlot, makeSlot, not, or, toString, xor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

myElemGuard

private final ValueGuard myElemGuard
Constructor Detail

ListGuard

public ListGuard(ValueGuard elemGuard)
Enabled:

Method Detail

coerce

public Object coerce(Object specimen,
                     OneArgFunc optEjector)
Enabled:

Specified by:
coerce in interface ValueGuard
Overrides:
coerce in class BaseGuard

getName

public String getName()
Enabled: "elem-guard-name[]"

Specified by:
getName in interface SlotGuard
Overrides:
getName in class BaseGuard

getElemGuard

public ValueGuard getElemGuard()
Enabled:

Returns:


comments?