Interface JAXBContextCache
-
- All Known Implementing Classes:
DefaultJAXBContextCache
public interface JAXBContextCacheCaches JAXBContexts for a JAXB class and Schemas for URLs.
-
-
Method Summary
All Methods Instance Methods Abstract 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
javax.xml.bind.JAXBContext resolveContext(java.lang.Class jaxbClass) throws javax.xml.bind.JAXBExceptionGets a JAXB context object for the given JAXB class.- Throws:
javax.xml.bind.JAXBException
-
resolveSchema
javax.xml.validation.Schema resolveSchema(java.net.URL url) throws org.xml.sax.SAXException, java.io.IOExceptionGets a XML Schema object for the given URL.- Throws:
org.xml.sax.SAXExceptionjava.io.IOException
-
-