Class XmlCollectionJaxbProvider.General

All Implemented Interfaces:
MessageBodyReader<Object>, MessageBodyWriter<Object>
Enclosing class:

@Produces("*/*") @Consumes("*/*") @Singleton public static final class XmlCollectionJaxbProvider.General extends XmlCollectionJaxbProvider
JAXB provider for marshalling/un-marshalling collections from/to entities of <type>/<sub-type>+xml media types.
  • Constructor Details

  • Method Details

    • 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.

      isSupported in class AbstractJaxbProvider<Object>
      m - media type to be checked for support.
      true if the media type is supported by the entity provider, false otherwise.