SerializableObject

com.anywherecommerce.android.sdk

Class SerializableObject

Constructor Summary

  Constructor and Description`<span class="memberNameLink">

SerializableObject()`

Method Summary

  Modifier and TypeMethod and Description`void``<span class="memberNameLink">

copyFieldsFrom(

SerializableObject src) static <T extends

SerializableObject>

T````

deserialize(java.lang.Class cls,
java.lang.String xml)
`` static <T extends

SerializableObject>

T````

deserializeFromFile(java.lang.Class cls,
java.io.InputStream is)
`` static <T extends

SerializableObject>

T````

deserializeFromFile(java.lang.Class cls,
int resID)
`` static <T extends

SerializableObject>

T````

deserializeFromFile(java.lang.Class cls,
java.lang.String fileName)
` `java.lang.String

serialize() boolean``

serializeToFile(java.lang.String fileName)`

Methods inherited from class java.lang.Object

        `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

SerializableObject

        `public SerializableObject()`

Method Detail

serializeToFile

        `public boolean serializeToFile(java.lang.String fileName)`

serialize

        `public java.lang.String serialize()`

deserializeFromFile

        ```
        public static <T extends 

SerializableObject> T deserializeFromFile(java.lang.Class cls,
java.lang.String fileName)
```

deserializeFromFile

        ```
        public static <T extends 

SerializableObject> T deserializeFromFile(java.lang.Class cls,
int resID)
```

deserializeFromFile

        ```
        public static <T extends 

SerializableObject> T deserializeFromFile(java.lang.Class cls,
java.io.InputStream is)
```

deserialize

        ```
        public static <T extends 

SerializableObject> T deserialize(java.lang.Class cls,
java.lang.String xml)
```

copyFieldsFrom

        `public void copyFieldsFrom(

SerializableObject src)`