Class DefaultJAXBContextCache
java.lang.Object
de.hybris.platform.cockpit.util.jaxb.impl.DefaultJAXBContextCache
- All Implemented Interfaces:
JAXBContextCache
Default implementation of the JAXB context cache. Caches JAXBContexts for a JAXB class and Schemas for URLs.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.xml.bind.JAXBContextresolveContext(Class jaxbClass) Gets a JAXB context object for the given JAXB class.resolveSchema(URL url) Gets a XML Schema object for the given URL.
-
Constructor Details
-
DefaultJAXBContextCache
public DefaultJAXBContextCache()
-
-
Method Details
-
resolveContext
public javax.xml.bind.JAXBContext resolveContext(Class jaxbClass) throws javax.xml.bind.JAXBException Description copied from interface:JAXBContextCacheGets a JAXB context object for the given JAXB class.- Specified by:
resolveContextin interfaceJAXBContextCache- Throws:
javax.xml.bind.JAXBException
-
resolveSchema
Description copied from interface:JAXBContextCacheGets a XML Schema object for the given URL.- Specified by:
resolveSchemain interfaceJAXBContextCache- Throws:
SAXExceptionIOException
-