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 XMLizableThis 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidload(XmlInputStream in, TypeMapper typeMapper)load the fileds/children from the specified xml streamvoidwrite(javax.xml.namespace.QName element, XmlOutputStream out, TypeMapper typeMapper)write this instace as xml.
-
-
-
Method Detail
-
write
void write(javax.xml.namespace.QName element, XmlOutputStream out, TypeMapper typeMapper) throws java.io.IOExceptionwrite this instace as xml.- Parameters:
element- xml element nameout- xml output streamtypeMapper- type mapper to be used- Throws:
java.io.IOException- failed to write xml
-
load
void load(XmlInputStream in, TypeMapper typeMapper) throws java.io.IOException, ConnectionException
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:
java.io.IOException- failed to read xmlConnectionException- failed to read/parser/bind xml
-
-