org.erights.e.elib.serial
Class DeepFrozenAuditor

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

public class DeepFrozenAuditor
extends BaseAuditor

Untamed: The guard and auditor known as "DeepFrozen".

Author:
Mark S. Miller

Field Summary
static DeepFrozenAuditor THE_ONE
          Enabled:
 
Fields inherited from class org.erights.e.elib.slot.BaseGuard
myOptValueGuard
 
Constructor Summary
private DeepFrozenAuditor()
           
 
Method Summary
 Object coerce(Object specimen, OneArgFunc optEjector)
          Enabled: Coerces specimen to be DeepFrozen, which includes types that are not Java-subtypes of DeepFrozen.
 String getName()
          Enabled:
 
Methods inherited from class org.erights.e.elib.slot.BaseAuditor
audit
 
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

THE_ONE

public static final DeepFrozenAuditor THE_ONE
Enabled:

Constructor Detail

DeepFrozenAuditor

private DeepFrozenAuditor()
Method Detail

getName

public String getName()
Enabled:

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

coerce

public Object coerce(Object specimen,
                     OneArgFunc optEjector)
Enabled: Coerces specimen to be DeepFrozen, which includes types that are not Java-subtypes of DeepFrozen.

If the specimen can't be coerced, exit according to optEjector.

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


comments?