Class DuplicateIdEntryValidationContext
- java.lang.Object
-
- com.itextpdf.kernel.validation.context.DuplicateIdEntryValidationContext
-
- All Implemented Interfaces:
IValidationContext
public class DuplicateIdEntryValidationContext extends java.lang.Object implements IValidationContext
Class for duplicate ID entry in structure element tree validation.
-
-
Constructor Summary
Constructors Constructor Description DuplicateIdEntryValidationContext(PdfString id)
Instantiates a newDuplicateIdEntryValidationContext
based on ID string.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PdfString
getId()
Gets the ID of the entry.ValidationType
getType()
Gets type of the context.
-
-
-
Field Detail
-
id
private final PdfString id
-
-
Constructor Detail
-
DuplicateIdEntryValidationContext
public DuplicateIdEntryValidationContext(PdfString id)
Instantiates a newDuplicateIdEntryValidationContext
based on ID string.- Parameters:
id
- the ID of the entry
-
-
Method Detail
-
getId
public PdfString getId()
Gets the ID of the entry.- Returns:
- the ID
-
getType
public ValidationType getType()
Description copied from interface:IValidationContext
Gets type of the context.- Specified by:
getType
in interfaceIValidationContext
- Returns:
- the type
-
-