Package org.eclipse.jetty.xml
Class XmlAppendable
- java.lang.Object
-
- org.eclipse.jetty.xml.XmlAppendable
-
public class XmlAppendable extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description XmlAppendable(java.io.OutputStream out, java.lang.String encoding)
XmlAppendable(java.lang.Appendable out)
XmlAppendable(java.lang.Appendable out, int indent)
XmlAppendable(java.lang.Appendable out, int indent, java.lang.String encoding)
XmlAppendable(java.lang.Appendable out, java.lang.String encoding)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XmlAppendable
cdata(java.lang.String s)
XmlAppendable
closeTag()
XmlAppendable
content(java.lang.String s)
void
literal(java.lang.String xml)
XmlAppendable
openTag(java.lang.String tag)
XmlAppendable
openTag(java.lang.String tag, java.util.Map<java.lang.String,java.lang.String> attributes)
XmlAppendable
tag(java.lang.String tag)
XmlAppendable
tag(java.lang.String tag, java.lang.String content)
XmlAppendable
tag(java.lang.String tag, java.util.Map<java.lang.String,java.lang.String> attributes)
XmlAppendable
tag(java.lang.String tag, java.util.Map<java.lang.String,java.lang.String> attributes, java.lang.String content)
XmlAppendable
tagCDATA(java.lang.String tag, java.lang.String data)
-
-
-
Constructor Detail
-
XmlAppendable
public XmlAppendable(java.io.OutputStream out, java.lang.String encoding) throws java.io.IOException
- Throws:
java.io.IOException
-
XmlAppendable
public XmlAppendable(java.lang.Appendable out) throws java.io.IOException
- Throws:
java.io.IOException
-
XmlAppendable
public XmlAppendable(java.lang.Appendable out, java.lang.String encoding) throws java.io.IOException
- Throws:
java.io.IOException
-
XmlAppendable
public XmlAppendable(java.lang.Appendable out, int indent) throws java.io.IOException
- Throws:
java.io.IOException
-
XmlAppendable
public XmlAppendable(java.lang.Appendable out, int indent, java.lang.String encoding) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
openTag
public XmlAppendable openTag(java.lang.String tag, java.util.Map<java.lang.String,java.lang.String> attributes) throws java.io.IOException
- Throws:
java.io.IOException
-
openTag
public XmlAppendable openTag(java.lang.String tag) throws java.io.IOException
- Throws:
java.io.IOException
-
content
public XmlAppendable content(java.lang.String s) throws java.io.IOException
- Throws:
java.io.IOException
-
cdata
public XmlAppendable cdata(java.lang.String s) throws java.io.IOException
- Throws:
java.io.IOException
-
tag
public XmlAppendable tag(java.lang.String tag) throws java.io.IOException
- Throws:
java.io.IOException
-
tag
public XmlAppendable tag(java.lang.String tag, java.util.Map<java.lang.String,java.lang.String> attributes) throws java.io.IOException
- Throws:
java.io.IOException
-
tag
public XmlAppendable tag(java.lang.String tag, java.lang.String content) throws java.io.IOException
- Throws:
java.io.IOException
-
tagCDATA
public XmlAppendable tagCDATA(java.lang.String tag, java.lang.String data) throws java.io.IOException
- Throws:
java.io.IOException
-
tag
public XmlAppendable tag(java.lang.String tag, java.util.Map<java.lang.String,java.lang.String> attributes, java.lang.String content) throws java.io.IOException
- Throws:
java.io.IOException
-
closeTag
public XmlAppendable closeTag() throws java.io.IOException
- Throws:
java.io.IOException
-
literal
public void literal(java.lang.String xml) throws java.io.IOException
- Throws:
java.io.IOException
-
-