public class NoDataRmfSerializer extends ClassSerializer
This object converts a nodata value to XML. This class implements an IRmfBlock interface with the method to read and write. These will be used by the RMF file manager to read and write data.
A raster will have a nodata value by band and its structure will be something like that:
\
\
\
\
\
Constructor and Description |
---|
NoDataRmfSerializer()
Constructor.
|
NoDataRmfSerializer(DefaultNoData noData)
Sets the nodata value to serialize
|
Modifier and Type | Method and Description |
---|---|
String |
getMainTag()
Obtiene el tag principal del bloque
|
Object |
getResult()
Obtiene el objeto resultante de haber aplicado un read.
|
void |
read(String xml)
Lee el bloque XML pasado por parámetro y carga el objeto correspondiente
con los datos.
|
static void |
register()
Registra NoDataRmfSerializer en los puntos de extension de Serializer
|
String |
write()
Obtiene un bloque XML que representa a las propiedades del objeto a
serializar.
|
convertStringInDoubleArray, convertStringInIntArray, parseBoundingBox, parsePoint2D, parserString, parseViewPort, putProperty, putProperty, putProperty
public NoDataRmfSerializer(DefaultNoData noData)
noData
- Valor NoDatapublic NoDataRmfSerializer()
public static void register()
public String getMainTag()
IRmfBlock
public Object getResult()
IRmfBlock
public void read(String xml) throws ParsingException
IRmfBlock
ParsingException
public String write() throws IOException
IRmfBlock
IOException