|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--step.encoding.EncoderFactory
Constructor Summary | |
EncoderFactory()
|
Method Summary | |
Encoder |
getEncoder(String name)
|
Encoder |
newEncoder(String name,
Type valueType)
Create a new encoder using the default definition for the given type. |
Encoder |
newEncoder(String name,
TypeDef valueTypeDef)
Create a new encoder for the given type definition. |
Encoder |
newEncoder(String name,
TypeDef typeDef,
List attributes)
Create a new encoder for the given type definition with the given attributes. |
Encoder |
newEncoder(String name,
Type valueType,
List attributes)
Create a new encoder using the default definition for the given type. |
Encoder |
newRecordEncoder(String name)
Create a "universal" record encoder, capable of encoding all STEP records. |
void |
queueEvent(EncoderEvent event)
If the target exists, apply the event immediately, otherwise queue the event until the target encoder is created by this factory. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EncoderFactory()
Method Detail |
public Encoder newRecordEncoder(String name)
public Encoder newEncoder(String name, Type valueType)
TypeDef.getDefault(Type)
public Encoder newEncoder(String name, TypeDef valueTypeDef)
public Encoder newEncoder(String name, Type valueType, List attributes)
TypeDef.getDefault(Type)
public Encoder newEncoder(String name, TypeDef typeDef, List attributes)
IllegalArgumentException
- if the given type definition
cannot be handled by this factory.public void queueEvent(EncoderEvent event)
public Encoder getEncoder(String name)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |