public class

AttrObj

extends Object
java.lang.Object
   ↳ com.pdftron.pdf.struct.AttrObj

Class Overview

An application or plug-in extension that processes logical structure can attach additional information, called attributes, to any structure element. The attribute information is held in one or more attribute objects associated with the structure element. An attribute object is a dictionary or stream that includes an entry identifying the application or plug-in that owns the attribute information. Other entries represent the attributes: the keys are attribute names, and values are the corresponding attribute values.

Summary

Public Constructors
AttrObj(Obj dict)
Initialize a AttrObj using an existing low-level Cos/SDF object.
Public Methods
String getOwner()
Get the owner of attribute data
Obj getSDFObj()
Get the SDFObj.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public AttrObj (Obj dict)

Initialize a AttrObj using an existing low-level Cos/SDF object.

Note: This constructor does not copy any data, but is instead the logical equivalent of a type cast.

Parameters
dict - a low-level (SDF/Cos) dictionary representing the attribute object.

Public Methods

public String getOwner ()

Get the owner of attribute data

Returns
  • The name of the application or plug-in extension owning the attribute data.

public Obj getSDFObj ()

Get the SDFObj.

Returns
  • Pointer to the underlying SDF/Cos object.