Class XMLFilter

    • Constructor Detail

      • XMLFilter

        public XMLFilter()
      • XMLFilter

        protected XMLFilter​(String mimeType)
        Constructor for sub-classing with a different MIME type.

        Sub-classes that override getMimeType() should call this constructor with the same MIME type as defined in their getMimeType() method.

        Parameters:
        mimeType - The same MIME type as the one provided by getMimeType().
    • Method Detail

      • getName

        public String getName()
        Description copied from interface: IFilter
        Gets the name/identifier of this filter.
        Returns:
        The name/identifier of the filter.
      • getDisplayName

        public String getDisplayName()
        Description copied from interface: IFilter
        Gets the localizable display name of this filter.
        Returns:
        the localizable display name of this filter.
      • getMimeType

        public String getMimeType()
        Description copied from interface: IFilter
        Gets the MIME type of the format supported by this filter.
        Specified by:
        getMimeType in interface IFilter
        Overrides:
        getMimeType in class ITSFilter
        Returns:
        The MIME type of the format supported by this filter.
      • getConfigurations

        public List<FilterConfiguration> getConfigurations()
        Description copied from interface: IFilter
        Gets the list of all predefined configurations for this filter.
        Returns:
        a list of the all predefined configurations for this filter.
      • createSkeletonWriter

        public ISkeletonWriter createSkeletonWriter()
        Description copied from interface: IFilter
        Creates a new ISkeletonWriter object that corresponds to the type of skeleton this filter uses.
        Specified by:
        createSkeletonWriter in interface IFilter
        Specified by:
        createSkeletonWriter in class ITSFilter
        Returns:
        A new instance of ISkeletonWriter for the type of skeleton this filter uses.
      • getEncoderManager

        public EncoderManager getEncoderManager()
        Description copied from interface: IFilter
        Gets the EncoderManager object for this filter. This encoder manager should provided the mappings to the different MIME types used by the filter.
        Returns:
        the EncoderManager for this filter.