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:-
Interface Summary Interface Description 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. -
Class Summary Class Description CalendarCodec The CalendarSerializer deserializes a dateTime.DateCodec Taken from axis:NameMapper This class maps between xml and java names.SoapHeaderObject SoapHeaderObjectTypeInfo 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.XmlObjectWrapper This class wraps an XMLizable and presents it as an XmlObject so that we can later convert this object to the complex type this represents. -
Exception Summary Exception Description HTMLResponseException TypeMapper.PartialArrayException