Class CanvasStackValidationContext
- java.lang.Object
-
- com.itextpdf.kernel.validation.context.CanvasStackValidationContext
-
- All Implemented Interfaces:
IValidationContext
public class CanvasStackValidationContext extends java.lang.Object implements IValidationContext
Class for canvas stack validation.
-
-
Field Summary
Fields Modifier and Type Field Description private char
operator
-
Constructor Summary
Constructors Constructor Description CanvasStackValidationContext(char operator)
Instantiates a newCanvasStackValidationContext
based on operator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description char
getOperator()
Gets the operator.ValidationType
getType()
Gets type of the context.
-
-
-
Constructor Detail
-
CanvasStackValidationContext
public CanvasStackValidationContext(char operator)
Instantiates a newCanvasStackValidationContext
based on operator.- Parameters:
operator
- the operator
-
-
Method Detail
-
getOperator
public char getOperator()
Gets the operator.- Returns:
- the operator
-
getType
public ValidationType getType()
Description copied from interface:IValidationContext
Gets type of the context.- Specified by:
getType
in interfaceIValidationContext
- Returns:
- the type
-
-