public class PdfArtifact extends java.lang.Object implements IAccessibleElement
| Modifier and Type | Field and Description |
|---|---|
protected java.util.HashMap<PdfName,PdfObject> |
accessibleAttributes |
protected java.util.UUID |
id |
protected PdfName |
role |
| Constructor and Description |
|---|
PdfArtifact() |
| Modifier and Type | Method and Description |
|---|---|
PdfObject |
getAccessibleAttribute(PdfName key)
Get the attribute of accessible element (everything in
A dictionary + Lang, Alt, ActualText, E). |
java.util.HashMap<PdfName,PdfObject> |
getAccessibleAttributes()
Gets all the properties of accessible element.
|
PdfArray |
getAttached() |
PdfArray |
getBBox() |
java.util.UUID |
getId() |
PdfName |
getRole()
Gets the role of the accessible element.
|
PdfString |
getType() |
void |
setAccessibleAttribute(PdfName key,
PdfObject value)
Set the attribute of accessible element (everything in
A dictionary + Lang, Alt, ActualText, E). |
void |
setAttached(PdfArray attached) |
void |
setBBox(PdfArray bbox) |
void |
setId(java.util.UUID id) |
void |
setRole(PdfName role)
Sets the role of the accessiblee element.
|
void |
setType(PdfString type) |
protected PdfName role
protected java.util.UUID id
public PdfObject getAccessibleAttribute(PdfName key)
IAccessibleElementA dictionary + Lang, Alt, ActualText, E).getAccessibleAttribute in interface IAccessibleElementpublic void setAccessibleAttribute(PdfName key, PdfObject value)
IAccessibleElementA dictionary + Lang, Alt, ActualText, E).setAccessibleAttribute in interface IAccessibleElementpublic java.util.HashMap<PdfName,PdfObject> getAccessibleAttributes()
IAccessibleElementgetAccessibleAttributes in interface IAccessibleElementpublic PdfName getRole()
IAccessibleElementgetRole in interface IAccessibleElementpublic void setRole(PdfName role)
IAccessibleElementnull if you don't want to tag this element.
Note that all child elements won't also be tagged.setRole in interface IAccessibleElementpublic java.util.UUID getId()
getId in interface IAccessibleElementpublic void setId(java.util.UUID id)
setId in interface IAccessibleElementpublic PdfString getType()
public void setType(PdfString type)
public PdfArray getBBox()
public void setBBox(PdfArray bbox)
public PdfArray getAttached()
public void setAttached(PdfArray attached)
Copyright © 2013. All Rights Reserved.