com.yworks.yfiles.server.graphml.folding
Class PortDeserializer
java.lang.Object
y.io.graphml.input.AbstractDeserializer
com.yworks.yfiles.server.graphml.flexio.deserializer.AbstractDeserializer
com.yworks.yfiles.server.graphml.folding.PortDeserializer
- All Implemented Interfaces:
- DeserializationHandler, java.util.EventListener
- public class PortDeserializer
- extends AbstractDeserializer
Deserializer for port data in PortViewState
s or port entities of EdgeViewState
s
in a folded graph structure.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortDeserializer
public PortDeserializer()
getNotSetLocationModelParameterInstance
public static IPortLocationModelParameter getNotSetLocationModelParameterInstance()
- The location model parameter instance that is set for a port if no parameter can be deserialized.
- Returns:
- The location model parameter instance that is set for a port if no parameter can be deserialized.
deserializeNode
public java.lang.Object deserializeNode(org.w3c.dom.Node xmlNode,
GraphMLParseContext context)
throws GraphMLParseException
- Throws:
GraphMLParseException
getElementName
public java.lang.String getElementName(GraphMLParseContext context)
- 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:
- 'Port'
getXmlNamespaceURI
public java.lang.String getXmlNamespaceURI(GraphMLParseContext context)
- The namespace URI that the node must satisfy if it should be deserialized.
- Overrides:
getXmlNamespaceURI
in class AbstractDeserializer
- Parameters:
context
-
- Returns:
- 'http://www.yworks.com/xml/yfiles.net/1.0/forms'
Copyright © 2000-2013 yWorks GmbH. All
rights reserved