Android Utililty Methods XML Serializer Write

List of utility methods to do XML Serializer Write

Description

The list of methods to do XML Serializer Write are organized into topic(s).

Method

voidwriteDoubleArrayXml(double[] val, String name, XmlSerializer out)
Flatten a double[] into an XmlSerializer.
if (val == null) {
    out.startTag(null, "null");
    out.endTag(null, "null");
    return;
out.startTag(null, "double-array");
if (name != null) {
    out.attribute(null, "name", name);
...
voidwriteDoubleArrayXml(double[] val, String name, XmlSerializer out)
Flatten a double[] into an XmlSerializer.
if (val == null) {
    out.startTag(null, "null");
    out.endTag(null, "null");
    return;
out.startTag(null, "double-array");
if (name != null) {
    out.attribute(null, "name", name);
...
voidwriteFloatAttribute(XmlSerializer out, String name, float value)
write Float Attribute
out.attribute(null, name, Float.toString(value));
voidwriteIntArrayXml(int[] val, String name, XmlSerializer out)
Flatten an int[] into an XmlSerializer.
if (val == null) {
    out.startTag(null, "null");
    out.endTag(null, "null");
    return;
out.startTag(null, "int-array");
if (name != null) {
    out.attribute(null, "name", name);
...
voidwriteIntArrayXml(int[] val, String name, XmlSerializer out)
Flatten an int[] into an XmlSerializer.
if (val == null) {
    out.startTag(null, "null");
    out.endTag(null, "null");
    return;
out.startTag(null, "int-array");
if (name != null) {
    out.attribute(null, "name", name);
...
voidwriteIntArrayXml(int[] val, String name, XmlSerializer out)
write Int Array Xml
if (val == null) {
    out.startTag(null, "null");
    out.endTag(null, "null");
    return;
out.startTag(null, "int-array");
if (name != null) {
    out.attribute(null, "name", name);
...
voidwriteIntAttribute(XmlSerializer out, String name, int value)
write Int Attribute
out.attribute(null, name, Integer.toString(value));
voidwriteIntAttribute(XmlSerializer out, String name, int value)
write Int Attribute
out.attribute(null, name, Integer.toString(value));
voidwriteListXml(List val, String name, XmlSerializer out)
Flatten a List into an XmlSerializer.
if (val == null) {
    out.startTag(null, "null");
    out.endTag(null, "null");
    return;
out.startTag(null, "list");
if (name != null) {
    out.attribute(null, "name", name);
...
voidwriteListXml(List val, String name, XmlSerializer out)
Flatten a List into an XmlSerializer.
if (val == null) {
    out.startTag(null, "null");
    out.endTag(null, "null");
    return;
out.startTag(null, "list");
if (name != null) {
    out.attribute(null, "name", name);
...