|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--y.io.gml.DefaultEncoderFactory
This class is an implementation of the EncoderFactory interface. This implementation is capable of encoding the basic gml features. It makes use of instances of GmlObjectEncoder, GraphObjectEncoder, EdgeObjectEncoder and NodeObjectEncoder
Constructor Summary | |
DefaultEncoderFactory()
|
Method Summary | |
ObjectEncoder |
createEdgeEncoder(ObjectEncoder graphEncoder)
create an encoder that is capable of encoding an edge |
ObjectEncoder |
createGMLEncoder()
return an Encoder, that is capable of writing the gml header |
ObjectEncoder |
createGraphEncoder(ObjectEncoder gmlEncoder)
create an encoder that is capable of encoding a graph |
ObjectEncoder |
createNodeEncoder(ObjectEncoder graphEncoder)
create an encoder that is capable of encoding a node |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultEncoderFactory()
Method Detail |
public ObjectEncoder createEdgeEncoder(ObjectEncoder graphEncoder)
EncoderFactory
createEdgeEncoder
in interface EncoderFactory
graphEncoder
- the parent encoder
public ObjectEncoder createGMLEncoder()
EncoderFactory
createGMLEncoder
in interface EncoderFactory
public ObjectEncoder createGraphEncoder(ObjectEncoder gmlEncoder)
EncoderFactory
createGraphEncoder
in interface EncoderFactory
gmlEncoder
- an encoder
public ObjectEncoder createNodeEncoder(ObjectEncoder graphEncoder)
EncoderFactory
createNodeEncoder
in interface EncoderFactory
graphEncoder
- the parent encoder
|
© Copyright 2000-2003, yWorks GmbH. All rights reserved. 2003 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |