Summary: Ctors | Methods | Inherited Methods | [Expand All]
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
boolean | equals(Object arg0)
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)
final void | wait()

## 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.

##### Throws

PDFNetException |

#### public Obj getSDFObj ()

Get the SDFObj.

##### Returns

- Pointer to the underlying SDF/Cos object.