Search this API
Class NodePortGraphicsReader

  extended by
      extended by
          extended by
All Implemented Interfaces:

public class NodePortGraphicsReader
extends AbstractReadNodePortHandler

Input handler that reads data related to the visual representation of a NodePort.


Nested Class Summary
static interface NodePortGraphicsReader.ConfigurationFactory
          Interface for dynamic creation and registration of configurations for NodePort.
Constructor Summary
Method Summary
 java.lang.String getKey()
          Returns "portgraphics".
 void readPort(NodePort port, org.w3c.dom.Node node, GraphMLParseContext context)
          Deserializes port data for the specified port from the given XML node.
Methods inherited from class
acceptKey, applyDefault, parseDataCore, setValue
Methods inherited from class
getDefaultValue, getPrecedence, getValidScopes, initializeFromKeyDefinition, isDefaultExists, isParseDefaultValue, parseData, setDefaultExists, setDefaultValue, setParseDefaultValue, setPrecedence, setValidScopes
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public NodePortGraphicsReader()
Method Detail


public java.lang.String getKey()
Returns "portgraphics".

Specified by:
getKey in class AbstractReadNodePortHandler


public void readPort(NodePort port,
                     org.w3c.dom.Node node,
                     GraphMLParseContext context)
              throws GraphMLParseException
Description copied from class: AbstractReadNodePortHandler
Deserializes port data for the specified port from the given XML node.

Specified by:
readPort in class AbstractReadNodePortHandler
port - the port instance whose data has to be deserialized.
node - XML node providing the data to deserialize.
context - miscellaneous context information.
GraphMLParseException - if the port data could not be deserialized.

© Copyright 2000-2022,
yWorks GmbH.
All rights reserved.