Package org.esa.snap.core.util
Class XmlWriter
- java.lang.Object
-
- org.esa.snap.core.util.XmlWriter
-
- Direct Known Subclasses:
DimapHeaderWriter
@Deprecated public class XmlWriter extends Object
Deprecated.since BEAM 4.2, XML shall only be written via a DOM (e.g. JDOM). Used by BEAM-DIMAP product writer.Utility class for writing XML.
-
-
Field Summary
Fields Modifier and Type Field Description static String
XML_HEADER_LINE
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
close()
Deprecated.static String[]
createTags(int indent, String name)
Deprecated.static String[]
createTags(int indent, String name, String[][] attributes)
Deprecated.void
print(String str)
Deprecated.void
printElement(int indent, org.jdom2.Element element)
Deprecated.void
printLine(int indent, String tagName, boolean b)
Deprecated.void
printLine(int indent, String tagName, double d)
Deprecated.void
printLine(int indent, String tagName, float f)
Deprecated.void
printLine(int indent, String tagName, int i)
Deprecated.void
printLine(int indent, String tagName, String text)
Deprecated.void
printLine(int indent, String tagName, String[][] attributes, String text)
Deprecated.void
printLine(String[] tags, String text)
Deprecated.void
println(String str)
Deprecated.
-
-
-
Field Detail
-
XML_HEADER_LINE
public static final String XML_HEADER_LINE
Deprecated.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
XmlWriter
public XmlWriter(File file) throws IOException
Deprecated.- Throws:
IOException
-
XmlWriter
public XmlWriter(Writer writer, boolean initHeadline)
Deprecated.
-
-
Method Detail
-
println
public void println(String str)
Deprecated.
-
print
public void print(String str)
Deprecated.
-
printElement
public void printElement(int indent, org.jdom2.Element element)
Deprecated.
-
close
public void close()
Deprecated.
-
createTags
public static String[] createTags(int indent, String name, String[][] attributes)
Deprecated.
-
printLine
public void printLine(int indent, String tagName, boolean b)
Deprecated.
-
printLine
public void printLine(int indent, String tagName, int i)
Deprecated.
-
printLine
public void printLine(int indent, String tagName, float f)
Deprecated.
-
printLine
public void printLine(int indent, String tagName, double d)
Deprecated.
-
printLine
public void printLine(int indent, String tagName, String[][] attributes, String text)
Deprecated.
-
-