com.yworks.yfiles.server.graphml.flexio.deserializer
Class TemplateNodeStyleDeserializer
java.lang.Object
y.io.graphml.input.AbstractDeserializer
com.yworks.yfiles.server.graphml.flexio.deserializer.AbstractDeserializer
com.yworks.yfiles.server.graphml.flexio.deserializer.AbstractTemplateStyleDeserializer
com.yworks.yfiles.server.graphml.flexio.deserializer.TemplateNodeStyleDeserializer
- All Implemented Interfaces:
- DeserializationHandler, java.util.EventListener
- public class TemplateNodeStyleDeserializer
- extends AbstractTemplateStyleDeserializer
Deserializer which handles TemplateNodeStyle
instances.
This deserializer handles the following element:
<y:TemplateNodeStyle
templateClass=".."
(userTagProvider="..")
dataPropertyName=""
contextPropertyName=""
hideSelectionPaintable="">
(<y:TagProvider>
..
</y:TagProvider>)
<y:StyleTag>
..
</y:StyleTag>
</y:TemplateStyle>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TemplateNodeStyleDeserializer
public TemplateNodeStyleDeserializer()
createStyleInstance
protected TemplateStyle createStyleInstance(java.lang.String templateClassName,
java.lang.String contextPropertyName,
java.lang.String dataPropertyName)
- Returns a new
TemplateNodeStyle
.
- Specified by:
createStyleInstance
in class AbstractTemplateStyleDeserializer
- Parameters:
templateClassName
- The name of the template class.contextPropertyName
- The name of the context property.dataPropertyName
- The name of the data property.
- Returns:
- A new
TemplateNodeStyle
. - See Also:
TemplateNodeStyle
getElementName
public java.lang.String getElementName(GraphMLParseContext context)
- Returns 'TemplateNodeStyle'.
- Specified by:
getElementName
in class AbstractDeserializer
- Parameters:
context
- The parse context.
- Returns:
- 'TemplateNodeStyle'
Copyright © 2000-2013 yWorks GmbH. All
rights reserved