|
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.EdgeObjectEncoder
public class EdgeObjectEncoder
This class is capable of encoding an Edge in valid gml format. It is used by GMLIOHandler.
Constructor Summary | |
---|---|
EdgeObjectEncoder()
|
|
EdgeObjectEncoder(ObjectEncoder realizerEncoder,
ObjectEncoder labelEncoder)
|
Method Summary | |
---|---|
void |
encode(java.lang.Object item,
GMLEncoder enc)
This method will try to encode the given object using the GMLEncoder |
ObjectEncoder |
getLabelEncoder()
Getter for property labelEncoder. |
ObjectEncoder |
getRealizerEncoder()
Getter for property realizerEncoder. |
void |
setLabelEncoder(ObjectEncoder labelEncoder)
Setter for property labelEncoder. |
void |
setRealizerEncoder(ObjectEncoder realizerEncoder)
Setter for property realizerEncoder. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EdgeObjectEncoder()
public EdgeObjectEncoder(ObjectEncoder realizerEncoder, ObjectEncoder labelEncoder)
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 getLabelEncoder()
public void setLabelEncoder(ObjectEncoder labelEncoder)
labelEncoder
- New value of property labelEncoder.public ObjectEncoder getRealizerEncoder()
public void setRealizerEncoder(ObjectEncoder realizerEncoder)
realizerEncoder
- New value of property realizerEncoder.
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |