Class CanvasWritingContentValidationContext
java.lang.Object
com.itextpdf.kernel.validation.context.CanvasWritingContentValidationContext
- All Implemented Interfaces:
-
IValidationContext
Class for canvas writing content validation.
-
Constructor Summary
ConstructorDescriptionCanvasWritingContentValidationContext
(Stack<Tuple2<PdfName, PdfDictionary>> tagStructureStack) Instantiates a newCanvasWritingContentValidationContext
based on tag structure stack. -
Method Summary
Modifier and TypeMethodDescriptionGets the tag structure stack.getType()
Gets type of the context.
-
Constructor Details
-
CanvasWritingContentValidationContext
public CanvasWritingContentValidationContext(Stack<Tuple2<PdfName, PdfDictionary>> tagStructureStack) Instantiates a newCanvasWritingContentValidationContext
based on tag structure stack.- Parameters:
-
tagStructureStack
- the tag structure stack
-
-
Method Details
-
getTagStructureStack
Gets the tag structure stack.- Returns:
- the tag structure stack
-
getType
Description copied from interface:IValidationContext
Gets type of the context.- Specified by:
-
getType
in interfaceIValidationContext
- Returns:
- the type
-