org.apache.qpid.info.util
Class XMLWriter
java.lang.Object
org.apache.qpid.info.util.XMLWriter
public class XMLWriter
- extends Object
Naive and rudimentary XML writer
It has methods to write the header, a tag with attributes
and values. It escapes the XML special characters
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLWriter
public XMLWriter(StringBuffer sb)
getXML
public StringBuffer getXML()
writeXMLHeader
public void writeXMLHeader()
writeTag
public void writeTag(String tagName,
Map<String,String> attributes,
String value)
writeOpenTag
public void writeOpenTag(String tagName,
Map<String,String> attributes)
writeCloseTag
public void writeCloseTag(String tagName)
Licensed to the Apache Software Foundation