org.coode.xml
Class XMLWriterImpl.XMLElement

java.lang.Object
  extended by org.coode.xml.XMLWriterImpl.XMLElement
Enclosing class:
XMLWriterImpl

public class XMLWriterImpl.XMLElement
extends java.lang.Object


Constructor Summary
XMLWriterImpl.XMLElement(java.lang.String name)
           
XMLWriterImpl.XMLElement(java.lang.String name, int indentation)
           
 
Method Summary
 void setAttribute(java.lang.String attribute, java.lang.String value)
           
 void setText(java.lang.String content)
           
 void setWrapAttributes(boolean b)
           
 void writeElementEnd()
           
 void writeElementStart(boolean close)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLWriterImpl.XMLElement

public XMLWriterImpl.XMLElement(java.lang.String name)

XMLWriterImpl.XMLElement

public XMLWriterImpl.XMLElement(java.lang.String name,
                                int indentation)
Method Detail

setWrapAttributes

public void setWrapAttributes(boolean b)

setAttribute

public void setAttribute(java.lang.String attribute,
                         java.lang.String value)

setText

public void setText(java.lang.String content)

writeElementStart

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

writeElementEnd

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