| 
 | Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.io.graphml.graph2d.AbstractNodeRealizerSerializer
y.io.graphml.graph2d.ImageNodeRealizerSerializer
public class ImageNodeRealizerSerializer
Serializer for instances of ImageNodeRealizer.
| Constructor Summary | |
|---|---|
| ImageNodeRealizerSerializer() | |
| Method Summary | |
|---|---|
|  java.lang.String | getName()Returns the name of the XML element tag which denotes this type of realizer. | 
|  java.lang.String | getNamespaceURI()Returns the target namespace of the toplevel element | 
|  java.lang.Class | getRealizerClass()Returns the class of which the realizer is an instance of. | 
|  void | parse(NodeRealizer realizer,
      org.w3c.dom.Node domNode,
      GraphMLParseContext context)Parses the properties into an instance of NodeRealizer. | 
|  void | write(NodeRealizer realizer,
      XmlWriter writer,
      GraphMLWriteContext context)Writes the realizer element's content. | 
| Methods inherited from class y.io.graphml.graph2d.AbstractNodeRealizerSerializer | 
|---|
| canHandle, canHandle, createRealizerInstance, getNamespacePrefix, parseLabel, parseNodePorts, writeAttributes, writeBorder, writeFill, writeNodeLabel, writeNodePorts | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ImageNodeRealizerSerializer()
| Method Detail | 
|---|
public java.lang.String getName()
NodeRealizerSerializer
public java.lang.String getNamespaceURI()
NodeRealizerSerializer
public java.lang.Class getRealizerClass()
NodeRealizerSerializer
public void write(NodeRealizer realizer,
                  XmlWriter writer,
                  GraphMLWriteContext context)
           throws GraphMLWriteException
NodeRealizerSerializer
write in interface NodeRealizerSerializerwrite in class AbstractNodeRealizerSerializerrealizer - The Realizer to write.writer - The XmlWriter for the serialization.context - The current write context.
GraphMLWriteException
public void parse(NodeRealizer realizer,
                  org.w3c.dom.Node domNode,
                  GraphMLParseContext context)
           throws GraphMLParseException
NodeRealizerSerializerNodeRealizer.
parse in interface NodeRealizerSerializerparse in class AbstractNodeRealizerSerializerrealizer - An existing NodeRealizer instance which is configured.domNode - The XML node containing the realizer data.context - The current parse context.
GraphMLParseException| 
 | © Copyright 2000-2025, yWorks GmbH. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||