Generated by
JDiff

org.springframework.oxm.jaxb Documentation Differences

This file contains all the changes in documentation in the package org.springframework.oxm.jaxb as colored differences. Deletions are shown like this, and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a <code> tag will cause all subsequent paragraphs to be displayed differently.

Class Jaxb2Marshaller

Implementation of the Marshaller interface for JAXB 2.0.

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 @since 3.0 @see #setContextPath(String) @see #setClassesToBeBound(Class[]) @see #setJaxbContextProperties(Map) @see #setMarshallerProperties(Map) @see #setUnmarshallerProperties(Map) @see #setSchema(Resource) @see #setSchemas(Resource[]) @see #setMarshallerListener(javax.xml.bind.Marshaller.Listener) @see #setUnmarshallerListener(javax.xml.bind.Unmarshaller.Listener) @see #setAdapters(XmlAdapter[]) @since 3.0

Class Jaxb2Marshaller, Unmarshaller createUnmarshaller()

Return a newly created JAXB unmarshaller. Note: JAXB unmarshallers are not necessarily thread -safe.
Class Jaxb2Marshaller, void setClassesToBeBound(Class[])

Set the list of Java classes to be recognized by a newly created JAXBContext.

Setting this property, or "contextPath", or "packagesToScan" is required.

Class Jaxb2Marshaller, void setContextPath(String)

Set a JAXB context path.

Setting this property, "classesToBeBound", or "packagesToScan" is required.

Class Jaxb2Marshaller, void setSchemaResourceResolver(LSResourceResolver)

SetsSet the resource resolver, as used to load the schema resources. @see SchemaFactory#setResourceResolver(org.w3c.dom.ls.LSResourceResolver) @see #setSchema(Resource) @see #setSchemas(Resource[])
Class Jaxb2Marshaller, void setSupportJaxbElementClass(boolean)

Specify whether the .supports(Class) returns {@code true} for the JAXBElement class.

Default is {@code false}, meaning that {@code supports(Class)} always returns {@code false} for {@code JAXBElement} classes (though .supports(Type) can return {@code true}, since it can obtain the type parameters of {@code JAXBElement}).

This property is typically enabled in combination with usage of classes like MarshallingView, since the {@code ModelAndView} does not offer type parameter information at runtime. @see #supports(Class) @see #supports(Type)