package com.lowagie.text.pdf.interfaces;
import com.lowagie.text.pdf.PdfName;
import com.lowagie.text.pdf.PdfObject;
import java.util.HashMap;
import java.util.UUID;
/**
* Describes accessible element.
*/
public interface IAccessibleElement {
/**
* Get the attribute of accessible element (everything in A
dictionary + Lang
, Alt
, ActualText
, E
).
* @param key
* @return
*/
PdfObject getAccessibleAttribute(final PdfName key);
/**
* Set the attribute of accessible element (everything in A
dictionary + Lang
, Alt
, ActualText
, E
).
* @param key
* @param value
*/
void setAccessibleAttribute(final PdfName key, final PdfObject value);
/**
* Gets all the properties of accessible element.
* @return
*/
HashMap getAccessibleAttributes();
/**
* Gets the role of the accessible element.
* @return
*/
PdfName getRole();
/**
* 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.
* @param role
*/
void setRole(final PdfName role);
UUID getId();
void setId(final UUID id);
}