package

com.sforce.ws.bind

Provides Java to XML binding.

Typical Java to XML usage:

    XmlOutputStream out = ...
    TypeInfo info = ...

    TypeMapper mapper = new TypeMapper();
    mapper.writeObject(out, info, value, isSet);

Typical XML to Java usage:

    XmlInputStream in = ...
    TypeInfo info = ...
    Class expectedType = ...

    TypeMapper mapper = new TypeMapper();
    Object object = mapper.readObject(in, info, expectedType); 

Package Specification

Related Documentation

For overviews, tutorials, examples, guides, and tool documentation, please see:

Interfaces

XMLizable This interface is used to mark a class as de/serializable to XML. 
XmlTypeInfoProvider This interface can be used to indicate that it knows what its type Info is, and to use this in preference to asking to the TypeMapper for the type info. 

Classes

CalendarCodec The CalendarSerializer deserializes a dateTime. 
DateCodec Taken from axis:

The DateSerializer deserializes a Date. 

NameMapper This class maps between xml and java names. 
SoapHeaderObject SoapHeaderObject 
TypeInfo This class contains the information regaing a type. 
TypeMapper This class is used at runtime to bind xml document to java object and java objects back to xml. 
XmlObject This is a generic XML element -- same a DOM element. 

Exceptions