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

Field Summary
static RecordDef DEFINITION
           
 StepString target
          The name of the encoder to apply this event to.
 
Fields inherited from interface step.StepRecord
TYPE
 
Constructor Summary
EncoderEvent(StepString target)
           
 
Method Summary
 void apply(EncoderFactory encFactory)
          Queue this event with the current factory.
abstract  void applyToEncoder(Encoder encoder)
          Apply this event to a specific encoder.
 String toString()
          Get a text representation of this record.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface step.StepRecord
fieldIterator
 
Methods inherited from interface step.StepObject
equals, hashCode
 

Field Detail

DEFINITION

public static final RecordDef DEFINITION

target

public StepString target
The name of the encoder to apply this event to.

Constructor Detail

EncoderEvent

public EncoderEvent(StepString target)
Method Detail

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