Interface JAXBContextCache

  • All Known Implementing Classes:
    DefaultJAXBContextCache

    public interface JAXBContextCache
    Caches 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.JAXBContext resolveContext​(java.lang.Class jaxbClass)
      Gets a JAXB context object for the given JAXB class.
      javax.xml.validation.Schema resolveSchema​(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.JAXBException
        Gets 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.IOException
        Gets a XML Schema object for the given URL.
        Throws:
        org.xml.sax.SAXException
        java.io.IOException