Class ConverterDescriptor

java.lang.Object
org.nuxeo.ecm.core.convert.extension.ConverterDescriptor

public class ConverterDescriptor extends Object
XMap descriptor for the contribution of a new Converter.
Author:
tiry
  • Field Details

    • CUSTOM_CONVERTER_TYPE

      public static final String CUSTOM_CONVERTER_TYPE
      See Also:
    • CHAINED_CONVERTER_TYPE

      public static final String CHAINED_CONVERTER_TYPE
      See Also:
    • instance

      protected Converter instance
    • converterName

      protected String converterName
    • sourceMimeTypes

      protected List<String> sourceMimeTypes
    • destinationMimeType

      protected String destinationMimeType
    • className

      protected Class<?> className
    • converterType

      protected String converterType
    • bypassIfSameMimeType

      protected Boolean bypassIfSameMimeType
    • wrappedTransformer

      protected boolean wrappedTransformer
    • parameters

      protected Map<String,String> parameters
    • steps

      protected List<String> steps
    • subConverters

      protected List<String> subConverters
  • Constructor Details

    • ConverterDescriptor

      public ConverterDescriptor()
  • Method Details

    • isBypassIfSameMimeType

      public boolean isBypassIfSameMimeType()
      Returns whether the conversion should be bypassed if the input blob mime type equals the converter destination mime type.
      Since:
      11.1
    • getConverterName

      public String getConverterName()
    • getSourceMimeTypes

      public List<String> getSourceMimeTypes()
    • getSteps

      public List<String> getSteps()
    • getDestinationMimeType

      public String getDestinationMimeType()
    • initConverter

      public void initConverter()
    • getConverterInstance

      public Converter getConverterInstance()
    • getParameters

      public Map<String,String> getParameters()
    • merge

    • getConverterType

      public String getConverterType()