spring-framework / org.springframework.oxm.jaxb / Jaxb2Marshaller / <init>

<init>

Jaxb2Marshaller()

Implementation of the GenericMarshaller interface for JAXB 2.2.

The typical usage will be to set either the "contextPath" or the "classesToBeBound" property on this bean, possibly customize the marshaller and unmarshaller by setting properties, schemas, adapters, and listeners, and to refer to it.

Author
Arjen Poutsma

Author
Juergen Hoeller

Author
Rossen Stoyanchev

Since
3.0

See Also
#setContextPath(String)#setClassesToBeBound(Class[])#setJaxbContextProperties(Map)#setMarshallerProperties(Map)#setUnmarshallerProperties(Map)#setSchema(Resource)#setSchemas(Resource[])#setMarshallerListener(javax.xml.bind.Marshaller.Listener)#setUnmarshallerListener(javax.xml.bind.Unmarshaller.Listener)#setAdapters(XmlAdapter[])