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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
anchorEncoding
public static final Map anchorEncoding
modelEncoding
public static final Map modelEncoding
NodeLabelGraphicsEncoder
public NodeLabelGraphicsEncoder()
encode
public void encode(Object item,
GMLEncoder enc)
throws 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
- Throws:
IOException
- in the case of an I/O exception- Parameters:
item
- the object to be encodedenc
- an encoder
encodeAutoSizePolicy
public static String encodeAutoSizePolicy(byte policy)