y.io.gml
Class HierarchyEdgeObjectEncoder

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

public class HierarchyEdgeObjectEncoder
extends Object
implements ObjectEncoder

This class is capable of encoding an edge of a Hierarchic Graph in valid gml format. It is used by HierarchicGraphEncoderFactory.


Constructor Summary
HierarchyEdgeObjectEncoder(ObjectEncoder edgeEncoder, HierarchicGraphObjectEncoder parent)
          Creates a new instance of HierarchyEdgeObjectEncoder
 
Method Summary
 void encode(Object item, GMLEncoder enc)
          This method will try to encode the given object using the GMLEncoder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HierarchyEdgeObjectEncoder

public HierarchyEdgeObjectEncoder(ObjectEncoder edgeEncoder,
                                  HierarchicGraphObjectEncoder parent)
Creates a new instance of HierarchyEdgeObjectEncoder

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

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

2003