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