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 forIRenderer
validation context.
-
-
Constructor Summary
Constructors Constructor Description LayoutValidationContext(IRenderer renderer)
Instantiates a newLayoutValidationContext
based on renderer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IRenderer
getRenderer()
Gets the renderer.ValidationType
getType()
Gets type of the context.
-
-
-
Field Detail
-
renderer
private final IRenderer renderer
-
-
Constructor Detail
-
LayoutValidationContext
public LayoutValidationContext(IRenderer renderer)
Instantiates a newLayoutValidationContext
based 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:IValidationContext
Gets type of the context.- Specified by:
getType
in interfaceIValidationContext
- Returns:
- the type
-
-