Home » spring-ws-1.5.9-with-dependencies » org.springframework » oxm » [javadoc | source]
org.springframework.oxm
public interface: Marshaller [javadoc | source]

All Known Implementing Classes:
    AbstractJaxbMarshaller, AnnotationXStreamMarshaller, XmlBeansMarshaller, AbstractMarshaller, XStreamMarshaller, CastorMarshaller, GenericMarshaller, JibxMarshaller, Jaxb1Marshaller, Jaxb2Marshaller, MimeMarshaller, AbstractMarshaller

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.

Method from org.springframework.oxm.Marshaller Summary:
marshal,   supports
Method from org.springframework.oxm.Marshaller Detail:
 public  void marshal(Object graph,
    Result result) throws XmlMappingException, IOException
    Marshals the object graph with the given root into the provided Result .
 public boolean supports(Class clazz)
    Indicates whether this marshaller can marshal instances of the supplied type.