Uses of Class
com.itextpdf.kernel.pdf.tagging.PdfNamespace
Packages that use PdfNamespace
-
Uses of PdfNamespace in com.itextpdf.kernel.pdf.tagging
Methods in com.itextpdf.kernel.pdf.tagging that return PdfNamespaceModifier and TypeMethodDescriptionPdfNamespace.addNamespaceRoleMapping
(String thisNsRole, String defaultNsRole) Adds to the namespace role map (seesetNamespaceRoleMap(PdfDictionary)
) a single role mapping to the default standard structure namespace.PdfNamespace.addNamespaceRoleMapping
(String thisNsRole, String targetNsRole, PdfNamespace targetNs) Adds to the namespace role map (seesetNamespaceRoleMap(PdfDictionary)
) a single role mapping to the target namespace.PdfStructElem.getNamespace()
A namespace this element belongs to (see ISO 32000-2 14.7.4, "Namespaces").PdfNamespace.setNamespaceName
(PdfString namespaceName) Sets the string defining the namespace name.PdfNamespace.setNamespaceName
(String namespaceName) Sets the string defining the namespace name.PdfNamespace.setNamespaceRoleMap
(PdfDictionary roleMapNs) A dictionary that maps the names of structure types used in the namespace to their approximate equivalents in another namespace.PdfNamespace.setSchema
(PdfFileSpec fileSpec) Sets file specification identifying the schema file, which defines this namespace.Methods in com.itextpdf.kernel.pdf.tagging that return types with arguments of type PdfNamespaceModifier and TypeMethodDescriptionPdfStructTreeRoot.getNamespaces()
Gets namespaces used within the document.Methods in com.itextpdf.kernel.pdf.tagging with parameters of type PdfNamespaceModifier and TypeMethodDescriptionvoid
PdfStructTreeRoot.addNamespace
(PdfNamespace namespace) Adds aPdfNamespace
to the list of the namespaces used within the document.PdfNamespace.addNamespaceRoleMapping
(String thisNsRole, String targetNsRole, PdfNamespace targetNs) Adds to the namespace role map (seesetNamespaceRoleMap(PdfDictionary)
) a single role mapping to the target namespace.static boolean
StandardNamespaces.isKnownDomainSpecificNamespace
(PdfNamespace namespace) Checks if the given namespace is identified as the one that is common within broad ranges of documents types and doesn't require a role mapping for it's roles.void
PdfStructElem.setNamespace
(PdfNamespace namespace) A namespace this element belongs to (see ISO 32000-2 14.7.4, "Namespaces").Constructors in com.itextpdf.kernel.pdf.tagging with parameters of type PdfNamespace -
Uses of PdfNamespace in com.itextpdf.kernel.pdf.tagutils
Fields in com.itextpdf.kernel.pdf.tagutils declared as PdfNamespaceMethods in com.itextpdf.kernel.pdf.tagutils that return PdfNamespaceModifier and TypeMethodDescriptionTagStructureContext.fetchNamespace
(String namespaceName) This method defines a recommended way to obtainPdfNamespace
class instances.TagStructureContext.getDocumentDefaultNamespace()
A namespace that is used as a default value for the tagging for any newTagTreePointer
created (including the pointer returned byTagStructureContext.getAutoTaggingPointer()
, which implies that automatically created tag structure will be in this namespace by default).AccessibilityProperties.getNamespace()
Gets the namespace of element.DefaultAccessibilityProperties.getNamespace()
IRoleMappingResolver.getNamespace()
Defines the namespace of the current role.TagTreePointer.getNamespaceForNewTags()
Gets aPdfNamespace
which will be set to every new tag created by thisTagTreePointer
instance.Methods in com.itextpdf.kernel.pdf.tagutils with parameters of type PdfNamespaceModifier and TypeMethodDescriptionboolean
TagStructureContext.checkIfRoleShallBeMappedToStandardRole
(String role, PdfNamespace namespace) Checks if the given 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.TagStructureContext.getRoleMappingResolver
(String role, PdfNamespace namespace) Gets an instance of theIRoleMappingResolver
corresponding to the current tag structure target version.TagStructureContext.resolveMappingToStandardOrDomainSpecificRole
(String role, PdfNamespace namespace) Gets an instance of theIRoleMappingResolver
which is already in the "resolved" state: it returns role in the standard or domain-specific namespace for theIRoleMappingResolver.getRole()
andIRoleMappingResolver.getNamespace()
methods calls which correspond to the mapping of the given role; or null if the given role is not mapped to the standard or domain-specific one.TagStructureContext.setDocumentDefaultNamespace
(PdfNamespace namespace) Sets a namespace that will be used as a default value for the tagging for any newTagTreePointer
created.AccessibilityProperties.setNamespace
(PdfNamespace namespace) Sets the namespace of element.DefaultAccessibilityProperties.setNamespace
(PdfNamespace namespace) TagTreePointer.setNamespaceForNewTags
(PdfNamespace namespace) Sets aPdfNamespace
which will be set to every new tag created by thisTagTreePointer
instance if this tag doesn't explicitly define namespace by the means ofDefaultAccessibilityProperties.setNamespace(PdfNamespace)
.