yext.graphml.graph2D
Class BezierEdgeRealizerSerializer

java.lang.Object
  extended byyext.graphml.graph2D.AbstractEdgeRealizerSerializer
      extended byyext.graphml.graph2D.BezierEdgeRealizerSerializer
All Implemented Interfaces:
EdgeRealizerSerializer

public class BezierEdgeRealizerSerializer
extends AbstractEdgeRealizerSerializer

Serializer for instances of BezierEdgeRealizer.


Constructor Summary
BezierEdgeRealizerSerializer()
           
 
Method Summary
 boolean canHandle(Node n, GraphMLParseContext context)
          Default implementation.
 String getName()
          Returns the name of the XML element tag which denotes this type of realizer.
 String getNamespaceURI()
          Returns the target namespace of the toplevel element
 Class getRealizerClass()
          Returns the class of which the realizer is an instance of.
 
Methods inherited from class yext.graphml.graph2D.AbstractEdgeRealizerSerializer
canHandle, createRealizerInstance, getNamespacePrefix, parse, write, writeAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BezierEdgeRealizerSerializer

public BezierEdgeRealizerSerializer()
Method Detail

getName

public String getName()
Description copied from interface: EdgeRealizerSerializer
Returns the name of the XML element tag which denotes this type of realizer.


getNamespaceURI

public String getNamespaceURI()
Description copied from interface: EdgeRealizerSerializer
Returns the target namespace of the toplevel element

Returns:
the target namespace of the toplevel element

getRealizerClass

public Class getRealizerClass()
Description copied from interface: EdgeRealizerSerializer
Returns the class of which the realizer is an instance of.


canHandle

public boolean canHandle(Node n,
                         GraphMLParseContext context)
Description copied from class: AbstractEdgeRealizerSerializer
Default implementation.

Specified by:
canHandle in interface EdgeRealizerSerializer
Overrides:
canHandle in class AbstractEdgeRealizerSerializer
Parameters:
n -
context -
Returns:
true iff n.getNamespaceURI().equals(getNamespaceURI()) && n.getLocalName().equals(getName()).


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