|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.io.graphml.input.AbstractInputHandler y.io.graphml.graph2d.AbstractReadNodePortHandler y.io.graphml.graph2d.NodePortUserDataReader
public class NodePortUserDataReader
Input handler that reads NodePort
user or business data.
Constructor Summary | |
---|---|
NodePortUserDataReader()
|
Method Summary | |
---|---|
java.lang.String |
getKey()
Returns "portuserdata". |
protected ObjectStringConverter |
getObjectStringConverter()
|
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 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 |
---|
public NodePortUserDataReader()
Method Detail |
---|
public java.lang.String getKey()
getKey
in class AbstractReadNodePortHandler
public void readPort(NodePort port, org.w3c.dom.Node node, GraphMLParseContext context) throws GraphMLParseException
AbstractReadNodePortHandler
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.protected ObjectStringConverter getObjectStringConverter()
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |