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).
Properties
| Name | Type | Access | Description |
|---|---|---|---|
map | Map<String, StructureTypeStandard> | Read | Returns an unmodifiable view of the role map entries. |
Methods
| Signature | Description |
|---|---|
parse(roleMapDict: COSDictionary) → RoleMap | Parses a RoleMap from a COS 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. |