|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.io.gml.GraphObjectEncoder
public class GraphObjectEncoder
This class is capable of encoding Graph in valid gml format. It is used by GMLIOHandler.
Constructor Summary | |
---|---|
GraphObjectEncoder()
|
|
GraphObjectEncoder(ObjectEncoder nodeEncoder,
ObjectEncoder edgeEncoder)
|
Method Summary | |
---|---|
void |
encode(java.lang.Object item,
GMLEncoder enc)
This method will try to encode the given object using the GMLEncoder |
ObjectEncoder |
getEdgeEncoder()
Getter for property edgeEncoder. |
ObjectEncoder |
getNodeEncoder()
Getter for property nodeEncoder. |
void |
setEdgeEncoder(ObjectEncoder edgeEncoder)
Setter for property edgeEncoder. |
void |
setNodeEncoder(ObjectEncoder nodeEncoder)
Setter for property nodeEncoder. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GraphObjectEncoder()
public GraphObjectEncoder(ObjectEncoder nodeEncoder, ObjectEncoder edgeEncoder)
Method Detail |
---|
public void encode(java.lang.Object item, GMLEncoder enc) throws java.io.IOException
ObjectEncoder
encode
in interface ObjectEncoder
item
- the object to be encodedenc
- an encoder
java.io.IOException
- in the case of an I/O exceptionpublic ObjectEncoder getEdgeEncoder()
public void setEdgeEncoder(ObjectEncoder edgeEncoder)
edgeEncoder
- New value of property edgeEncoder.public ObjectEncoder getNodeEncoder()
public void setNodeEncoder(ObjectEncoder nodeEncoder)
nodeEncoder
- New value of property nodeEncoder.
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |