|
||||||||||
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.AbstractTemplateStyleSerializer
Abstract base class for serializers which handle
TemplateStyle
subclasses.
Subclasses have to override the methods
TypeBasedSerializer.getSerializationType(y.io.graphml.output.GraphMLWriteContext)
and AbstractSerializer.getElementName(y.io.graphml.output.GraphMLWriteContext)
.
Constructor Summary | |
AbstractTemplateStyleSerializer()
|
Method Summary | |
void |
serializeItem(java.lang.Object item,
XmlWriter writer,
GraphMLWriteContext context)
Writes the below element. |
Methods inherited from class com.yworks.yfiles.server.graphml.flexio.serializer.AbstractSerializer |
getElementName, getNamespace, onHandleSerialization |
Methods inherited from class y.io.graphml.output.TypeBasedSerializer |
canHandle, getSerializationType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AbstractTemplateStyleSerializer()
Method Detail |
public void serializeItem(java.lang.Object item, XmlWriter writer, GraphMLWriteContext context) throws GraphMLWriteException
AbstractSerializer.getElementName(y.io.graphml.output.GraphMLWriteContext)
.
<y:TemplateStyle
templateClass=".."
(userTagProvider="..")
dataPropertyName=""
contextPropertyName=""
hideSelectionPaintable="">
(<y:TagProvider>
..
</y:TagProvider>)
<y:StyleTag>
..
</y:StyleTag>
</y:TemplateStyle>
item
- The object to serializewriter
- The writer to write to.context
- The write context.
GraphMLWriteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |