Package org.apache.pdfbox.preflight.xobject

Examples of org.apache.pdfbox.preflight.xobject.XObjFormValidator


        {
            validator = new XObjImageValidator(context, (PDImageXObject) vPath.peek());
        }
        else if (!vPath.isEmpty() && vPath.isExpectedType(PDFormXObject.class))
        {
            validator = new XObjFormValidator(context, (PDFormXObject) vPath.peek());
        }
        else if (!vPath.isEmpty() && vPath.isExpectedType(PDPostScriptXObject.class))
        {
            validator = new XObjPostscriptValidator(context, (PDPostScriptXObject) vPath.peek());
        }
View Full Code Here


        {
            validator = new XObjImageValidator(context, (PDXObjectImage) vPath.peek());
        }
        else if (!vPath.isEmpty() && vPath.isExpectedType(PDXObjectForm.class))
        {
            validator = new XObjFormValidator(context, (PDXObjectForm) vPath.peek());
        }
        else if (!vPath.isEmpty() && vPath.isExpectedType(COSStream.class))
        {
            COSStream stream = (COSStream) vPath.peek();
            String subType = stream.getNameAsString(COSName.SUBTYPE);
View Full Code Here

        {
            validator = new XObjImageValidator(context, (PDXObjectImage) vPath.peek());
        }
        else if (!vPath.isEmpty() && vPath.isExpectedType(PDXObjectForm.class))
        {
            validator = new XObjFormValidator(context, (PDXObjectForm) vPath.peek());
        }
        else if (!vPath.isEmpty() && vPath.isExpectedType(COSStream.class))
        {
            COSStream stream = (COSStream) vPath.peek();
            String subType = stream.getNameAsString(COSName.SUBTYPE);
View Full Code Here

TOP

Related Classes of org.apache.pdfbox.preflight.xobject.XObjFormValidator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.