yext.svg.io
Class SVGNodeRealizerSerializer

java.lang.Object
  extended by yext.graphml.graph2D.AbstractNodeRealizerSerializer
      extended by yext.svg.io.SVGNodeRealizerSerializer
All Implemented Interfaces:
yext.graphml.graph2D.NodeRealizerSerializer

public class SVGNodeRealizerSerializer
extends yext.graphml.graph2D.AbstractNodeRealizerSerializer

Serializer for instances of SVGNodeRealizer.


Constructor Summary
SVGNodeRealizerSerializer()
           
 
Method Summary
 String getName()
          Returns the string "SVGNode".
 String getNamespacePrefix()
          Returns the string null.
 String getNamespaceURI()
           
 Class getRealizerClass()
          Returns class SVGNodeRealizer.
 void parse(NodeRealizer realizer, Node domNode, org.graphdrawing.graphml.reader.GraphMLParseContext context)
           
 void write(NodeRealizer nr, org.graphdrawing.graphml.writer.XmlWriter writer, org.graphdrawing.graphml.writer.GraphMLWriteContext context)
           
 
Methods inherited from class yext.graphml.graph2D.AbstractNodeRealizerSerializer
canHandle, canHandle, createRealizerInstance, writeAttributes, writeFill
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SVGNodeRealizerSerializer

public SVGNodeRealizerSerializer()
Method Detail

getName

public String getName()
Returns the string "SVGNode".

Returns:
the string "SVGNode".

getNamespaceURI

public String getNamespaceURI()

getNamespacePrefix

public String getNamespacePrefix()
Returns the string null.

Specified by:
getNamespacePrefix in interface yext.graphml.graph2D.NodeRealizerSerializer
Overrides:
getNamespacePrefix in class yext.graphml.graph2D.AbstractNodeRealizerSerializer
Returns:
the string null.

getRealizerClass

public Class getRealizerClass()
Returns class SVGNodeRealizer.

Returns:
class SVGNodeRealizer.

write

public void write(NodeRealizer nr,
                  org.graphdrawing.graphml.writer.XmlWriter writer,
                  org.graphdrawing.graphml.writer.GraphMLWriteContext context)
Specified by:
write in interface yext.graphml.graph2D.NodeRealizerSerializer
Overrides:
write in class yext.graphml.graph2D.AbstractNodeRealizerSerializer

parse

public void parse(NodeRealizer realizer,
                  Node domNode,
                  org.graphdrawing.graphml.reader.GraphMLParseContext context)
Specified by:
parse in interface yext.graphml.graph2D.NodeRealizerSerializer
Overrides:
parse in class yext.graphml.graph2D.AbstractNodeRealizerSerializer

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