Class MappingOptionTriplet

    • Field Detail

      • POSITION

        public static final byte POSITION
        the data object is placed in the upper left corner, all data must be presented within the object area extents
        See Also:
        Constant Field Values
      • POSITION_AND_TRIM

        public static final byte POSITION_AND_TRIM
        the data object is placed in the upper left corner, all data that falls within the object area extents will be presented but data that falls outside will not be presented
        See Also:
        Constant Field Values
      • SCALE_TO_FIT

        public static final byte SCALE_TO_FIT
        the data object is centred and symmetrically scaled up or down while preserving aspect ratio
        See Also:
        Constant Field Values
      • CENTER_AND_TRIM

        public static final byte CENTER_AND_TRIM
        the data object is centred, all data that falls within the object area extents will be presented but data that falls outside will not be presented
        See Also:
        Constant Field Values
      • IMAGE_POINT_TO_PEL

        public static final byte IMAGE_POINT_TO_PEL
        Migration mapping option: Image point-to-pel.
        See Also:
        Constant Field Values
      • IMAGE_POINT_TO_PEL_DOUBLE_DOT

        public static final byte IMAGE_POINT_TO_PEL_DOUBLE_DOT
        Migration mapping option: Image point-to-pel with double dot.
        See Also:
        Constant Field Values
      • REPLICATE_AND_TRIM

        public static final byte REPLICATE_AND_TRIM
        Migration mapping option: Replicate and trim.
        See Also:
        Constant Field Values
      • SCALE_TO_FILL

        public static final byte SCALE_TO_FILL
        the data object is centred, aspect ratio is not always preserved
        See Also:
        Constant Field Values
      • UP3I_PRINT_DATA

        public static final byte UP3I_PRINT_DATA
        used to map ip3i print data objects
        See Also:
        Constant Field Values
    • Constructor Detail

      • MappingOptionTriplet

        public MappingOptionTriplet​(byte mapValue)
        Main constructor
        Parameters:
        mapValue - the mapping option to use
    • Method Detail

      • getDataLength

        public int getDataLength()
        Returns the data length of this structured field
        Returns:
        the data length of this structured field
      • writeToStream

        public void writeToStream​(java.io.OutputStream os)
                           throws java.io.IOException
        DataStream objects must implement the writeToStream() method to write its data to the given OutputStream
        Parameters:
        os - the outputsteam stream
        Throws:
        java.io.IOException - an I/O exception of some sort has occurred.