RoleMap
Overview
RoleMap is a class in Aspose.PDF FOSS for Java.
Maps custom structure type names to standard types (ISO 32000-1:2008, §14.7.3).
This class provides 4 methods for working with RoleMap objects in Java programs.
Available methods include: getMap, parse, resolve, size.
All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package.
Properties: map.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
map | Map<String, StructureTypeStandard> | Read | Returns an unmodifiable view of the role map entries. |
Methods
| Signature | Description |
|---|---|
parse(roleMapDict: PdfDictionary) → RoleMap | Parses a RoleMap from a PDF dictionary. |
resolve(typeName: String) → StructureTypeStandard | Resolves a type name through the role map. |
getMap() → Map<String, StructureTypeStandard> | Returns an unmodifiable view of the role map entries. |
size() → int | Returns the number of mappings. |