y.io.gml
Class NodeRealizerObjectEncoder

java.lang.Object
  |
  +--y.io.gml.NodeRealizerObjectEncoder
All Implemented Interfaces:
ObjectEncoder

public class NodeRealizerObjectEncoder
extends Object
implements ObjectEncoder

This class can encode NodeRealizers in valid GML


Constructor Summary
NodeRealizerObjectEncoder()
           
 
Method Summary
 void encode(Object item, GMLEncoder enc)
          This method will try to encode the given object using the GMLEncoder
static String encodeShape(byte shapeType)
          Encodes a ShapeNodeRealizer shape constant to a GML value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeRealizerObjectEncoder

public NodeRealizerObjectEncoder()
Method Detail

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
IOException
Parameters:
item - the object to be encoded
enc - an encoder

encodeShape

public static String encodeShape(byte shapeType)
Encodes a ShapeNodeRealizer shape constant to a GML value.


© Copyright 2000-2003,
yWorks GmbH.
All rights reserved.

2003