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
ConstructorsConstructorDescriptionExtendedGStateValidationContext(CanvasGraphicsState graphicsState, PdfStream contentStream) Instantiates a newExtendedGStateValidationContextbased 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 newExtendedGStateValidationContextbased on graphics state and content stream.- Parameters:
-
graphicsState- the graphics state -
contentStream- the content stream
-
-
Method Details
-
getContentStream
Description copied from interface:IContentStreamValidationParameterGets the content stream.- Specified by:
-
getContentStreamin interfaceIContentStreamValidationParameter - Returns:
- the content stream
-
getGraphicsState
Description copied from interface:IGraphicStateValidationParameterGets the graphics state.- Specified by:
-
getGraphicsStatein interfaceIGraphicStateValidationParameter - Returns:
- the graphics state
-
getType
Description copied from interface:IValidationContextGets type of the context.- Specified by:
-
getTypein interfaceIValidationContext - Returns:
- the type
-