Revision 2616 org.gvsig.raster/trunk/org.gvsig.raster/org.gvsig.raster.lib/org.gvsig.raster.lib.impl/src/main/java/org/gvsig/raster/impl/store/serializer/ColorInterpretationRmfSerializer.java
ColorInterpretationRmfSerializer.java | ||
---|---|---|
46 | 46 |
* \<Band\>Blue\</Band\><BR> |
47 | 47 |
* \</ColorInterpretation\><BR> |
48 | 48 |
* |
49 |
* @version 14/01/2008 |
|
50 | 49 |
* @author Nacho Brodin (nachobrodin@gmail.com) |
51 | 50 |
*/ |
52 | 51 |
public class ColorInterpretationRmfSerializer extends ClassSerializer { |
... | ... | |
80 | 79 |
public ColorInterpretationRmfSerializer() { |
81 | 80 |
} |
82 | 81 |
|
83 |
/* |
|
84 |
* (non-Javadoc) |
|
85 |
* @see org.gvsig.raster.dataset.io.rmf.IRmfBlock#read(java.lang.String) |
|
86 |
*/ |
|
87 | 82 |
public void read(String xml) throws ParsingException { |
88 | 83 |
String cInterp = null; |
89 | 84 |
datasetCI = new DataStoreColorInterpretation(); |
... | ... | |
129 | 124 |
} |
130 | 125 |
} |
131 | 126 |
|
132 |
/* |
|
133 |
* (non-Javadoc) |
|
134 |
* @see org.gvsig.raster.dataset.io.rmf.IRmfBlock#write() |
|
135 |
*/ |
|
136 | 127 |
public String write() { |
137 | 128 |
StringBuffer b = new StringBuffer(); |
138 | 129 |
if (datasetCI == null) |
... | ... | |
150 | 141 |
return b.toString(); |
151 | 142 |
} |
152 | 143 |
|
153 |
/* |
|
154 |
* (non-Javadoc) |
|
155 |
* @see org.gvsig.raster.dataset.io.rmf.IRmfBlock#getResult() |
|
156 |
*/ |
|
157 | 144 |
public Object getResult() { |
158 | 145 |
return datasetCI; |
159 | 146 |
} |
160 | 147 |
|
161 |
/* |
|
162 |
* (non-Javadoc) |
|
163 |
* @see org.gvsig.raster.dataset.io.rmf.IRmfBlock#getMainTag() |
|
164 |
*/ |
|
165 | 148 |
public String getMainTag() { |
166 | 149 |
return MAIN_TAG; |
167 | 150 |
} |
Also available in: Unified diff