Package com.sforce.ws.bind
Interface XMLizable
- All Known Subinterfaces:
XmlTypeInfoProvider
- All Known Implementing Classes:
AsyncApiException,BatchInfo,BatchInfoList,BatchResult,Error,JobInfo,QueryResultList,Result,SoapHeaderObject,XmlObject,XmlObjectWrapper
public interface XMLizable
This interface is used to mark a class as de/serializable to XML.
- Since:
- 1.0 Nov 30, 2005
- Version:
- 1.0
- Author:
- http://cheenath.com
-
Method Summary
Modifier and TypeMethodDescriptionvoidload(XmlInputStream in, TypeMapper typeMapper) load the fileds/children from the specified xml streamvoidwrite(QName element, XmlOutputStream out, TypeMapper typeMapper) write this instace as xml.
-
Method Details
-
write
write this instace as xml.- Parameters:
element- xml element nameout- xml output streamtypeMapper- type mapper to be used- Throws:
IOException- failed to write xml
-
load
load the fileds/children from the specified xml stream- Parameters:
in- xml input stream from which the data is readtypeMapper- type mapper to be used- Throws:
IOException- failed to read xmlConnectionException- failed to read/parser/bind xml
-