com.itextpdf.text.pdf
Class PdfArtifact

java.lang.Object
  extended by com.itextpdf.text.pdf.PdfArtifact
All Implemented Interfaces:
IAccessibleElement

public class PdfArtifact
extends Object
implements IAccessibleElement


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

role

protected PdfName role

accessibleAttributes

protected HashMap<PdfName,PdfObject> accessibleAttributes

id

protected UUID id
Constructor Detail

PdfArtifact

public PdfArtifact()
Method Detail

getAccessibleAttribute

public PdfObject getAccessibleAttribute(PdfName key)
Description copied from interface: IAccessibleElement
Get the attribute of accessible element (everything in A dictionary + Lang, Alt, ActualText, E).

Specified by:
getAccessibleAttribute in interface IAccessibleElement
Returns:

setAccessibleAttribute

public void setAccessibleAttribute(PdfName key,
                                   PdfObject value)
Description copied from interface: IAccessibleElement
Set the attribute of accessible element (everything in A dictionary + Lang, Alt, ActualText, E).

Specified by:
setAccessibleAttribute in interface IAccessibleElement

getAccessibleAttributes

public HashMap<PdfName,PdfObject> getAccessibleAttributes()
Description copied from interface: IAccessibleElement
Gets all the properties of accessible element.

Specified by:
getAccessibleAttributes in interface IAccessibleElement
Returns:

getRole

public PdfName getRole()
Description copied from interface: IAccessibleElement
Gets the role of the accessible element.

Specified by:
getRole in interface IAccessibleElement
Returns:

setRole

public void setRole(PdfName role)
Description copied from interface: IAccessibleElement
Sets the role of the accessiblee element. Set role to null if you don't want to tag this element. Note that all child elements won't also be tagged.

Specified by:
setRole in interface IAccessibleElement

getId

public UUID getId()
Specified by:
getId in interface IAccessibleElement

setId

public void setId(UUID id)
Specified by:
setId in interface IAccessibleElement

getType

public PdfString getType()

setType

public void setType(PdfString type)

getBBox

public PdfArray getBBox()

setBBox

public void setBBox(PdfArray bbox)

getAttached

public PdfArray getAttached()

setAttached

public void setAttached(PdfArray attached)


Copyright © 2013. All Rights Reserved.