public interface CoverageProcessingNode
This interface can be used to chain together CoverageProcessingNodes in order to
create graphs of operations. A single node can have multiple sources but only one output in this
design.
GridCoverage getOutput() throws CoverageProcessingException
Coverage which represents the output for this CoverageProcessingNode.CoverageProcessingExceptionList<CoverageProcessingNode> getSources()
List of source for this CoverageProcessingNode. Each source
MUST be a CoverageProcessingNode.List of CoverageProcessingNode which represents the sources for
this CoverageProcessingNode.CoverageProcessingNode getSource(int index) throws IndexOutOfBoundsException
index - is the zero-based index for the sink we want to get.CoverageProcessingNode which represents the sink at index index
for this CoverageProcessingNode.IndexOutOfBoundsExceptionboolean addSource(CoverageProcessingNode source)
CoverageProcessingNode to the list of sources for this CoverageProcessingNode.source - the CoverageProcessingNode to add to the List of sources for
this CoverageProcessingNode.true if everything goes fine, false otherwise.CoverageProcessingNode removeSource(int index) throws IndexOutOfBoundsException
CoverageProcessingNode to the list of sources for this CoverageProcessingNode.index - the index at which we want to remove a source from the List of sources
for this CoverageProcessingNode.CoverageProcessingNode we actually remove from the sources list.IndexOutOfBoundsExceptionboolean removeSource(CoverageProcessingNode source)
CoverageProcessingNode to the list of sources for this CoverageProcessingNode.sources - the CoverageProcessingNode to remove from the List of sources
for this CoverageProcessingNode.true in case we remove something, false otherwise.List<CoverageProcessingNode> getSinks()
List of sinks for this CoverageProcessingNode. Each sink
MUST be a CoverageProcessingNode.List of CoverageProcessingNode which represents the sinks for this
CoverageProcessingNode.CoverageProcessingNode getSink(int index) throws IndexOutOfBoundsException
index - is the zero-based index for the source we want to access.CoverageProcessingNode which represents the source at index index
for this CoverageProcessingNode.IndexOutOfBoundsExceptionvoid addSink(CoverageProcessingNode sink)
CoverageProcessingNode to the list of sinks for this CoverageProcessingNode.source - the CoverageProcessingNode to add to the List of sinks for this
CoverageProcessingNode.CoverageProcessingNode removeSink(int index) throws IndexOutOfBoundsException
CoverageProcessingNode from the list of sinks for this CoverageProcessingNode.index - the index at which we want to remove a sink from the List of sinks for
this CoverageProcessingNode.CoverageProcessingNode we actually remove from the sinks list.IndexOutOfBoundsExceptionboolean removeSink(CoverageProcessingNode sink)
CoverageProcessingNode from the list of sinks for this CoverageProcessingNode.sink - the CoverageProcessingNode to remove from the List of sinks for
this CoverageProcessingNode.true in case we remove something, false otherwise.int getNumberOfSinks()
CoverageProcessingNode.CoverageProcessingNode.int getNumberOfSources()
CoverageProcessingNode.CoverageProcessingNode.void dispose(boolean force)
CoverageProcessingNode.force - true to force disposal, false to suggest disposal.Hints getHints()
Hints.Hints provided at construction time to control GridCoverageFactory
creation.GridCoverageFactory getCoverageFactory()
GridCoverageFactory we will internally use for build intermediate and output
GridCoverage2D.GridCoverageFactory we will internally use for build intermediate and
output GridCoverage2D.InternationalString getName()
CoverageProcessingNodeCoverageProcessingNodeInternationalString getDescription()
CoverageProcessingNodeCoverageProcessingNodeString toString()
CoverageProcessingNode.toString in class ObjectCoverageProcessingNodeCopyright © 1996–2019 Geotools. All rights reserved.