Class InlineImageValidationContext
java.lang.Object
com.itextpdf.kernel.validation.context.InlineImageValidationContext
- All Implemented Interfaces:
-
IValidationContext
Class for inline image validation context.
-
Constructor Summary
ConstructorDescriptionInlineImageValidationContext
(PdfStream image, PdfResources resources) Instantiates a newInlineImageValidationContext
based on image and resources. -
Method Summary
-
Constructor Details
-
InlineImageValidationContext
Instantiates a newInlineImageValidationContext
based on image and resources.- Parameters:
-
image
- the image -
resources
- the resources which are used to extract color space of the image
-
-
Method Details
-
getImage
Gets the image.- Returns:
- the image
-
getCurrentColorSpaces
Gets the current color space.- Returns:
- the color space
-
getType
Description copied from interface:IValidationContext
Gets type of the context.- Specified by:
-
getType
in interfaceIValidationContext
- Returns:
- the type
-