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

import com.adobe.native2pdf.xml.ColorProfile;
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.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

@XmlAccessorType(value=XmlAccessType.FIELD)
@XmlType(name="", propOrder={"rgb", "cmyk", "grayscale"})
@XmlRootElement(name="colorManagement")
public class ColorManagement
implements Serializable {
    @XmlElement(name="RGB", required=1)
    protected ColorProfile rgb;
    @XmlElement(name="CMYK", required=1)
    protected ColorProfile cmyk;
    @XmlElement(name="Grayscale", required=1)
    protected ColorProfile grayscale;

    public ColorProfile getRGB() {
        return this.rgb;
    }

    public void setRGB(ColorProfile value) {
        this.rgb = value;
    }

    public boolean isSetRGB() {
        return this.rgb != null;
    }

    public ColorProfile getCMYK() {
        return this.cmyk;
    }

    public void setCMYK(ColorProfile value) {
        this.cmyk = value;
    }

    public boolean isSetCMYK() {
        return this.cmyk != null;
    }

    public ColorProfile getGrayscale() {
        return this.grayscale;
    }

    public void setGrayscale(ColorProfile value) {
        this.grayscale = value;
    }

    public boolean isSetGrayscale() {
        return this.grayscale != null;
    }
}