Class CanvasWritingContentValidationContext
- java.lang.Object
-
- com.itextpdf.kernel.validation.context.CanvasWritingContentValidationContext
-
- All Implemented Interfaces:
IValidationContext
public class CanvasWritingContentValidationContext extends java.lang.Object implements IValidationContext
Class for canvas writing content validation.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Stack<Tuple2<PdfName,PdfDictionary>>
tagStructureStack
-
Constructor Summary
Constructors Constructor Description CanvasWritingContentValidationContext(java.util.Stack<Tuple2<PdfName,PdfDictionary>> tagStructureStack)
Instantiates a newCanvasWritingContentValidationContext
based on tag structure stack.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Stack<Tuple2<PdfName,PdfDictionary>>
getTagStructureStack()
Gets the tag structure stack.ValidationType
getType()
Gets type of the context.
-
-
-
Field Detail
-
tagStructureStack
private final java.util.Stack<Tuple2<PdfName,PdfDictionary>> tagStructureStack
-
-
Constructor Detail
-
CanvasWritingContentValidationContext
public CanvasWritingContentValidationContext(java.util.Stack<Tuple2<PdfName,PdfDictionary>> tagStructureStack)
Instantiates a newCanvasWritingContentValidationContext
based on tag structure stack.- Parameters:
tagStructureStack
- the tag structure stack
-
-
Method Detail
-
getTagStructureStack
public java.util.Stack<Tuple2<PdfName,PdfDictionary>> getTagStructureStack()
Gets the tag structure stack.- Returns:
- the tag structure stack
-
getType
public ValidationType getType()
Description copied from interface:IValidationContext
Gets type of the context.- Specified by:
getType
in interfaceIValidationContext
- Returns:
- the type
-
-