Package org.esa.snap.core.datamodel
Interface ProductVisitor
-
- All Known Implementing Classes:
ProductVisitorAdapter
public interface ProductVisitor
A visitor for a product and all other product nodes. This interface is part of the visitor pattern used to visit all nodes of a data product. Implementations of this interface can be passed to theacceptVisitor
method of anProduct
(or any otherProductNode
).- Version:
- $Revision$ $Date$
- See Also:
Product.acceptVisitor(ProductVisitor)
,ProductNode.acceptVisitor(ProductVisitor)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
visit(Band band)
Visits a band within a product or group.void
visit(FlagCoding flagCoding)
Visits a flag coding.void
visit(IndexCoding indexCoding)
Visits an index coding.void
visit(Mask mask)
Visits a node group.void
visit(MetadataAttribute attribute)
Visits an attribute.void
visit(MetadataElement group)
Visits a group whithin a product.void
visit(Product product)
Visits a product.void
visit(ProductNodeGroup group)
Visits a node group.void
visit(Quicklook ql)
Visits a node group.void
visit(TiePointGrid grid)
Visits a tie-point grid within a product or group.void
visit(VectorDataNode vectorDataNode)
Visits a node group.void
visit(VirtualBand virtualBand)
Visits a virtual band.
-
-
-
Method Detail
-
visit
void visit(Product product)
Visits a product.- Parameters:
product
- the product to be visited
-
visit
void visit(MetadataElement group)
Visits a group whithin a product.- Parameters:
group
- the group to be visited
-
visit
void visit(TiePointGrid grid)
Visits a tie-point grid within a product or group.- Parameters:
grid
- the tie-point grid to be visited
-
visit
void visit(Band band)
Visits a band within a product or group.- Parameters:
band
- the band to be visited
-
visit
void visit(VirtualBand virtualBand)
Visits a virtual band.- Parameters:
virtualBand
- the bitmask definition to be visited
-
visit
void visit(MetadataAttribute attribute)
Visits an attribute.- Parameters:
attribute
- the attribute to be visited
-
visit
void visit(FlagCoding flagCoding)
Visits a flag coding.- Parameters:
flagCoding
- the flag coding to be visited
-
visit
void visit(IndexCoding indexCoding)
Visits an index coding.- Parameters:
indexCoding
- the index coding to be visited
-
visit
void visit(ProductNodeGroup group)
Visits a node group.- Parameters:
group
- the group to be visited
-
visit
void visit(Mask mask)
Visits a node group.- Parameters:
mask
- the mask to be visited
-
visit
void visit(VectorDataNode vectorDataNode)
Visits a node group.- Parameters:
vectorDataNode
- the group to be visited
-
visit
void visit(Quicklook ql)
Visits a node group.- Parameters:
ql
- the Quicklook to be visited
-
-