public interface IRoleMappingResolver extends Serializable
Be aware, that it is explicitly allowed for the document by the specification to have circular or transitive mappings.
Modifier and Type | Method and Description |
---|---|
boolean |
currentRoleIsStandard()
Checks if the current role belongs to one of the standard structure namespaces.
|
boolean |
currentRoleShallBeMappedToStandard()
Checks if the current role and namespace are specified to be obligatory mapped to the standard structure namespace in order to be a valid role in the Tagged PDF.
|
PdfNamespace |
getNamespace()
Defines the namespace of the current role.
|
String |
getRole()
Defines the current role of the resolver.
|
boolean |
resolveNextMapping()
Performs a mapping resolving "step".
|
String getRole()
String
which identifies current role of the resolver.
PdfNamespace getNamespace()
PdfNamespace
instance of the namespace dictionary wrapper. The role returned by the getRole()
method call is considered to belong to this namespace. Might be null, which means that role belongs to the default standard namespace.
boolean currentRoleIsStandard()
boolean currentRoleShallBeMappedToStandard()
boolean resolveNextMapping()
getRole()
and getNamespace()
methods might change their return value.
Copyright © 1998–2020 iText Group NV. All rights reserved.