Uses of Class
com.itextpdf.kernel.pdf.tagging.PdfNamespace
-
Packages that use PdfNamespace Package Description com.itextpdf.kernel.pdf.tagging com.itextpdf.kernel.pdf.tagutils com.itextpdf.layout.renderer -
-
Uses of PdfNamespace in com.itextpdf.kernel.pdf.tagging
Methods in com.itextpdf.kernel.pdf.tagging that return PdfNamespace Modifier and Type Method Description PdfNamespace
PdfNamespace. addNamespaceRoleMapping(java.lang.String thisNsRole, java.lang.String defaultNsRole)
Adds to the namespace role map (seesetNamespaceRoleMap(PdfDictionary)
) a single role mapping to the default standard structure namespace.PdfNamespace
PdfNamespace. addNamespaceRoleMapping(java.lang.String thisNsRole, java.lang.String targetNsRole, PdfNamespace targetNs)
Adds to the namespace role map (seesetNamespaceRoleMap(PdfDictionary)
) a single role mapping to the target namespace.PdfNamespace
PdfStructElem. getNamespace()
A namespace this element belongs to (see ISO 32000-2 14.7.4, "Namespaces").private PdfNamespace
PdfNamespace. put(PdfName key, PdfObject value)
PdfNamespace
PdfNamespace. setNamespaceName(PdfString namespaceName)
Sets the string defining the namespace name.PdfNamespace
PdfNamespace. setNamespaceName(java.lang.String namespaceName)
Sets the string defining the namespace name.PdfNamespace
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
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 PdfNamespace Modifier and Type Method Description java.util.List<PdfNamespace>
PdfStructTreeRoot. getNamespaces()
Gets namespaces used within the document.Methods in com.itextpdf.kernel.pdf.tagging with parameters of type PdfNamespace Modifier and Type Method Description void
PdfStructTreeRoot. addNamespace(PdfNamespace namespace)
Adds aPdfNamespace
to the list of the namespaces used within the document.PdfNamespace
PdfNamespace. addNamespaceRoleMapping(java.lang.String thisNsRole, java.lang.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 Constructor Description PdfStructureAttributes(PdfNamespace namespace)
-
Uses of PdfNamespace in com.itextpdf.kernel.pdf.tagutils
Fields in com.itextpdf.kernel.pdf.tagutils declared as PdfNamespace Modifier and Type Field Description private PdfNamespace
TagTreePointer. currentNamespace
private PdfNamespace
RoleMappingResolverPdf2. currNamespace
private PdfNamespace
RoleMappingResolverPdf2. defaultNamespace
private PdfNamespace
TagStructureContext. documentDefaultNamespace
protected PdfNamespace
DefaultAccessibilityProperties. namespace
Fields in com.itextpdf.kernel.pdf.tagutils with type parameters of type PdfNamespace Modifier and Type Field Description private java.util.Map<java.lang.String,PdfNamespace>
TagStructureContext. nameToNamespace
Methods in com.itextpdf.kernel.pdf.tagutils that return PdfNamespace Modifier and Type Method Description PdfNamespace
TagStructureContext. fetchNamespace(java.lang.String namespaceName)
This method defines a recommended way to obtainPdfNamespace
class instances.PdfNamespace
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).PdfNamespace
AccessibilityProperties. getNamespace()
Gets the namespace of element.PdfNamespace
BackedAccessibilityProperties. getNamespace()
PdfNamespace
DefaultAccessibilityProperties. getNamespace()
PdfNamespace
IRoleMappingResolver. getNamespace()
Defines the namespace of the current role.PdfNamespace
RoleMappingResolver. getNamespace()
PdfNamespace
RoleMappingResolverPdf2. getNamespace()
PdfNamespace
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 PdfNamespace Modifier and Type Method Description boolean
TagStructureContext. checkIfRoleShallBeMappedToStandardRole(java.lang.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.private java.lang.String
TagStructureContext. composeExceptionBasedOnNamespacePresence(java.lang.String role, PdfNamespace namespace, java.lang.String withoutNsEx, java.lang.String withNsEx)
private java.lang.String
TagStructureContext. composeInvalidRoleException(java.lang.String role, PdfNamespace namespace)
private java.lang.String
TagStructureContext. composeTooMuchTransitiveMappingsException(java.lang.String role, PdfNamespace namespace)
(package private) void
TagStructureContext. ensureNamespaceRegistered(PdfNamespace namespace)
IRoleMappingResolver
TagStructureContext. getRoleMappingResolver(java.lang.String role, PdfNamespace namespace)
Gets an instance of theIRoleMappingResolver
corresponding to the current tag structure target version.private void
RootTagNormalizer. logCreatedRootTagHasMappingIssue(PdfNamespace rootTagOriginalNs, IRoleMappingResolver mapping)
IRoleMappingResolver
TagStructureContext. resolveMappingToStandardOrDomainSpecificRole(java.lang.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
TagStructureContext. setDocumentDefaultNamespace(PdfNamespace namespace)
Sets a namespace that will be used as a default value for the tagging for any newTagTreePointer
created.AccessibilityProperties
AccessibilityProperties. setNamespace(PdfNamespace namespace)
Sets the namespace of element.AccessibilityProperties
BackedAccessibilityProperties. setNamespace(PdfNamespace namespace)
AccessibilityProperties
DefaultAccessibilityProperties. setNamespace(PdfNamespace namespace)
TagTreePointer
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)
.(package private) void
TagStructureContext. throwExceptionIfRoleIsInvalid(AccessibilityProperties properties, PdfNamespace pointerCurrentNamespace)
(package private) void
TagStructureContext. throwExceptionIfRoleIsInvalid(java.lang.String role, PdfNamespace namespace)
private void
RootTagNormalizer. wrapAllKidsInTag(PdfStructElem parent, PdfName wrapTagRole, PdfNamespace wrapTagNs)
Constructors in com.itextpdf.kernel.pdf.tagutils with parameters of type PdfNamespace Constructor Description RoleMappingResolverPdf2(java.lang.String role, PdfNamespace namespace, PdfDocument document)
-
Uses of PdfNamespace in com.itextpdf.layout.renderer
Methods in com.itextpdf.layout.renderer with parameters of type PdfNamespace Modifier and Type Method Description private static boolean
AccessibleAttributesApplier. isTagStructurePdf2(PdfNamespace namespace)
-