|
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.EdgeRealizerObjectEncoder
public class EdgeRealizerObjectEncoder
This class is capable of encoding an Edge's EdgeRealizer in valid gml format. It is used by GMLIOHandler.
Constructor Summary | |
---|---|
EdgeRealizerObjectEncoder()
|
Method Summary | |
---|---|
void |
encode(Object item,
GMLEncoder enc)
This method will try to encode the given object using the GMLEncoder |
static String |
encodeArcType(byte arcType)
Encodes the arc type of an ArcEdgeRealizer to one of the GML values fixedHeight or fixedRatio . |
static String |
encodeArrowType(Arrow a)
Encodes an arrow type to one of the GML values delta , standard ,
diamond , short ,
white_delta , white_diamond ,
none . |
static String |
encodeLineStyle(byte lineStyle)
Encodes a line-style constant to one of the GML values line , dashed or dotted . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EdgeRealizerObjectEncoder()
Method Detail |
---|
public void encode(Object item, GMLEncoder enc) throws IOException
ObjectEncoder
encode
in interface ObjectEncoder
IOException
- in the case of an I/O exceptionitem
- the object to be encodedenc
- an encoderpublic static String encodeArcType(byte arcType)
fixedHeight
or fixedRatio
.
public static String encodeArrowType(Arrow a)
delta
, standard
,
diamond
, short
,
white_delta
, white_diamond
,
none
.
public static String encodeLineStyle(byte lineStyle)
line
, dashed
or dotted
.
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |