step.encoding.profile
Class PConstantStrategy
java.lang.Object
|
+--step.encoding.Encoder
|
+--step.encoding.Strategy
|
+--step.encoding.RegularValueStrategy
|
+--step.encoding.ConstantStrategy
|
+--step.encoding.profile.PConstantStrategy
- All Implemented Interfaces:
- Profiled
- public class PConstantStrategy
- extends ConstantStrategy
- implements Profiled
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PConstantStrategy
public PConstantStrategy(Encoder baseEncoder,
int strategy)
encode
public void encode(StepObject o,
EncodeContext context)
throws EncoderException,
IOException
- Description copied from class:
ConstantStrategy
- Encode a constant value.
- Overrides:
encode
in class ConstantStrategy
- Throws:
EncoderException
- if the value is different from the default
(initial) value and the "constant" option is set.
IOException
printProfile
public void printProfile(PrintWriter out)
- Specified by:
printProfile
in interface Profiled