|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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)
IAccessibleElement
A
dictionary + Lang
, Alt
, ActualText
, E
).
getAccessibleAttribute
in interface IAccessibleElement
public void setAccessibleAttribute(PdfName key, PdfObject value)
IAccessibleElement
A
dictionary + Lang
, Alt
, ActualText
, E
).
setAccessibleAttribute
in interface IAccessibleElement
public HashMap<PdfName,PdfObject> getAccessibleAttributes()
IAccessibleElement
getAccessibleAttributes
in interface IAccessibleElement
public PdfName getRole()
IAccessibleElement
getRole
in interface IAccessibleElement
public void setRole(PdfName role)
IAccessibleElement
null
if you don't want to tag this element.
Note that all child elements won't also be tagged.
setRole
in interface IAccessibleElement
public UUID getId()
getId
in interface IAccessibleElement
public void setId(UUID id)
setId
in interface IAccessibleElement
public 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 |