Class AbstractNamedParser

  • All Implemented Interfaces:
    NamedParser, Parser, NamedItem

    @Deprecated(since="2021-07-29")
    public abstract class AbstractNamedParser
    extends AbstractParser
    implements NamedParser
    Deprecated.
    This API is deprecated as Apache Abdera is a retired project since 2017.
    Base abstract implementation of NamedParser
    • Method Detail

      • getName

        public java.lang.String getName()
        Deprecated.
        Specified by:
        getName in interface NamedItem
      • getInputFormats

        public java.lang.String[] getInputFormats()
        Deprecated.
        Description copied from interface: NamedParser
        Returns a listing of media type of the format consumed by this parser
        Specified by:
        getInputFormats in interface NamedParser
        Returns:
        An array of MIME Media Types
      • parsesFormat

        public boolean parsesFormat​(java.lang.String mediatype)
        Deprecated.
        Description copied from interface: NamedParser
        Returns true if this parser is capable of consuming the specified media type
        Specified by:
        parsesFormat in interface NamedParser
        Parameters:
        mediatype - The MIME media type to check
        Returns:
        True if the media type is supported