Interface JAXBContextCache
- All Known Implementing Classes:
DefaultJAXBContextCache
public interface JAXBContextCache
Caches JAXBContexts for a JAXB class and Schemas for URLs.
-
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.
-
Method Details
-
resolveContext
Gets a JAXB context object for the given JAXB class.- Throws:
javax.xml.bind.JAXBException
-
resolveSchema
Gets a XML Schema object for the given URL.- Throws:
SAXExceptionIOException
-