public final class QCloudXml
extends java.lang.Object
构造器和说明 |
---|
QCloudXml() |
限定符和类型 | 方法和说明 |
---|---|
static <T> T |
fromXml(java.io.InputStream inputStream,
java.lang.Class<T> clazz) |
static <T> T |
fromXml(org.xmlpull.v1.XmlPullParser xmlPullParser,
java.lang.Class<T> clazz) |
static <T> T |
fromXml(org.xmlpull.v1.XmlPullParser xmlPullParser,
java.lang.Class<T> clazz,
java.lang.String elementName) |
static <T> java.lang.String |
toXml(T value) |
static <T> void |
toXml(org.xmlpull.v1.XmlSerializer xmlSerializer,
T value) |
static <T> void |
toXml(org.xmlpull.v1.XmlSerializer xmlSerializer,
T value,
java.lang.String elementName) |
public static <T> T fromXml(java.io.InputStream inputStream, java.lang.Class<T> clazz) throws org.xmlpull.v1.XmlPullParserException, java.io.IOException
org.xmlpull.v1.XmlPullParserException
java.io.IOException
public static <T> T fromXml(org.xmlpull.v1.XmlPullParser xmlPullParser, java.lang.Class<T> clazz) throws org.xmlpull.v1.XmlPullParserException, java.io.IOException
org.xmlpull.v1.XmlPullParserException
java.io.IOException
public static <T> T fromXml(org.xmlpull.v1.XmlPullParser xmlPullParser, java.lang.Class<T> clazz, java.lang.String elementName) throws org.xmlpull.v1.XmlPullParserException, java.io.IOException
org.xmlpull.v1.XmlPullParserException
java.io.IOException
public static <T> java.lang.String toXml(T value) throws org.xmlpull.v1.XmlPullParserException, java.io.IOException
org.xmlpull.v1.XmlPullParserException
java.io.IOException
public static <T> void toXml(org.xmlpull.v1.XmlSerializer xmlSerializer, T value) throws org.xmlpull.v1.XmlPullParserException, java.io.IOException
org.xmlpull.v1.XmlPullParserException
java.io.IOException
public static <T> void toXml(org.xmlpull.v1.XmlSerializer xmlSerializer, T value, java.lang.String elementName) throws org.xmlpull.v1.XmlPullParserException, java.io.IOException
org.xmlpull.v1.XmlPullParserException
java.io.IOException