public class XmlBuffer extends PrintBuffer
CharBuffer.CharBufferStack| Modifier and Type | Field and Description |
|---|---|
static String |
QUOTE |
static String |
QUOTE_ENTITY |
indentedindentfooter, header, isNotEmpty, join, setNotIndentaddToBeginning, addToEnd, clear, newChild, newChild, onAppend, printAfterpublic static final String QUOTE
public static final String QUOTE_ENTITY
public XmlBuffer()
public XmlBuffer(String tagName)
protected void ensureAttributes()
public String toString()
toString in class PrintBufferpublic XmlBuffer setEscaper(ConvertsValue<String,String> escaper)
public XmlBuffer setNewLine(boolean useNewLine)
protected boolean shouldShortenEmptyTag(String tag)
public XmlBuffer append(Object obj)
append in class CharBufferpublic XmlBuffer print(String str)
print in class PrintBufferpublic XmlBuffer clearIndent()
clearIndent in class PrintBufferpublic XmlBuffer append(String str)
append in class CharBufferpublic XmlBuffer append(CharSequence s)
append in class PrintBufferpublic XmlBuffer append(CharSequence s, int start, int end)
append in class PrintBufferpublic XmlBuffer append(char[] str)
append in class PrintBufferpublic XmlBuffer append(char[] str, int offset, int len)
append in class PrintBufferpublic XmlBuffer append(boolean b)
append in class PrintBufferpublic XmlBuffer append(char c)
append in class PrintBufferpublic XmlBuffer append(int i)
append in class PrintBufferpublic XmlBuffer append(long lng)
append in class PrintBufferpublic XmlBuffer append(float f)
append in class PrintBufferpublic XmlBuffer append(double d)
append in class PrintBufferpublic XmlBuffer indent()
indent in class PrintBufferpublic XmlBuffer indentln(Object obj)
indentln in class PrintBufferpublic XmlBuffer indentln(String str)
indentln in class PrintBufferpublic XmlBuffer indentln(CharSequence s)
indentln in class PrintBufferpublic XmlBuffer indentln(char[] str)
indentln in class PrintBufferpublic XmlBuffer outdent()
outdent in class PrintBufferpublic XmlBuffer println()
println in class PrintBufferpublic XmlBuffer println(Object obj)
println in class PrintBufferpublic XmlBuffer println(String str)
println in class PrintBufferpublic XmlBuffer println(CharSequence s)
println in class PrintBufferpublic XmlBuffer println(char[] str)
println in class PrintBufferpublic PrintBuffer printBefore(String prefix)
PrintBufferprintBefore in class PrintBufferprefix - - The text to prependpublic boolean isNoTagName()
public boolean isEmpty()
isEmpty in class PrintBufferpublic String getId()
public boolean hasAttribute(String name)
protected boolean isRemoveQuotes(StringBuilder attr)
public XmlBuffer allowAbbreviation(boolean abbr)
Copyright © December 07, 2012–2015 The Internet Party. All rights reserved.