Class ExtendedGStateValidationContext
java.lang.Object
com.itextpdf.kernel.validation.context.ExtendedGStateValidationContext
- All Implemented Interfaces:
-
IContentStreamValidationParameter
,IGraphicStateValidationParameter
,IValidationContext
public class ExtendedGStateValidationContext extends Object implements IValidationContext, IGraphicStateValidationParameter, IContentStreamValidationParameter
Class for extended graphics state validation.
-
Constructor Summary
ConstructorDescriptionExtendedGStateValidationContext
(CanvasGraphicsState graphicsState, PdfStream contentStream) Instantiates a newExtendedGStateValidationContext
based on graphics state and content stream. -
Method Summary
Modifier and TypeMethodDescriptionGets the content stream.Gets the graphics state.getType()
Gets type of the context.
-
Constructor Details
-
ExtendedGStateValidationContext
Instantiates a newExtendedGStateValidationContext
based on graphics state and content stream.- Parameters:
-
graphicsState
- the graphics state -
contentStream
- the content stream
-
-
Method Details
-
getContentStream
Description copied from interface:IContentStreamValidationParameter
Gets the content stream.- Specified by:
-
getContentStream
in interfaceIContentStreamValidationParameter
- Returns:
- the content stream
-
getGraphicsState
Description copied from interface:IGraphicStateValidationParameter
Gets the graphics state.- Specified by:
-
getGraphicsState
in interfaceIGraphicStateValidationParameter
- Returns:
- the graphics state
-
getType
Description copied from interface:IValidationContext
Gets type of the context.- Specified by:
-
getType
in interfaceIValidationContext
- Returns:
- the type
-