public abstract class MaskPersistable extends RasterDataNodePersistable
Constructor and Description |
---|
MaskPersistable() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
configureElement(org.jdom.Element root,
Mask mask) |
protected abstract void |
configureMask(Mask mask,
org.jdom.Element element,
Product product) |
protected abstract Mask.ImageType |
createImageType() |
Mask |
createObjectFromXml(org.jdom.Element element,
Product product)
Creates an object for the provided
Product based on the data provided by the element . |
org.jdom.Element |
createXmlFromObject(Object object)
Converts the object into an XML element.
|
protected static String |
getChildAttributeValue(org.jdom.Element element,
String childName,
String attributeName) |
addAncillaryElements, addImageToModelTransformElement, createElement, createValueAttributeElement, setAncillaryRelations, setAncillaryVariables, setImageToModelTransform
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createObjectFromXml
public final Mask createObjectFromXml(org.jdom.Element element, Product product)
DimapPersistable
Product
based on the data provided by the element
.element
- The XML element containing the information to create the objectproduct
- The product the created object is intended forpublic final org.jdom.Element createXmlFromObject(Object object)
DimapPersistable
object
- The object to convertprotected abstract Mask.ImageType createImageType()
protected abstract void configureMask(Mask mask, org.jdom.Element element, Product product)
protected abstract void configureElement(org.jdom.Element root, Mask mask)
Copyright © 2014–2022 European Space Agency (ESA). All rights reserved.