PDFCosNull.java 1.12 KB
/*
 * Decompiled with CFR 0_118.
 * 
 * Could not load the following classes:
 *  com.adobe.internal.pdftoolkit.core.cos.CosNull
 *  com.adobe.internal.pdftoolkit.core.cos.CosObject
 *  com.adobe.internal.pdftoolkit.core.exceptions.PDFInvalidDocumentException
 */
package com.adobe.internal.pdftoolkit.pdf.document;

import com.adobe.internal.pdftoolkit.core.cos.CosNull;
import com.adobe.internal.pdftoolkit.core.cos.CosObject;
import com.adobe.internal.pdftoolkit.core.exceptions.PDFInvalidDocumentException;
import com.adobe.internal.pdftoolkit.pdf.document.PDFCosObject;
import com.adobe.internal.pdftoolkit.pdf.document.PDFDocument;

public class PDFCosNull
extends PDFCosObject {
    private PDFCosNull(CosNull cosNull) throws PDFInvalidDocumentException {
        super((CosObject)cosNull);
    }

    static PDFCosNull getInstance(CosNull cosNull) throws PDFInvalidDocumentException {
        return new PDFCosNull(cosNull);
    }

    static PDFCosNull newInstance(PDFDocument pdfDocument) throws PDFInvalidDocumentException {
        CosNull cosNull = PDFCosObject.newCosNull(pdfDocument);
        return new PDFCosNull(cosNull);
    }
}