|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Marshal
Interface for custom (de)serialization.
Method Summary | |
---|---|
Object |
readInstance(org.xmlpull.v1.XmlPullParser parser,
String namespace,
String name,
PropertyInfo expected)
This methods reads an instance from the given parser. |
void |
register(SoapSerializationEnvelope envelope)
Register this Marshal with Envelope |
void |
writeInstance(org.xmlpull.v1.XmlSerializer writer,
Object instance)
Write the instance to the given XmlSerializer. |
Method Detail |
---|
Object readInstance(org.xmlpull.v1.XmlPullParser parser, String namespace, String name, PropertyInfo expected) throws IOException, org.xmlpull.v1.XmlPullParserException
parser
- the xml parsernamespace
- the namespace.
IOException
org.xmlpull.v1.XmlPullParserException
void writeInstance(org.xmlpull.v1.XmlSerializer writer, Object instance) throws IOException
writer
- the xml serializer.instance
- the instance to write to the writer.
IOException
void register(SoapSerializationEnvelope envelope)
envelope
- the soap serialization envelope.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |