public interface Marshaller
Defines the contract for Object XML Mapping Marshallers. Implementations of this interface can serialize a given Object to an XML Stream.
marshal method accepts a
java.lang.Object as its
first parameter, most
Marshaller implementations cannot handle arbitrary
Objects. Instead, an object class must be registered with the marshaller,
or have a common base class.
- Arjen Poutsma
- See Also:
(Class<?> clazz)Indicate whether this marshaller can marshal instances of the supplied type.
clazz- the class that this marshaller is being asked if it can marshal
trueif this marshaller can indeed marshal instances of the supplied class;