Top Description Fields Constructors Methods
org.springframework.http.codec.xml

pack-priv final Class JaxbContextContainer

extends Object
Class Inheritance
Imports
java.util.concurrent.ConcurrentHashMap, .ConcurrentMap, jakarta.xml.bind.JAXBContext, .JAXBException, .Marshaller, .Unmarshaller, org.springframework.core.codec.CodecException

Holder for JAXBContext instances.
Authors
Arjen Poutsma, Juergen Hoeller
Since
5.0

Field Summary

Modifier and TypeField and Description
private final ConcurrentMap<Class<?>, JAXBContext>

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public Marshaller
public Unmarshaller
private JAXBContext
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

jaxbContextsback to summary
private final ConcurrentMap<Class<?>, JAXBContext> jaxbContexts

Constructor Detail

JaxbContextContainerback to summary
pack-priv JaxbContextContainer()

Method Detail

createMarshallerback to summary
public Marshaller createMarshaller(Class<?> clazz) throws CodecException, JAXBException
createUnmarshallerback to summary
public Unmarshaller createUnmarshaller(Class<?> clazz) throws CodecException, JAXBException
getJaxbContextback to summary
private JAXBContext getJaxbContext(Class<?> clazz) throws CodecException