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 forPdfPage
validation context.
-
-
Constructor Summary
Constructors Constructor Description PdfPageValidationContext(PdfPage page)
Instantiates a newPdfPageValidationContext
based on pdf page.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PdfPage
getPage()
Gets the pdf page.ValidationType
getType()
Gets type of the context.
-
-
-
Field Detail
-
page
private final PdfPage page
-
-
Constructor Detail
-
PdfPageValidationContext
public PdfPageValidationContext(PdfPage page)
Instantiates a newPdfPageValidationContext
based 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:IValidationContext
Gets type of the context.- Specified by:
getType
in interfaceIValidationContext
- Returns:
- the type
-
-