Class LayoutValidationContext
- java.lang.Object
-
- com.itextpdf.layout.validation.context.LayoutValidationContext
-
- All Implemented Interfaces:
IValidationContext
public class LayoutValidationContext extends java.lang.Object implements IValidationContext
Class forIRenderervalidation context.
-
-
Constructor Summary
Constructors Constructor Description LayoutValidationContext(IRenderer renderer)Instantiates a newLayoutValidationContextbased on renderer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IRenderergetRenderer()Gets the renderer.ValidationTypegetType()Gets type of the context.
-
-
-
Field Detail
-
renderer
private final IRenderer renderer
-
-
Constructor Detail
-
LayoutValidationContext
public LayoutValidationContext(IRenderer renderer)
Instantiates a newLayoutValidationContextbased on renderer.- Parameters:
renderer- the renderer
-
-
Method Detail
-
getRenderer
public IRenderer getRenderer()
Gets the renderer.- Returns:
- the renderer
-
getType
public ValidationType getType()
Description copied from interface:IValidationContextGets type of the context.- Specified by:
getTypein interfaceIValidationContext- Returns:
- the type
-
-