step.encoding
Class RegularValueStrategy

java.lang.Object
  |
  +--step.encoding.Encoder
        |
        +--step.encoding.Strategy
              |
              +--step.encoding.RegularValueStrategy
Direct Known Subclasses:
CacheStrategy, ConstantStrategy, DeltaIntStrategy, IdentifierStrategy, StrideIntStrategy, WindowIntStrategy

public abstract class RegularValueStrategy
extends Strategy

Assume that values appear in some regular pattern. Irregularities are signalled with an IrregularValueEvent.


Field Summary
protected  boolean _nextIsRegular
          Is the next value to be decoded "regular"?
 
Fields inherited from class step.encoding.Strategy
_baseEncoder
 
Constructor Summary
protected RegularValueStrategy(Encoder baseEncoder, String strategyName)
           
 
Method Summary
protected  void setNextIsRegular(boolean nextIsRegular)
          Mark the next input value a regular or irregular.
 
Methods inherited from class step.encoding.Strategy
baseDecode, baseEncode, eventMessage
 
Methods inherited from class step.encoding.Encoder
decode, dump, encode, getFactory, getName, indent, makeFieldName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_nextIsRegular

protected boolean _nextIsRegular
Is the next value to be decoded "regular"?

Constructor Detail

RegularValueStrategy

protected RegularValueStrategy(Encoder baseEncoder,
                               String strategyName)
Method Detail

setNextIsRegular

protected void setNextIsRegular(boolean nextIsRegular)
Mark the next input value a regular or irregular.