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 |
|---|---|
java.lang.String |
getMainTag()
Obtiene el tag principal del bloque
|
java.lang.Object |
getResult()
Obtiene el objeto resultante de haber aplicado un read.
|
void |
read(java.lang.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
|
java.lang.String |
write()
Obtiene un bloque XML que representa a las propiedades del objeto a
serializar.
|
convertStringInDoubleArray, convertStringInIntArray, parseBoundingBox, parsePoint2D, parserString, parseViewPort, putProperty, putProperty, putPropertypublic NoDataRmfSerializer(DefaultNoData noData)
noData - Valor NoDatapublic NoDataRmfSerializer()
public static void register()
public java.lang.String getMainTag()
IRmfBlockpublic java.lang.Object getResult()
IRmfBlockpublic void read(java.lang.String xml)
throws ParsingException
IRmfBlockParsingExceptionpublic java.lang.String write()
throws java.io.IOException
IRmfBlockjava.io.IOException