Class FontGlyphsGStateValidationContext
- java.lang.Object
-
- com.itextpdf.kernel.validation.context.FontGlyphsGStateValidationContext
-
- All Implemented Interfaces:
IContentStreamValidationParameter,IGraphicStateValidationParameter,IValidationContext
public class FontGlyphsGStateValidationContext extends java.lang.Object implements IValidationContext, IGraphicStateValidationParameter, IContentStreamValidationParameter
Class for canvas font glyphs validation context.
-
-
Field Summary
Fields Modifier and Type Field Description private PdfStreamcontentStreamprivate CanvasGraphicsStategraphicsState
-
Constructor Summary
Constructors Constructor Description FontGlyphsGStateValidationContext(CanvasGraphicsState graphicsState, PdfStream contentStream)Instantiates a newFontGlyphsGStateValidationContextbased on canvas graphics state and content stream.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PdfStreamgetContentStream()Gets the content stream.CanvasGraphicsStategetGraphicsState()Gets the graphics state.ValidationTypegetType()Gets type of the context.
-
-
-
Field Detail
-
graphicsState
private final CanvasGraphicsState graphicsState
-
contentStream
private final PdfStream contentStream
-
-
Constructor Detail
-
FontGlyphsGStateValidationContext
public FontGlyphsGStateValidationContext(CanvasGraphicsState graphicsState, PdfStream contentStream)
Instantiates a newFontGlyphsGStateValidationContextbased on canvas graphics state and content stream.- Parameters:
graphicsState- the canvas graphics statecontentStream- the content stream
-
-
Method Detail
-
getContentStream
public PdfStream getContentStream()
Description copied from interface:IContentStreamValidationParameterGets the content stream.- Specified by:
getContentStreamin interfaceIContentStreamValidationParameter- Returns:
- the content stream
-
getGraphicsState
public CanvasGraphicsState getGraphicsState()
Description copied from interface:IGraphicStateValidationParameterGets the graphics state.- Specified by:
getGraphicsStatein interfaceIGraphicStateValidationParameter- Returns:
- the graphics state
-
getType
public ValidationType getType()
Description copied from interface:IValidationContextGets type of the context.- Specified by:
getTypein interfaceIValidationContext- Returns:
- the type
-
-