Class FontValidationContext
java.lang.Object
com.itextpdf.kernel.validation.context.FontValidationContext
- All Implemented Interfaces:
-
IValidationContext
Class for font validation context.
-
Constructor Summary
ConstructorDescriptionFontValidationContext
(String text, PdfFont font) Instantiates a newFontValidationContext
based on text and font. -
Method Summary
-
Constructor Details
-
FontValidationContext
Instantiates a newFontValidationContext
based on text and font.- Parameters:
-
text
- the text -
font
- the font
-
-
Method Details
-
getText
Gets the text.- Returns:
- the text
-
getFont
Gets the font.- Returns:
- the font
-
getType
Description copied from interface:IValidationContext
Gets type of the context.- Specified by:
-
getType
in interfaceIValidationContext
- Returns:
- the type
-