|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.itextpdf.text.pdf.PdfArtifact
public class PdfArtifact
| Field Summary | |
|---|---|
protected HashMap<PdfName,PdfObject> |
accessibleAttributes
|
protected UUID |
id
|
protected PdfName |
role
|
| Constructor Summary | |
|---|---|
PdfArtifact()
|
|
| Method Summary | |
|---|---|
PdfObject |
getAccessibleAttribute(PdfName key)
Get the attribute of accessible element (everything in A dictionary + Lang, Alt, ActualText, E). |
HashMap<PdfName,PdfObject> |
getAccessibleAttributes()
Gets all the properties of accessible element. |
PdfArray |
getAttached()
|
PdfArray |
getBBox()
|
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(UUID id)
|
void |
setRole(PdfName role)
Sets the role of the accessiblee element. |
void |
setType(PdfString type)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected PdfName role
protected HashMap<PdfName,PdfObject> accessibleAttributes
protected UUID id
| Constructor Detail |
|---|
public PdfArtifact()
| Method Detail |
|---|
public PdfObject getAccessibleAttribute(PdfName key)
IAccessibleElementA dictionary + Lang, Alt, ActualText, E).
getAccessibleAttribute in interface IAccessibleElement
public void setAccessibleAttribute(PdfName key,
PdfObject value)
IAccessibleElementA dictionary + Lang, Alt, ActualText, E).
setAccessibleAttribute in interface IAccessibleElementpublic HashMap<PdfName,PdfObject> getAccessibleAttributes()
IAccessibleElement
getAccessibleAttributes in interface IAccessibleElementpublic PdfName getRole()
IAccessibleElement
getRole 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 UUID getId()
getId in interface IAccessibleElementpublic void setId(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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||