List of utility methods to do XML Serializer Write
void | writeUriAttribute(XmlSerializer out, String name, Uri value) write Uri Attribute if (value != null) {
out.attribute(null, name, value.toString());
|
void | writeValueXml(Object v, String name, XmlSerializer out) Flatten an object's value into an XmlSerializer. String typeStr; if (v == null) { out.startTag(null, "null"); if (name != null) { out.attribute(null, "name", name); out.endTag(null, "null"); return; ... |
void | writeValueXml(Object v, String name, XmlSerializer out) Flatten an object's value into an XmlSerializer. String typeStr; if (v == null) { out.startTag(null, "null"); if (name != null) { out.attribute(null, "name", name); out.endTag(null, "null"); return; ... |
void | writeValueXml(Object v, String name, XmlSerializer out) Flatten an object's value into an XmlSerializer. String typeStr; if (v == null) { out.startTag(null, "null"); if (name != null) { out.attribute(null, "name", name); out.endTag(null, "null"); return; ... |
void | writeValueXml(Object v, String name, XmlSerializer out) Flatten an object's value into an XmlSerializer. String typeStr; if (v == null) { out.startTag(null, "null"); if (name != null) { out.attribute(null, "name", name); out.endTag(null, "null"); return; ... |
void | writeValueXml(Object v, String name, XmlSerializer out) Flatten an object's value into an XmlSerializer. String typeStr; if (v == null) { out.startTag(null, "null"); if (name != null) { out.attribute(null, "name", name); out.endTag(null, "null"); return; ... |
void | writeListXml(List val, OutputStream out) Flatten a List into an output stream as XML. XmlSerializer serializer = Xml.newSerializer(); serializer.setOutput(out, "utf-8"); serializer.startDocument(null, true); serializer.setFeature( "http://xmlpull.org/v1/doc/features.html#indent-output", true); writeListXml(val, null, serializer); serializer.endDocument(); ... |
void | writeListXml(List val, OutputStream out) Flatten a List into an output stream as XML. XmlSerializer serializer = Xml.newSerializer(); serializer.setOutput(out, "utf-8"); serializer.startDocument(null, true); serializer.setFeature( "http://xmlpull.org/v1/doc/features.html#indent-output", true); writeListXml(val, null, serializer); serializer.endDocument(); ... |
void | writeListXml(List val, OutputStream out) Flatten a List into an output stream as XML. XmlSerializer serializer = Xml.newSerializer(); serializer.setOutput(out, "utf-8"); serializer.startDocument(null, true); serializer.setFeature( "http://xmlpull.org/v1/doc/features.html#indent-output", true); writeListXml(val, null, serializer); serializer.endDocument(); ... |
void | writeListXml(List val, OutputStream out) Flatten a List into an output stream as XML. XmlSerializer serializer = Xml.newSerializer(); serializer.setOutput(out, "utf-8"); serializer.startDocument(null, true); serializer.setFeature( "http://xmlpull.org/v1/doc/features.html#indent-output", true); writeListXml(val, null, serializer); serializer.endDocument(); ... |