Class PdfPageValidationContext
- java.lang.Object
-
- com.itextpdf.kernel.validation.context.PdfPageValidationContext
-
- All Implemented Interfaces:
IValidationContext
public class PdfPageValidationContext extends java.lang.Object implements IValidationContext
Class forPdfPagevalidation context.
-
-
Constructor Summary
Constructors Constructor Description PdfPageValidationContext(PdfPage page)Instantiates a newPdfPageValidationContextbased on pdf page.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PdfPagegetPage()Gets the pdf page.ValidationTypegetType()Gets type of the context.
-
-
-
Field Detail
-
page
private final PdfPage page
-
-
Constructor Detail
-
PdfPageValidationContext
public PdfPageValidationContext(PdfPage page)
Instantiates a newPdfPageValidationContextbased on pdf page.- Parameters:
page- the pdf page
-
-
Method Detail
-
getPage
public PdfPage getPage()
Gets the pdf page.- Returns:
- the pdf page
-
getType
public ValidationType getType()
Description copied from interface:IValidationContextGets type of the context.- Specified by:
getTypein interfaceIValidationContext- Returns:
- the type
-
-