step.encoding
Class EncoderEvent
java.lang.Object
|
+--step.encoding.EncoderEvent
- All Implemented Interfaces:
- MetaEvent, Serializable, StepObject, StepRecord
- Direct Known Subclasses:
- EncoderMessageEvent, IrregularValueEvent
- public abstract class EncoderEvent
- extends Object
- implements StepRecord, MetaEvent
The root of events that are applied to a specific encoder.
- See Also:
Encoder
,
EncoderFactory.queueEvent(EncoderEvent)
,
Serialized Form
DEFINITION
public static final RecordDef DEFINITION
target
public StepString target
- The name of the encoder to apply this event to.
EncoderEvent
public EncoderEvent(StepString target)
apply
public void apply(EncoderFactory encFactory)
- Queue this event with the current factory.
- Specified by:
apply
in interface MetaEvent
- Parameters:
encFactory
- the factory used (or that will be used) to create the
encoder that is the target of this event.- See Also:
EncoderFactory.queueEvent(EncoderEvent)
applyToEncoder
public abstract void applyToEncoder(Encoder encoder)
- Apply this event to a specific encoder.
toString
public String toString()
- Get a text representation of this record.
- Overrides:
toString
in class Object