OptimizeImgOptions.java 2.21 KB
/*
 * Decompiled with CFR 0_118.
 */
package com.adobe.native2pdf.xml;

import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;

@XmlAccessorType(value=XmlAccessType.FIELD)
@XmlType(name="optimizeImgOptions", propOrder={"downSampleAlgo", "downSampleTo", "downSampleAbove", "compressAlgo", "compressQlty", "tileSize"})
public class OptimizeImgOptions
implements Serializable {
    @XmlElement(defaultValue="3")
    protected long downSampleAlgo;
    protected long downSampleTo;
    protected long downSampleAbove;
    protected long compressAlgo;
    protected long compressQlty;
    @XmlElement(defaultValue="256")
    protected Long tileSize;

    public long getDownSampleAlgo() {
        return this.downSampleAlgo;
    }

    public void setDownSampleAlgo(long value) {
        this.downSampleAlgo = value;
    }

    public boolean isSetDownSampleAlgo() {
        return true;
    }

    public long getDownSampleTo() {
        return this.downSampleTo;
    }

    public void setDownSampleTo(long value) {
        this.downSampleTo = value;
    }

    public boolean isSetDownSampleTo() {
        return true;
    }

    public long getDownSampleAbove() {
        return this.downSampleAbove;
    }

    public void setDownSampleAbove(long value) {
        this.downSampleAbove = value;
    }

    public boolean isSetDownSampleAbove() {
        return true;
    }

    public long getCompressAlgo() {
        return this.compressAlgo;
    }

    public void setCompressAlgo(long value) {
        this.compressAlgo = value;
    }

    public boolean isSetCompressAlgo() {
        return true;
    }

    public long getCompressQlty() {
        return this.compressQlty;
    }

    public void setCompressQlty(long value) {
        this.compressQlty = value;
    }

    public boolean isSetCompressQlty() {
        return true;
    }

    public Long getTileSize() {
        return this.isSetTileSize() ? this.tileSize : 256;
    }

    public void setTileSize(Long value) {
        this.tileSize = value;
    }

    public boolean isSetTileSize() {
        return this.tileSize != null;
    }
}