com.yworks.yfiles.bpmn.io
Class EventPortIOHandler.EventPortUserDataReader

java.lang.Object
  extended byy.io.graphml.input.AbstractInputHandler
      extended byy.io.graphml.graph2d.AbstractReadNodePortHandler
          extended byy.io.graphml.graph2d.NodePortUserDataReader
              extended bycom.yworks.yfiles.bpmn.io.EventPortIOHandler.EventPortUserDataReader
All Implemented Interfaces:
EventListener, InputHandler, InputHandlerProvider
Enclosing class:
EventPortIOHandler

public static class EventPortIOHandler.EventPortUserDataReader
extends NodePortUserDataReader
implements InputHandlerProvider

Deserializes the user data of a node port.

 

Constructor Summary
EventPortIOHandler.EventPortUserDataReader()
           
 
Method Summary
 void onQueryInputHandler(QueryInputHandlersEvent event)
          Callback that registers this as input handler.
 void readPort(NodePort port, Node node, GraphMLParseContext context)
          Deserializes an event node realizers and stores as user data in the port.
 
Methods inherited from class y.io.graphml.graph2d.NodePortUserDataReader
getKey, getObjectStringConverter
 
Methods inherited from class y.io.graphml.graph2d.AbstractReadNodePortHandler
acceptKey, applyDefault, parseDataCore, setValue
 
Methods inherited from class y.io.graphml.input.AbstractInputHandler
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

EventPortIOHandler.EventPortUserDataReader

public EventPortIOHandler.EventPortUserDataReader()
Method Detail

readPort

public void readPort(NodePort port,
                     Node node,
                     GraphMLParseContext context)
              throws GraphMLParseException
Deserializes an event node realizers and stores as user data in the port.

Throws:
GraphMLParseException

onQueryInputHandler

public void onQueryInputHandler(QueryInputHandlersEvent event)
                         throws GraphMLParseException
Callback that registers this as input handler.

Specified by:
onQueryInputHandler in interface InputHandlerProvider
Throws:
GraphMLParseException


© Copyright 2010-2014,
yWorks GmbH.
All rights reserved.