Defines the contract for Object XML Mapping Marshallers. Implementations of this interface can serialize a given
Object to an XML Stream.
Although the marshal method accepts a java.lang.Object as its first parameter, most
Marshaller implementations cannot handle arbitrary java.lang.Object. Instead, a object
class must be registered with the marshaller, or have a common base class.
marshalmethod accepts ajava.lang.Objectas its first parameter, mostMarshallerimplementations cannot handle arbitraryjava.lang.Object. Instead, a object class must be registered with the marshaller, or have a common base class.