step.encoding.profile
Class PStrideIntStrategy

java.lang.Object
  |
  +--step.encoding.Encoder
        |
        +--step.encoding.Strategy
              |
              +--step.encoding.RegularValueStrategy
                    |
                    +--step.encoding.StrideIntStrategy
                          |
                          +--step.encoding.profile.PStrideIntStrategy
All Implemented Interfaces:
Profiled

public class PStrideIntStrategy
extends StrideIntStrategy
implements Profiled


Field Summary
 
Fields inherited from class step.encoding.StrideIntStrategy
STRATEGY_NAME
 
Fields inherited from class step.encoding.RegularValueStrategy
_nextIsRegular
 
Fields inherited from class step.encoding.Strategy
_baseEncoder
 
Constructor Summary
PStrideIntStrategy(Encoder baseEncoder, int stride)
           
 
Method Summary
 void encode(StepObject o, EncodeContext context)
          Encode a stride value.
 void printProfile(PrintWriter out)
           
 
Methods inherited from class step.encoding.StrideIntStrategy
decode, dump
 
Methods inherited from class step.encoding.RegularValueStrategy
setNextIsRegular
 
Methods inherited from class step.encoding.Strategy
baseDecode, baseEncode, eventMessage
 
Methods inherited from class step.encoding.Encoder
getFactory, getName, indent, makeFieldName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PStrideIntStrategy

public PStrideIntStrategy(Encoder baseEncoder,
                          int stride)
Method Detail

encode

public void encode(StepObject o,
                   EncodeContext context)
            throws EncoderException,
                   IOException
Description copied from class: StrideIntStrategy
Encode a stride value.

Overrides:
encode in class StrideIntStrategy
Throws:
EncoderException - if the value is not a StepInt.
IOException

printProfile

public void printProfile(PrintWriter out)
Specified by:
printProfile in interface Profiled