org.esa.beam.util
Class XmlWriter

java.lang.Object
  extended by org.esa.beam.util.XmlWriter

Deprecated. since BEAM 4.2, XML shall only be written via a DOM (e.g. JDOM). Used by BEAM-DIMAP product writer.

@Deprecated
public class XmlWriter
extends Object

Utility class for writing XML.


Field Summary
static String XML_HEADER_LINE
          Deprecated.  
 
Constructor Summary
XmlWriter(File file)
          Deprecated.  
XmlWriter(Writer writer, boolean initHeadline)
          Deprecated.  
 
Method Summary
 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.jdom.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.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.jdom.Element element)
Deprecated. 

close

public void close()
Deprecated. 

createTags

public static String[] createTags(int indent,
                                  String name)
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 text)
Deprecated. 

printLine

public void printLine(int indent,
                      String tagName,
                      String[][] attributes,
                      String text)
Deprecated. 

printLine

public void printLine(String[] tags,
                      String text)
Deprecated. 


Copyright © 2002-2012 Brockmann Consult GmbH. All Rights Reserved.