|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectyext.graphml.graph2D.AbstractEdgeRealizerSerializer
yext.graphml.graph2D.GenericEdgeRealizerSerializer
Serializer for instances of GenericEdgeRealizer.
| Constructor Summary | |
GenericEdgeRealizerSerializer()
|
|
| 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 |
protected ObjectStringConverter |
getObjectStringConverter()
Gets the ObjectStringConverter that will be used by this instance to
convert the GenericNodeRealizer.getUserData() to strings for serialization. |
Class |
getRealizerClass()
Returns the class of which the realizer is an instance of. |
void |
parse(EdgeRealizer realizer,
Node domNode,
GraphMLParseContext context)
Parses the properties from an instance of EdgeRealizer. |
protected void |
parseUserData(GenericEdgeRealizer ger,
Node domNode,
GraphMLParseContext context)
Parses the userdata section of this realizer and assigns the user data object. |
void |
write(EdgeRealizer realizer,
XmlWriter ipw,
GraphMLWriteContext context)
Writes the properties from an instance of EdgeRealizer. |
void |
writeAttributes(EdgeRealizer realizer,
XmlWriter writer,
GraphMLWriteContext context)
Writes out the selection state if requested. |
protected void |
writeUserData(GenericEdgeRealizer ger,
XmlWriter writer,
GraphMLWriteContext context)
Writes the userdata section of this realizer and assigns the user data object. |
| Methods inherited from class yext.graphml.graph2D.AbstractEdgeRealizerSerializer |
canHandle, createRealizerInstance, getNamespacePrefix |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GenericEdgeRealizerSerializer()
| Method Detail |
public String getName()
EdgeRealizerSerializer
public String getNamespaceURI()
EdgeRealizerSerializer
public Class getRealizerClass()
EdgeRealizerSerializer
public void writeAttributes(EdgeRealizer realizer,
XmlWriter writer,
GraphMLWriteContext context)
AbstractEdgeRealizerSerializer
writeAttributes in interface EdgeRealizerSerializerwriteAttributes in class AbstractEdgeRealizerSerializer
public void write(EdgeRealizer realizer,
XmlWriter ipw,
GraphMLWriteContext context)
AbstractEdgeRealizerSerializerEdgeRealizer.
write in interface EdgeRealizerSerializerwrite in class AbstractEdgeRealizerSerializer
public boolean canHandle(Node n,
GraphMLParseContext context)
AbstractEdgeRealizerSerializer
canHandle in interface EdgeRealizerSerializercanHandle in class AbstractEdgeRealizerSerializern - context -
true iff n.getNamespaceURI().equals(getNamespaceURI()) && n.getLocalName().equals(getName()).
protected void writeUserData(GenericEdgeRealizer ger,
XmlWriter writer,
GraphMLWriteContext context)
protected ObjectStringConverter getObjectStringConverter()
ObjectStringConverter that will be used by this instance to
convert the GenericNodeRealizer.getUserData() to strings for serialization.
ObjectStringConversion.getInstance().
public void parse(EdgeRealizer realizer,
Node domNode,
GraphMLParseContext context)
AbstractEdgeRealizerSerializerEdgeRealizer.
parse in interface EdgeRealizerSerializerparse in class AbstractEdgeRealizerSerializer
protected void parseUserData(GenericEdgeRealizer ger,
Node domNode,
GraphMLParseContext context)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||