Class XmlJaxbElementProvider.General

    • Method Detail

      • isSupported

        protected boolean isSupported​(MediaType m)
        Description copied from class: AbstractJaxbProvider
        Check if the given media type is supported by this JAXB entity provider.

        Subclasses can override this method. Default implementation always returns true.

        Overrides:
        isSupported in class AbstractJaxbProvider<jakarta.xml.bind.JAXBElement<?>>
        Parameters:
        m - media type to be checked for support.
        Returns:
        true if the media type is supported by the entity provider, false otherwise.