public interface IRoleMappingResolver
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 resolverPdfNamespace 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()
true if the current namespace is a standard structure namespace and the current role is defined
as standard role in it, false otherwiseboolean currentRoleShallBeMappedToStandard()
true, if the current role in the current namespace neither belongs to the standard structure
roles, nor is in the domain specific namespace; otherwise falseboolean resolveNextMapping()
getRole() and getNamespace() methods might change their
return value.true if current role and/or namespace have changed their values; otherwise false which
means that current role is not mappedCopyright © 1998–2025 Apryse Group NV. All rights reserved.