Class DefaultJaxBContextProvider
java.lang.Object
org.camunda.spin.impl.xml.dom.format.spi.DefaultJaxBContextProvider
- All Implemented Interfaces:
- JaxBContextProvider
Simple implementation for the JaxBContextProvider interface returning a new context
 each time it is invoked. This implementation does not perform any kind of caching.
- Author:
- Daniel Meyer
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionjavax.xml.bind.MarshallercreateMarshaller(Class<?>... types) Obtain a Marshaller that can map the provided types.javax.xml.bind.UnmarshallercreateUnmarshaller(Class<?>... types) Obtain an Unmarshaller that can map the provided types.javax.xml.bind.JAXBContextgetContext(Class<?>... types) 
- 
Constructor Details- 
DefaultJaxBContextProviderpublic DefaultJaxBContextProvider()
 
- 
- 
Method Details- 
getContext
- 
createMarshallerDescription copied from interface:JaxBContextProviderObtain a Marshaller that can map the provided types.- Specified by:
- createMarshallerin interface- JaxBContextProvider
- Parameters:
- types- the Java Types that are going to be marshalled
- Returns:
- the Marshaller of marshalling the provided types to XML.
 
- 
createUnmarshallerDescription copied from interface:JaxBContextProviderObtain an Unmarshaller that can map the provided types.- Specified by:
- createUnmarshallerin interface- JaxBContextProvider
- Parameters:
- types- the Java Types that are going to be unmarshalled
- Returns:
- the Marshaller of unmarshalling the provided types from XML.
 
 
-