Class DefaultJAXBContextCache
- java.lang.Object
-
- de.hybris.platform.cockpit.util.jaxb.impl.DefaultJAXBContextCache
-
- All Implemented Interfaces:
JAXBContextCache
public class DefaultJAXBContextCache extends java.lang.Object implements JAXBContextCache
Default implementation of the JAXB context cache. Caches JAXBContexts for a JAXB class and Schemas for URLs.
-
-
Constructor Summary
Constructors Constructor Description DefaultJAXBContextCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.xml.bind.JAXBContextresolveContext(java.lang.Class jaxbClass)Gets a JAXB context object for the given JAXB class.javax.xml.validation.SchemaresolveSchema(java.net.URL url)Gets a XML Schema object for the given URL.
-
-
-
Method Detail
-
resolveContext
public javax.xml.bind.JAXBContext resolveContext(java.lang.Class jaxbClass) throws javax.xml.bind.JAXBExceptionDescription copied from interface:JAXBContextCacheGets a JAXB context object for the given JAXB class.- Specified by:
resolveContextin interfaceJAXBContextCache- Throws:
javax.xml.bind.JAXBException
-
resolveSchema
public javax.xml.validation.Schema resolveSchema(java.net.URL url) throws org.xml.sax.SAXException, java.io.IOExceptionDescription copied from interface:JAXBContextCacheGets a XML Schema object for the given URL.- Specified by:
resolveSchemain interfaceJAXBContextCache- Throws:
org.xml.sax.SAXExceptionjava.io.IOException
-
-