Package org.esa.snap.core.dataio.dimap
Class DimapHeaderWriter
- java.lang.Object
-
- org.esa.snap.core.util.XmlWriter
-
- org.esa.snap.core.dataio.dimap.DimapHeaderWriter
-
public final class DimapHeaderWriter extends XmlWriter
This class is used to print the DIMAP XML header of the given product to a given writer or file.The BEAM-DIMAP version history is provided in the API doc of the
DimapProductWriterPlugIn.
-
-
Field Summary
-
Fields inherited from class org.esa.snap.core.util.XmlWriter
XML_HEADER_LINE
-
-
Constructor Summary
Constructors Constructor Description DimapHeaderWriter(Product product, File file, String dataDirectory)DimapHeaderWriter(Product product, Writer writer, String dataDirectory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidwriteAnnotatonDataSet(int indent)protected voidwriteBandStatistics(XmlWriter sXmlW, int indent, Band[] bands)protected voidwriteDataAccessElements(int indent)protected voidwriteDatasetId(int indent)protected voidwriteDatasetUse(int indent)protected voidwriteFlagCoding(int indent)protected voidwriteGeoCoding(int indent)voidwriteHeader()protected voidwriteImageDisplayElements(int indent)protected voidwriteImageInterpretationElements(int indent)protected voidwriteIndexCoding(int indent)protected voidwriteMasks(int indent)protected voidwriteMaskUsages(XmlWriter pw, int indent, RasterDataNode[] rasterDataNodes)protected voidwriteMetadataAttributes(int indent, MetadataAttribute[] attributes)protected voidwriteMetadataElements(int indent, MetadataElement[] elementes)protected voidwriteMetadataId(int indent)protected voidwriteProductionElements(int indent)protected voidwriteRasterDimensionElements(int indent)protected voidwriteTiePointGridElements(int indent)-
Methods inherited from class org.esa.snap.core.util.XmlWriter
close, createTags, createTags, print, printElement, printLine, printLine, printLine, printLine, printLine, printLine, printLine, println
-
-
-
-
Constructor Detail
-
DimapHeaderWriter
public DimapHeaderWriter(Product product, File file, String dataDirectory) throws IOException
- Throws:
IOException
-
-
Method Detail
-
writeHeader
public void writeHeader()
-
writeAnnotatonDataSet
protected void writeAnnotatonDataSet(int indent)
-
writeMetadataElements
protected void writeMetadataElements(int indent, MetadataElement[] elementes)
-
writeMetadataAttributes
protected void writeMetadataAttributes(int indent, MetadataAttribute[] attributes)
-
writeImageInterpretationElements
protected void writeImageInterpretationElements(int indent)
-
writeMasks
protected void writeMasks(int indent)
-
writeImageDisplayElements
protected void writeImageDisplayElements(int indent)
-
writeMaskUsages
protected void writeMaskUsages(XmlWriter pw, int indent, RasterDataNode[] rasterDataNodes)
-
writeTiePointGridElements
protected void writeTiePointGridElements(int indent)
-
writeDataAccessElements
protected void writeDataAccessElements(int indent)
-
writeRasterDimensionElements
protected void writeRasterDimensionElements(int indent)
-
writeFlagCoding
protected void writeFlagCoding(int indent)
-
writeIndexCoding
protected void writeIndexCoding(int indent)
-
writeGeoCoding
protected void writeGeoCoding(int indent)
-
writeProductionElements
protected void writeProductionElements(int indent)
-
writeMetadataId
protected void writeMetadataId(int indent)
-
writeDatasetId
protected void writeDatasetId(int indent)
-
writeDatasetUse
protected void writeDatasetUse(int indent)
-
-