Interface JAXBContextCache

All Known Implementing Classes:
DefaultJAXBContextCache

public interface JAXBContextCache
Caches JAXBContexts for a JAXB class and Schemas for URLs.
  • Method Summary

    Modifier and Type
    Method
    Description
    javax.xml.bind.JAXBContext
    resolveContext(Class jaxbClass)
    Gets a JAXB context object for the given JAXB class.
    Gets a XML Schema object for the given URL.
  • Method Details

    • resolveContext

      javax.xml.bind.JAXBContext resolveContext(Class jaxbClass) throws javax.xml.bind.JAXBException
      Gets a JAXB context object for the given JAXB class.
      Throws:
      javax.xml.bind.JAXBException
    • resolveSchema

      Schema resolveSchema(URL url) throws SAXException, IOException
      Gets a XML Schema object for the given URL.
      Throws:
      SAXException
      IOException