Class CanvasBmcValidationContext
java.lang.Object
com.itextpdf.kernel.validation.context.CanvasBmcValidationContext
- All Implemented Interfaces:
IValidationContext
Class for canvas begin marked content validation.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Tuple2<PdfName, PdfDictionary> private final Stack<Tuple2<PdfName, PdfDictionary>> -
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.
-
Field Details
-
tagStructureStack
-
currentBmc
-
-
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 stackcurrentBmc- the current BMC
-
-
Method Details
-
getTagStructureStack
Gets tag structure stack.- Returns:
- tag structure stack
-
getCurrentBmc
-
getType
Description copied from interface:IValidationContextGets type of the context.- Specified by:
getTypein interfaceIValidationContext- Returns:
- the type
-