com.yworks.yfiles.server.graphml.flexio.deserializer
Class TextLayoutFormatDeserializer
java.lang.Object
y.io.graphml.input.AbstractDeserializer
com.yworks.yfiles.server.graphml.flexio.deserializer.AbstractDeserializer
com.yworks.yfiles.server.graphml.flexio.deserializer.TextLayoutFormatDeserializer
- All Implemented Interfaces:
- DeserializationHandler, java.util.EventListener
- public class TextLayoutFormatDeserializer
- extends AbstractDeserializer
A deserializer which can handle TextLayoutFormat
.
The TextLayoutFormat
is serialized as element with the name
TextLayoutFormat
. All properties with a defined value
are serialized as attributes with the value represented by a string.
Example:
<yflex:TextLayoutFormat fontFamily="dialog" fontSize="12" color="#0000ff"/>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextLayoutFormatDeserializer
public TextLayoutFormatDeserializer()
getElementName
public java.lang.String getElementName(GraphMLParseContext context)
- Description copied from class:
AbstractDeserializer
- The local name that the node must satisfy if it should be deserialized.
This method is called by
AbstractDeserializer.canHandle(y.io.graphml.input.DeserializationEvent)
.
- Specified by:
getElementName
in class AbstractDeserializer
- Parameters:
context
- The parse context.
- Returns:
- The local name that the node must satisfy if it should be deserialized.
getXmlNamespaceURI
public java.lang.String getXmlNamespaceURI(GraphMLParseContext context)
- Description copied from class:
AbstractDeserializer
- The namespace URI that the node must satisfy if it should be deserialized.
- Overrides:
getXmlNamespaceURI
in class AbstractDeserializer
- Returns:
- NamespaceConstants.YFILES_JAVA_NS
deserializeNode
public java.lang.Object deserializeNode(org.w3c.dom.Node xmlNode,
GraphMLParseContext context)
throws GraphMLParseException
- Throws:
GraphMLParseException
Copyright © 2000-2013 yWorks GmbH. All
rights reserved