Overview  Package   Class  Tree  Index 

be.lassi.xml
Class XmlWriter

java.lang.Object
  extended by be.lassi.xml.XmlWriter

public class XmlWriter
extends java.lang.Object

Writes xml format.


Constructor Summary
XmlWriter(java.io.Writer writer)
          Constructs a new instance.
 
Method Summary
 void addAttribute(java.lang.String name, boolean value)
           
 void addAttribute(java.lang.String name, int value)
           
 void addAttribute(java.lang.String name, java.lang.String value)
           
 void close()
           
 void closeElement()
           
 void openElement(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlWriter

public XmlWriter(java.io.Writer writer)
Constructs a new instance.

Parameters:
writer - the writer on which to write the XML output
Method Detail

addAttribute

public void addAttribute(java.lang.String name,
                         boolean value)

addAttribute

public void addAttribute(java.lang.String name,
                         int value)

addAttribute

public void addAttribute(java.lang.String name,
                         java.lang.String value)

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException

closeElement

public void closeElement()
                  throws java.io.IOException
Throws:
java.io.IOException

openElement

public void openElement(java.lang.String name)
                 throws java.io.IOException
Throws:
java.io.IOException

Overview  Package   Class  Tree  Index 
Lighting Assistant 1.2