|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.io.graphml.output.AbstractSerializer y.io.graphml.output.TypeBasedSerializer com.yworks.yfiles.server.graphml.flexio.serializer.AbstractSerializer com.yworks.yfiles.server.graphml.flexio.serializer.GeneralPathSerializer
Serializer for GeneralPath
.
Field Summary | |
static java.lang.String |
GENERAL_PATH_DOTNET_OP_CUBIC_TO
Element name to encode the GeneralPath#cubicTo operation
that is supported by the yFiles.NET GraphML format. |
static java.lang.String |
GENERAL_PATH_ELEMENT
Constant for the top level element name. |
static java.lang.String |
GENERAL_PATH_OP_CLOSE
Element name to encode the GeneralPath#close operation |
static java.lang.String |
GENERAL_PATH_OP_CURVETO
Element name to encode the GeneralPath#curveTo operation |
static java.lang.String |
GENERAL_PATH_OP_LINETO
Element name to encode the GeneralPath#lineTo operation |
static java.lang.String |
GENERAL_PATH_OP_MOVETO
Element name to encode the GeneralPath#moveTo operation |
Constructor Summary | |
GeneralPathSerializer()
|
Method Summary | |
java.lang.String |
getElementName(GraphMLWriteContext context)
The local name of the serialized element node. |
protected java.lang.Class |
getSerializationType(GraphMLWriteContext context)
Gets the type for which this instance should handle serialization. |
void |
serializeItem(java.lang.Object item,
XmlWriter writer,
GraphMLWriteContext context)
|
Methods inherited from class com.yworks.yfiles.server.graphml.flexio.serializer.AbstractSerializer |
getNamespace, onHandleSerialization |
Methods inherited from class y.io.graphml.output.TypeBasedSerializer |
canHandle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String GENERAL_PATH_ELEMENT
public static final java.lang.String GENERAL_PATH_OP_LINETO
GeneralPath#lineTo
operation
public static final java.lang.String GENERAL_PATH_OP_MOVETO
GeneralPath#moveTo
operation
public static final java.lang.String GENERAL_PATH_OP_CURVETO
GeneralPath#curveTo
operation
public static final java.lang.String GENERAL_PATH_DOTNET_OP_CUBIC_TO
GeneralPath#cubicTo
operation
that is supported by the yFiles.NET GraphML format.
public static final java.lang.String GENERAL_PATH_OP_CLOSE
GeneralPath#close
operation
Constructor Detail |
public GeneralPathSerializer()
Method Detail |
public java.lang.String getElementName(GraphMLWriteContext context)
getElementName
in class AbstractSerializer
context
- The write context.
public void serializeItem(java.lang.Object item, XmlWriter writer, GraphMLWriteContext context) throws GraphMLWriteException
GraphMLWriteException
protected java.lang.Class getSerializationType(GraphMLWriteContext context)
context
- The current write context.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |