Class PdfFormXObjectPredicate
java.lang.Object
com.itextpdf.pdfoptimizer.handlers.util.PdfFormXObjectPredicate
- All Implemented Interfaces:
-
IPdfObjectPredicate
Predicate function which detects form xObjects.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleantest(com.itextpdf.kernel.pdf.PdfObject object) Checks that current object is aPdfStreamand has keyPdfName.Subtypeassociated with valuePdfName.Form.
-
Constructor Details
-
PdfFormXObjectPredicate
public PdfFormXObjectPredicate()Creates form xObject predicate function.
-
-
Method Details
-
test
public final boolean test(com.itextpdf.kernel.pdf.PdfObject object) Checks that current object is aPdfStreamand has keyPdfName.Subtypeassociated with valuePdfName.Form. If optional keyPdfName.Typeis presented it should be associated with the valuePdfName.XObject.- Specified by:
-
testin interfaceIPdfObjectPredicate - Parameters:
-
object- is an argument - Returns:
- is a result of evaluation
-