Java org.springframework.oxm.jaxb Jaxb2Marshaller fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.oxm.jaxb Jaxb2Marshaller fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.oxm.jaxb Jaxb2Marshaller.

The text is from its open source code.

Subclass

org.springframework.oxm.jaxb.Jaxb2Marshaller has subclasses.
Click this link to see all its subclasses.

Constructor

Method

voidafterPropertiesSet()
Class[]getClassesToBeBound()
Return the list of Java classes to be recognized by a newly created JAXBContext.
JAXBContextgetJaxbContext()
Return the JAXBContext used by this marshaller, lazily building it if necessary.
voidmarshal(Object graph, Result result)
voidsetBeanClassLoader(ClassLoader classLoader)
voidsetCheckForXmlRootElement(boolean checkForXmlRootElement)
Specify whether the #supports(Class) should check for XmlRootElement @XmlRootElement annotations.
voidsetClassesToBeBound(@Nullable Class... classesToBeBound)
Set the list of Java classes to be recognized by a newly created JAXBContext.
voidsetContextPath(@Nullable String contextPath)
Set a JAXB context path.
voidsetContextPaths(String... contextPaths)
Set multiple JAXB context paths.
voidsetLazyInit(boolean lazyInit)
Set whether to lazily initialize the JAXBContext for this marshaller.
voidsetMappedClass(Class mappedClass)
Specify a JAXB mapped class for partial unmarshalling.
voidsetMarshallerProperties(Map properties)
Set the JAXB Marshaller properties.
voidsetPackagesToScan(@Nullable String... packagesToScan)
Set the packages to search for classes with JAXB2 annotations in the classpath.
voidsetProcessExternalEntities(boolean processExternalEntities)
Indicate whether external XML entities are processed when unmarshalling.
voidsetSchema(Resource schemaResource)
Set the schema resource to use for validation.
voidsetSchemas(Resource... schemaResources)
Set the schema resources to use for validation.
voidsetValidationEventHandler(ValidationEventHandler validationEventHandler)
Set the JAXB validation event handler.
Objectunmarshal(Source source)