|
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.ShapeNodeRealizerSerializer
y.io.graphml.graph2d.GroupNodeRealizerSerializer
public class GroupNodeRealizerSerializer
Serializer for instances of GroupNodeRealizer
.
Constructor Summary | |
---|---|
GroupNodeRealizerSerializer()
|
Method Summary | |
---|---|
String |
getName()
Returns the string ShapeNode. |
Class |
getRealizerClass()
Returns class ShapeNodeRealizer . |
void |
parse(NodeRealizer realizer,
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.ShapeNodeRealizerSerializer |
---|
decodeShapeType, encodeShapeType, getNamespaceURI |
Methods inherited from class y.io.graphml.graph2d.AbstractNodeRealizerSerializer |
---|
canHandle, canHandle, createRealizerInstance, getNamespacePrefix, parseLabel, parseNodePorts, writeAttributes, writeFill, writeNodeLabel, writeNodePorts |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GroupNodeRealizerSerializer()
Method Detail |
---|
public String getName()
ShapeNodeRealizerSerializer
getName
in interface NodeRealizerSerializer
getName
in class ShapeNodeRealizerSerializer
public Class getRealizerClass()
ShapeNodeRealizerSerializer
ShapeNodeRealizer
.
getRealizerClass
in interface NodeRealizerSerializer
getRealizerClass
in class ShapeNodeRealizerSerializer
public void write(NodeRealizer realizer, XmlWriter writer, GraphMLWriteContext context) throws GraphMLWriteException
NodeRealizerSerializer
write
in interface NodeRealizerSerializer
write
in class ShapeNodeRealizerSerializer
GraphMLWriteException
realizer
- The Realizer to write.writer
- The XmlWriter for the serialization.context
- The current write context.public void parse(NodeRealizer realizer, Node domNode, GraphMLParseContext context) throws GraphMLParseException
NodeRealizerSerializer
NodeRealizer
.
parse
in interface NodeRealizerSerializer
parse
in class ShapeNodeRealizerSerializer
GraphMLParseException
realizer
- An existing NodeRealizer
instance which is configured.domNode
- The XML node containing the realizer data.context
- The current parse context.
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |