org.coode.xml
Class XMLWriterImpl.XMLElement
java.lang.Object
org.coode.xml.XMLWriterImpl.XMLElement
- Enclosing class:
- XMLWriterImpl
public class XMLWriterImpl.XMLElement
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLWriterImpl.XMLElement
public XMLWriterImpl.XMLElement(java.lang.String name)
XMLWriterImpl.XMLElement
public XMLWriterImpl.XMLElement(java.lang.String name,
int indentation)
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