Package org.esa.snap.core.datamodel
Class AbstractMaskPersistenceConverter
- java.lang.Object
-
- org.esa.snap.core.dataio.persistence.PersistenceConverter<Mask>
-
- org.esa.snap.core.datamodel.AbstractMaskPersistenceConverter
-
- All Implemented Interfaces:
PersistenceDecoder<Mask>
,PersistenceEncoder<Mask>
- Direct Known Subclasses:
RangeTypeMaskPersistenceConverter
,VectorDataMaskPersistenceConverter
public abstract class AbstractMaskPersistenceConverter extends PersistenceConverter<Mask>
- Since:
- SNAP 9.0
-
-
Field Summary
-
Fields inherited from interface org.esa.snap.core.dataio.persistence.PersistenceDecoder
KEY_PERSISTENCE_ID
-
-
Constructor Summary
Constructors Constructor Description AbstractMaskPersistenceConverter()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract void
configureContainer(Container root, Mask mask)
protected abstract void
configureMask(Mask mask, Container root, Product product)
protected abstract Mask.ImageType
createImageType()
protected Mask
decodeImpl(Item item, Product product)
Item
encode(Mask mask)
HistoricalDecoder[]
getHistoricalDecoders()
Override if necessary.-
Methods inherited from class org.esa.snap.core.dataio.persistence.PersistenceConverter
convertToCurrentVersion, createRootContainer, decode
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.esa.snap.core.dataio.persistence.PersistenceDecoder
canDecode, getID, isCurrentVersion
-
-
-
-
Method Detail
-
decodeImpl
protected Mask decodeImpl(Item item, Product product)
- Specified by:
decodeImpl
in classPersistenceConverter<Mask>
-
getHistoricalDecoders
public HistoricalDecoder[] getHistoricalDecoders()
Description copied from class:PersistenceConverter
Override if necessary.- Specified by:
getHistoricalDecoders
in interfacePersistenceDecoder<Mask>
- Overrides:
getHistoricalDecoders
in classPersistenceConverter<Mask>
-
createImageType
protected abstract Mask.ImageType createImageType()
-
-