public class ColorInterpretationRmfSerializer extends ClassSerializer
Clase para convertir a XML la información de interpretación de color de cada banda del raster.
\| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
BAND |
static java.lang.String |
BANDCOUNT |
static java.lang.String |
MAIN_TAG |
| Constructor and Description |
|---|
ColorInterpretationRmfSerializer()
Constructor.
|
ColorInterpretationRmfSerializer(DataStoreColorInterpretation datasetCI)
Constructor.
|
| 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 ColorInterpretationRmfSerializer 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 static final java.lang.String MAIN_TAG
public static final java.lang.String BAND
public static final java.lang.String BANDCOUNT
public ColorInterpretationRmfSerializer(DataStoreColorInterpretation datasetCI)
ColorTable - tabla a convertir en XMLpublic ColorInterpretationRmfSerializer()
public static void register()
public void read(java.lang.String xml)
throws ParsingException
IRmfBlockParsingExceptionpublic java.lang.String write()
IRmfBlockpublic java.lang.Object getResult()
IRmfBlockpublic java.lang.String getMainTag()
IRmfBlock