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 String |
BAND |
static String |
BANDCOUNT |
static String |
MAIN_TAG |
Constructor and Description |
---|
ColorInterpretationRmfSerializer()
Constructor.
|
ColorInterpretationRmfSerializer(DataStoreColorInterpretation datasetCI)
Constructor.
|
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 ColorInterpretationRmfSerializer 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 static final String MAIN_TAG
public static final String BAND
public static final String BANDCOUNT
public ColorInterpretationRmfSerializer(DataStoreColorInterpretation datasetCI)
ColorTable
- tabla a convertir en XMLpublic ColorInterpretationRmfSerializer()
public static void register()
public void read(String xml) throws ParsingException
IRmfBlock
ParsingException
public String write()
IRmfBlock
public Object getResult()
IRmfBlock