PDFOCListMode.java 835 Bytes
/*
 * Decompiled with CFR 0_118.
 * 
 * Could not load the following classes:
 *  com.adobe.internal.pdftoolkit.core.types.ASName
 */
package com.adobe.internal.pdftoolkit.pdf.graphics.optionalcontent;

import com.adobe.internal.pdftoolkit.core.types.ASName;

/*
 * This class specifies class file version 49.0 but uses Java 6 signatures.  Assumed Java 6.
 */
public enum PDFOCListMode {
    AllPages(ASName.k_AllPages),
    VisiblePages(ASName.k_VisiblePages);
    
    private final ASName mMode;

    private PDFOCListMode(ASName mode) {
        this.mMode = mode;
    }

    ASName getMode() {
        return this.mMode;
    }

    public static PDFOCListMode getInstance(ASName mode) {
        return ASName.k_AllPages.equals((Object)mode) ? AllPages : (ASName.k_VisiblePages.equals((Object)mode) ? VisiblePages : null);
    }
}