Package org.esa.snap.core.gpf.graph
Class NodeSource
java.lang.Object
org.esa.snap.core.gpf.graph.NodeSource
A
NodeSource represents a mapping from an nodeId to a
Node instance. The GraphIO uses sources to
simplify the xml deserialization. Use this class to set the sources of
Nodes to a Node with the given nodeId. The
GraphProcessor will resolve the nodeId to the respective
Node if present.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Gets the name under which this source can be accessed.Returns theNodeinstance associatied with thisNodeSource.Gets the identifier of the source node.void
-
Constructor Details
-
NodeSource
Constructs aNodeSource.- Parameters:
name- the name of the sourcesourceNodeId- the identifier of the source node
-
-
Method Details
-
getName
Gets the name under which this source can be accessed. -
getSourceNodeId
Gets the identifier of the source node.- Returns:
- the identifier of the source node
-
getSourceNode
Returns theNodeinstance associatied with thisNodeSource. -
setName
-