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

NameTypeAccessDescription
mapMap<String, StructureTypeStandard>ReadReturns an unmodifiable view of the role map entries.

Methods

SignatureDescription
parse(roleMapDict: PdfDictionary)RoleMapParses a RoleMap from a PDF dictionary.
resolve(typeName: String)StructureTypeStandardResolves a type name through the role map.
getMap()Map<String, StructureTypeStandard>Returns an unmodifiable view of the role map entries.
size()intReturns the number of mappings.

See Also

 English