y.io.gml
Class NodeLabelGraphicsEncoder
java.lang.Object
y.io.gml.LabelGraphicsEncoder
y.io.gml.NodeLabelGraphicsEncoder
- All Implemented Interfaces:
- ObjectEncoder
public class NodeLabelGraphicsEncoder
- extends LabelGraphicsEncoder
This class can encode NodeLabels in valid GML
-
-
Method Summary |
void |
encode(java.lang.Object item,
GMLEncoder enc)
This method will try to encode the given object using the GMLEncoder |
static java.lang.String |
encodeAutoSizePolicy(byte policy)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
anchorEncoding
public static final java.util.Map anchorEncoding
modelEncoding
public static final java.util.Map modelEncoding
NodeLabelGraphicsEncoder
public NodeLabelGraphicsEncoder()
encode
public void encode(java.lang.Object item,
GMLEncoder enc)
throws java.io.IOException
- Description copied from interface:
ObjectEncoder
- This method will try to encode the given object using the GMLEncoder
- Specified by:
encode
in interface ObjectEncoder
- Overrides:
encode
in class LabelGraphicsEncoder
- Parameters:
item
- the object to be encodedenc
- an encoder
- Throws:
java.io.IOException
- in the case of an I/O exception
encodeAutoSizePolicy
public static java.lang.String encodeAutoSizePolicy(byte policy)