Search this API
Class NodePortGraphicsWriter

  extended by
      extended by
          extended by
All Implemented Interfaces:
java.util.EventListener, OutputHandler, OutputHandlerProvider

public class NodePortGraphicsWriter
extends AbstractWriteNodePortHandler

Output handler that writes data related to the visual representation of a NodePort.


Constructor Summary
Method Summary
protected  java.lang.String getKey()
          Returns "portgraphics".
protected  void writePort(NodePort port, XmlWriter writer, GraphMLWriteContext context)
          Serializes port data to the specified writer.
Methods inherited from class
getKeyDefinitionAttributes, getValue, writeValueCore
Methods inherited from class
addNameToKeyDefinition, addScopeToKeyDefinition, addTypeToKeyDefinition, addUriToKeyDefinition, getDataTagAttributes, getDefaultValue, getPrecedence, getScope, getValidScopes, hasDefaultValueAssigned, isDefaultValue, isValidScope, isWriteKeyDefault, onQueryOutputHandler, setDefaultValue, setDefaultValueAssigned, setPrecedence, setScope, setValidScopes, setWriteKeyDefault, writeKeyDefinitionContent, writeValue
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public NodePortGraphicsWriter()
Method Detail


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

Specified by:
getKey in class AbstractWriteNodePortHandler


protected void writePort(NodePort port,
                         XmlWriter writer,
                         GraphMLWriteContext context)
Description copied from class: AbstractWriteNodePortHandler
Serializes port data to the specified writer.

Specified by:
writePort in class AbstractWriteNodePortHandler
port - the port instance whose data has to be serialized.
writer - the writer used for writing the port data.
context - miscellaneous context information.

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