|
Generated by JDiff |
||||||||
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES |
This file contains all the changes in documentation in the packageorg.springframework.oxm.jaxb
as colored differences. Deletions are shownlike 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.
Implementation of theClass Jaxb2Marshaller, Unmarshaller createUnmarshaller()Marshaller
interface for JAXB 2.0.The typical usage will be to set either the
contextPath
or theclassesToBeBound
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
Return a newly created JAXB unmarshaller. Note: JAXB unmarshallers are not necessarily threadClass Jaxb2Marshaller, void setClassesToBeBound(Class[])-safe.
Set the list of Java classes to be recognized by a newly created JAXBContext.Class Jaxb2Marshaller, void setContextPath(String)Setting this property,
or"contextPath", or "packagesToScan" is required.
Set a JAXB context path.Class Jaxb2Marshaller, void setSchemaResourceResolver(LSResourceResolver)Setting this property, "classesToBeBound", or "packagesToScan" is required.
Class Jaxb2Marshaller, void setSupportJaxbElementClass(boolean)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[])
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)