Class ImageCompression

  • All Implemented Interfaces:
    java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2

    public class ImageCompression
    extends java.lang.Object
    implements java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2

    Java class for anonymous complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType>
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element ref="{http://www.CIP4.org/JDFSchema_2_0}CCITTFaxParams" minOccurs="0"/>
             <element ref="{http://www.CIP4.org/JDFSchema_2_0}DCTParams" minOccurs="0"/>
             <element ref="{http://www.CIP4.org/JDFSchema_2_0}FlateParams" minOccurs="0"/>
             <element ref="{http://www.CIP4.org/JDFSchema_2_0}JBIG2Params" minOccurs="0"/>
             <element ref="{http://www.CIP4.org/JDFSchema_2_0}JPEG2000Params" minOccurs="0"/>
             <element ref="{http://www.CIP4.org/JDFSchema_2_0}LZWParams" minOccurs="0"/>
           </sequence>
           <attribute name="AntiAliasImages" type="{http://www.w3.org/2001/XMLSchema}boolean" />
           <attribute name="AutoFilterImages" type="{http://www.w3.org/2001/XMLSchema}boolean" />
           <attribute name="ConvertImagesToIndexed" type="{http://www.w3.org/2001/XMLSchema}boolean" />
           <attribute name="DCTQuality" type="{http://www.w3.org/2001/XMLSchema}float" />
           <attribute name="DownsampleImages" type="{http://www.w3.org/2001/XMLSchema}boolean" />
           <attribute name="EncodeImages" type="{http://www.w3.org/2001/XMLSchema}boolean" />
           <attribute name="ImageAutoFilterStrategy" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
           <attribute name="ImageDepth" type="{http://www.w3.org/2001/XMLSchema}int" />
           <attribute name="ImageDownsampleThreshold" type="{http://www.w3.org/2001/XMLSchema}float" />
           <attribute name="ImageDownsampleType">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
                 <enumeration value="Average"/>
                 <enumeration value="Bicubic"/>
                 <enumeration value="Subsample"/>
               </restriction>
             </simpleType>
           </attribute>
           <attribute name="ImageFilter" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
           <attribute name="ImageResolution" type="{http://www.w3.org/2001/XMLSchema}float" />
           <attribute name="ImageType">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
                 <enumeration value="Color"/>
                 <enumeration value="Grayscale"/>
                 <enumeration value="Monochrome"/>
               </restriction>
             </simpleType>
           </attribute>
           <attribute name="JPXQuality" type="{http://www.w3.org/2001/XMLSchema}int" />
           <anyAttribute processContents='lax' namespace='##other'/>
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Field Detail

      • antiAliasImages

        protected java.lang.Boolean antiAliasImages
      • autoFilterImages

        protected java.lang.Boolean autoFilterImages
      • convertImagesToIndexed

        protected java.lang.Boolean convertImagesToIndexed
      • dctQuality

        protected java.lang.Float dctQuality
      • downsampleImages

        protected java.lang.Boolean downsampleImages
      • encodeImages

        protected java.lang.Boolean encodeImages
      • imageAutoFilterStrategy

        protected java.lang.String imageAutoFilterStrategy
      • imageDepth

        protected java.lang.Integer imageDepth
      • imageDownsampleThreshold

        protected java.lang.Float imageDownsampleThreshold
      • imageFilter

        protected java.lang.String imageFilter
      • imageResolution

        protected java.lang.Float imageResolution
      • jpxQuality

        protected java.lang.Integer jpxQuality
    • Constructor Detail

      • ImageCompression

        public ImageCompression()
    • Method Detail

      • getCCITTFaxParams

        public CCITTFaxParams getCCITTFaxParams()
        Gets the value of the ccittFaxParams property.
        Returns:
        possible object is CCITTFaxParams
      • setCCITTFaxParams

        public void setCCITTFaxParams​(CCITTFaxParams value)
        Sets the value of the ccittFaxParams property.
        Parameters:
        value - allowed object is CCITTFaxParams
      • getDCTParams

        public DCTParams getDCTParams()
        Gets the value of the dctParams property.
        Returns:
        possible object is DCTParams
      • setDCTParams

        public void setDCTParams​(DCTParams value)
        Sets the value of the dctParams property.
        Parameters:
        value - allowed object is DCTParams
      • getFlateParams

        public FlateParams getFlateParams()
        Gets the value of the flateParams property.
        Returns:
        possible object is FlateParams
      • setFlateParams

        public void setFlateParams​(FlateParams value)
        Sets the value of the flateParams property.
        Parameters:
        value - allowed object is FlateParams
      • getJBIG2Params

        public JBIG2Params getJBIG2Params()
        Gets the value of the jbig2Params property.
        Returns:
        possible object is JBIG2Params
      • setJBIG2Params

        public void setJBIG2Params​(JBIG2Params value)
        Sets the value of the jbig2Params property.
        Parameters:
        value - allowed object is JBIG2Params
      • getJPEG2000Params

        public JPEG2000Params getJPEG2000Params()
        Gets the value of the jpeg2000Params property.
        Returns:
        possible object is JPEG2000Params
      • setJPEG2000Params

        public void setJPEG2000Params​(JPEG2000Params value)
        Sets the value of the jpeg2000Params property.
        Parameters:
        value - allowed object is JPEG2000Params
      • getLZWParams

        public LZWParams getLZWParams()
        Gets the value of the lzwParams property.
        Returns:
        possible object is LZWParams
      • setLZWParams

        public void setLZWParams​(LZWParams value)
        Sets the value of the lzwParams property.
        Parameters:
        value - allowed object is LZWParams
      • isAntiAliasImages

        public java.lang.Boolean isAntiAliasImages()
        Gets the value of the antiAliasImages property.
        Returns:
        possible object is Boolean
      • setAntiAliasImages

        public void setAntiAliasImages​(java.lang.Boolean value)
        Sets the value of the antiAliasImages property.
        Parameters:
        value - allowed object is Boolean
      • isAutoFilterImages

        public java.lang.Boolean isAutoFilterImages()
        Gets the value of the autoFilterImages property.
        Returns:
        possible object is Boolean
      • setAutoFilterImages

        public void setAutoFilterImages​(java.lang.Boolean value)
        Sets the value of the autoFilterImages property.
        Parameters:
        value - allowed object is Boolean
      • isConvertImagesToIndexed

        public java.lang.Boolean isConvertImagesToIndexed()
        Gets the value of the convertImagesToIndexed property.
        Returns:
        possible object is Boolean
      • setConvertImagesToIndexed

        public void setConvertImagesToIndexed​(java.lang.Boolean value)
        Sets the value of the convertImagesToIndexed property.
        Parameters:
        value - allowed object is Boolean
      • getDCTQuality

        public java.lang.Float getDCTQuality()
        Gets the value of the dctQuality property.
        Returns:
        possible object is Float
      • setDCTQuality

        public void setDCTQuality​(java.lang.Float value)
        Sets the value of the dctQuality property.
        Parameters:
        value - allowed object is Float
      • isDownsampleImages

        public java.lang.Boolean isDownsampleImages()
        Gets the value of the downsampleImages property.
        Returns:
        possible object is Boolean
      • setDownsampleImages

        public void setDownsampleImages​(java.lang.Boolean value)
        Sets the value of the downsampleImages property.
        Parameters:
        value - allowed object is Boolean
      • isEncodeImages

        public java.lang.Boolean isEncodeImages()
        Gets the value of the encodeImages property.
        Returns:
        possible object is Boolean
      • setEncodeImages

        public void setEncodeImages​(java.lang.Boolean value)
        Sets the value of the encodeImages property.
        Parameters:
        value - allowed object is Boolean
      • getImageAutoFilterStrategy

        public java.lang.String getImageAutoFilterStrategy()
        Gets the value of the imageAutoFilterStrategy property.
        Returns:
        possible object is String
      • setImageAutoFilterStrategy

        public void setImageAutoFilterStrategy​(java.lang.String value)
        Sets the value of the imageAutoFilterStrategy property.
        Parameters:
        value - allowed object is String
      • getImageDepth

        public java.lang.Integer getImageDepth()
        Gets the value of the imageDepth property.
        Returns:
        possible object is Integer
      • setImageDepth

        public void setImageDepth​(java.lang.Integer value)
        Sets the value of the imageDepth property.
        Parameters:
        value - allowed object is Integer
      • getImageDownsampleThreshold

        public java.lang.Float getImageDownsampleThreshold()
        Gets the value of the imageDownsampleThreshold property.
        Returns:
        possible object is Float
      • setImageDownsampleThreshold

        public void setImageDownsampleThreshold​(java.lang.Float value)
        Sets the value of the imageDownsampleThreshold property.
        Parameters:
        value - allowed object is Float
      • getImageFilter

        public java.lang.String getImageFilter()
        Gets the value of the imageFilter property.
        Returns:
        possible object is String
      • setImageFilter

        public void setImageFilter​(java.lang.String value)
        Sets the value of the imageFilter property.
        Parameters:
        value - allowed object is String
      • getImageResolution

        public java.lang.Float getImageResolution()
        Gets the value of the imageResolution property.
        Returns:
        possible object is Float
      • setImageResolution

        public void setImageResolution​(java.lang.Float value)
        Sets the value of the imageResolution property.
        Parameters:
        value - allowed object is Float
      • getJPXQuality

        public java.lang.Integer getJPXQuality()
        Gets the value of the jpxQuality property.
        Returns:
        possible object is Integer
      • setJPXQuality

        public void setJPXQuality​(java.lang.Integer value)
        Sets the value of the jpxQuality property.
        Parameters:
        value - allowed object is Integer
      • getOtherAttributes

        public java.util.Map<javax.xml.namespace.QName,​java.lang.String> getOtherAttributes()
        Gets a map that contains attributes that aren't bound to any typed property on this class.

        the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.

        Returns:
        always non-null
      • withAntiAliasImages

        public ImageCompression withAntiAliasImages​(java.lang.Boolean value)
      • withAutoFilterImages

        public ImageCompression withAutoFilterImages​(java.lang.Boolean value)
      • withConvertImagesToIndexed

        public ImageCompression withConvertImagesToIndexed​(java.lang.Boolean value)
      • withDCTQuality

        public ImageCompression withDCTQuality​(java.lang.Float value)
      • withDownsampleImages

        public ImageCompression withDownsampleImages​(java.lang.Boolean value)
      • withEncodeImages

        public ImageCompression withEncodeImages​(java.lang.Boolean value)
      • withImageAutoFilterStrategy

        public ImageCompression withImageAutoFilterStrategy​(java.lang.String value)
      • withImageDepth

        public ImageCompression withImageDepth​(java.lang.Integer value)
      • withImageDownsampleThreshold

        public ImageCompression withImageDownsampleThreshold​(java.lang.Float value)
      • withImageFilter

        public ImageCompression withImageFilter​(java.lang.String value)
      • withImageResolution

        public ImageCompression withImageResolution​(java.lang.Float value)
      • withJPXQuality

        public ImageCompression withJPXQuality​(java.lang.Integer value)
      • equals

        public boolean equals​(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                              org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                              java.lang.Object object,
                              org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
        Specified by:
        equals in interface org.jvnet.jaxb2_commons.lang.Equals2
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
        Specified by:
        hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object