net.sourceforge.jxa
Class XmlWriter

java.lang.Object
  extended by java.io.Writer
      extended by java.io.OutputStreamWriter
          extended by net.sourceforge.jxa.XmlWriter

public class XmlWriter
extends java.io.OutputStreamWriter

XML-Writer

Since:
1.0

Field Summary
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
XmlWriter(java.io.OutputStream out)
           
 
Method Summary
 void attribute(java.lang.String atr, java.lang.String value)
           
 void endTag()
           
 void flush()
           
 void startTag(java.lang.String tag)
           
 void text(java.lang.String str)
           
 
Methods inherited from class java.io.OutputStreamWriter
close, write, write, write
 
Methods inherited from class java.io.Writer
write, write
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlWriter

public XmlWriter(java.io.OutputStream out)
          throws java.io.UnsupportedEncodingException
Throws:
java.io.UnsupportedEncodingException
Method Detail

flush

public void flush()
           throws java.io.IOException
Overrides:
flush in class java.io.OutputStreamWriter
Throws:
java.io.IOException

startTag

public void startTag(java.lang.String tag)
              throws java.io.IOException
Throws:
java.io.IOException

attribute

public void attribute(java.lang.String atr,
                      java.lang.String value)
               throws java.io.IOException
Throws:
java.io.IOException

endTag

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

text

public void text(java.lang.String str)
          throws java.io.IOException
Throws:
java.io.IOException