Class CanvasBmcValidationContext
java.lang.Object
com.itextpdf.kernel.validation.context.CanvasBmcValidationContext
- All Implemented Interfaces:
-
IValidationContext
Class for canvas begin marked content validation.
-
Constructor Summary
ConstructorsConstructorDescriptionCanvasBmcValidationContext(Stack<Tuple2<PdfName, PdfDictionary>> tagStructureStack, Tuple2<PdfName, PdfDictionary> currentBmc) Instantiates a newCanvasBmcValidationContextbased 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 newCanvasBmcValidationContextbased 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:IValidationContextGets type of the context.- Specified by:
-
getTypein interfaceIValidationContext - Returns:
- the type
-