Class SupportedSourceAndTarget


  • public class SupportedSourceAndTarget
    extends java.lang.Object
    Represents a single source and target combination supported by a transformer. File extensions are used to keep the json human readable. Each par also has an optional maximum size for the source content.
    • Constructor Detail

      • SupportedSourceAndTarget

        public SupportedSourceAndTarget()
      • SupportedSourceAndTarget

        public SupportedSourceAndTarget​(java.lang.String sourceMediaType,
                                        java.lang.String targetMediaType,
                                        long maxSourceSizeBytes)
      • SupportedSourceAndTarget

        public SupportedSourceAndTarget​(java.lang.String sourceMediaType,
                                        java.lang.String targetMediaType,
                                        long maxSourceSizeBytes,
                                        int priority)
    • Method Detail

      • getSourceMediaType

        public java.lang.String getSourceMediaType()
      • setSourceMediaType

        public void setSourceMediaType​(java.lang.String sourceMediaType)
      • getMaxSourceSizeBytes

        public long getMaxSourceSizeBytes()
      • setMaxSourceSizeBytes

        public void setMaxSourceSizeBytes​(long maxSourceSizeBytes)
      • getTargetMediaType

        public java.lang.String getTargetMediaType()
      • setTargetMediaType

        public void setTargetMediaType​(java.lang.String targetMediaType)
      • getPriority

        public int getPriority()
      • setPriority

        public void setPriority​(int priority)