org.gudy.azureus2.core3.xml.util
Class XUXmlWriter
java.lang.Object
org.gudy.azureus2.core3.xml.util.XUXmlWriter
- Direct Known Subclasses:
- BEncoder.XMLEncoder, StatsWriterImpl, TOTorrentXMLSerialiser
public class XUXmlWriter
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XUXmlWriter
protected XUXmlWriter()
XUXmlWriter
protected XUXmlWriter(java.io.OutputStream _output_stream)
setOutputStream
protected void setOutputStream(java.io.OutputStream _output_stream)
setOutputWriter
protected void setOutputWriter(java.io.Writer _writer)
setGenericSimple
protected void setGenericSimple(boolean simple)
writeTag
protected void writeTag(java.lang.String tag,
java.lang.String content)
writeTag
protected void writeTag(java.lang.String tag,
long content)
writeTag
protected void writeTag(java.lang.String tag,
boolean content)
writeLineRaw
protected void writeLineRaw(java.lang.String str)
writeLineEscaped
protected void writeLineEscaped(java.lang.String str)
resetIndent
protected void resetIndent()
indent
protected void indent()
exdent
protected void exdent()
escapeXML
public static java.lang.String escapeXML(java.lang.String str)
unescapeXML
public static java.lang.String unescapeXML(java.lang.String str)
splitWithEscape
public static java.lang.String[] splitWithEscape(java.lang.String str,
char delim)
flushOutputStream
protected void flushOutputStream()
closeOutputStream
protected void closeOutputStream()
writeGenericMapEntry
protected void writeGenericMapEntry(java.lang.String name,
java.lang.Object value)
writeGeneric
protected void writeGeneric(java.lang.Object obj)
writeGeneric
protected void writeGeneric(java.util.Map map)
writeGeneric
protected void writeGeneric(java.util.List list)
writeGeneric
protected void writeGeneric(byte[] bytes)
writeGeneric
protected void writeGeneric(java.lang.String str)
writeGeneric
protected void writeGeneric(java.lang.Long l)
writeTag
protected void writeTag(java.lang.String tag,
byte[] content)
writeLocalisableTag
protected void writeLocalisableTag(java.lang.String tag,
byte[] content)
encodeBytes
protected java.lang.String encodeBytes(byte[] bytes)
getUTF
protected java.lang.String getUTF(byte[] bytes)