public class XmlAppendable extends Object
| 构造器和说明 |
|---|
XmlAppendable(Appendable out) |
XmlAppendable(Appendable out,
int indent) |
XmlAppendable(Appendable out,
int indent,
String encoding) |
XmlAppendable(Appendable out,
String encoding) |
XmlAppendable(OutputStream out,
String encoding) |
| 限定符和类型 | 方法和说明 |
|---|---|
XmlAppendable |
cdata(String s) |
XmlAppendable |
closeTag() |
XmlAppendable |
content(String s) |
void |
literal(String xml) |
XmlAppendable |
openTag(String tag) |
XmlAppendable |
openTag(String tag,
Map<String,String> attributes) |
XmlAppendable |
tag(String tag) |
XmlAppendable |
tag(String tag,
Map<String,String> attributes) |
XmlAppendable |
tag(String tag,
Map<String,String> attributes,
String content) |
XmlAppendable |
tag(String tag,
String content) |
XmlAppendable |
tagCDATA(String tag,
String data) |
public XmlAppendable(OutputStream out, String encoding) throws IOException
IOExceptionpublic XmlAppendable(Appendable out) throws IOException
IOExceptionpublic XmlAppendable(Appendable out, String encoding) throws IOException
IOExceptionpublic XmlAppendable(Appendable out, int indent) throws IOException
IOExceptionpublic XmlAppendable(Appendable out, int indent, String encoding) throws IOException
IOExceptionpublic XmlAppendable openTag(String tag, Map<String,String> attributes) throws IOException
IOExceptionpublic XmlAppendable openTag(String tag) throws IOException
IOExceptionpublic XmlAppendable content(String s) throws IOException
IOExceptionpublic XmlAppendable cdata(String s) throws IOException
IOExceptionpublic XmlAppendable tag(String tag) throws IOException
IOExceptionpublic XmlAppendable tag(String tag, Map<String,String> attributes) throws IOException
IOExceptionpublic XmlAppendable tag(String tag, String content) throws IOException
IOExceptionpublic XmlAppendable tagCDATA(String tag, String data) throws IOException
IOExceptionpublic XmlAppendable tag(String tag, Map<String,String> attributes, String content) throws IOException
IOExceptionpublic XmlAppendable closeTag() throws IOException
IOExceptionpublic void literal(String xml) throws IOException
IOExceptionCopyright © 2017. All rights reserved.