Top Fields Constructors Methods
org.eclipse.jetty.xml

public Class XmlAppendable

extends Object
Class Inheritance
Imports
java.io.Closeable, .IOException, .OutputStream, .OutputStreamWriter, java.nio.charset.Charset, .StandardCharsets, java.util.Locale, .Map, .Stack, org.eclipse.jetty.util.StringUtil

Field Summary

Modifier and TypeField and Description
private final int
private final Appendable
private String
private final Stack<String>
private static final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private void
attributes(Map<String, String> attributes)

public XmlAppendable
public XmlAppendable
public XmlAppendable
public void
public XmlAppendable
openTag(String tag, Map<String, String> attributes)

public XmlAppendable
public XmlAppendable
tag(String tag)

public XmlAppendable
tag(String tag, Map<String, String> attributes)

public XmlAppendable
tag(String tag, String content)

public XmlAppendable
tag(String tag, Map<String, String> attributes, String content)

public XmlAppendable
tagCDATA(String tag, String data)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_indentback to summary
private final int _indent
_outback to summary
private final Appendable _out
_spaceback to summary
private String _space
_tagsback to summary
private final Stack<String> _tags
SPACESback to summary
private static final String SPACES

Constructor Detail

XmlAppendableback to summary
public XmlAppendable(OutputStream out) throws IOException

Method Detail

attributesback to summary
private void attributes(Map<String, String> attributes) throws IOException
cdataback to summary
public XmlAppendable cdata(String s) throws IOException
closeTagback to summary
public XmlAppendable closeTag() throws IOException
contentback to summary
public XmlAppendable content(String s) throws IOException
literalback to summary
public void literal(String xml) throws IOException
openTagback to summary
public XmlAppendable openTag(String tag, Map<String, String> attributes) throws IOException
openTagback to summary
public XmlAppendable openTag(String tag) throws IOException
tagback to summary
public XmlAppendable tag(String tag) throws IOException
tagback to summary
public XmlAppendable tag(String tag, Map<String, String> attributes) throws IOException
tagback to summary
public XmlAppendable tag(String tag, String content) throws IOException
tagback to summary
public XmlAppendable tag(String tag, Map<String, String> attributes, String content) throws IOException
tagCDATAback to summary
public XmlAppendable tagCDATA(String tag, String data) throws IOException