Summary: Ctors | Methods | Inherited Methods | [Expand All]
public class

# ClassMap

extends Object

java.lang.Object
↳ | com.pdftron.pdf.struct.ClassMap

## Class Overview

The Class ClassMap.

## Summary

Public Constructors
| ClassMap(Obj dict) Initialize a ClassMap using an existing low-level Cos/SDF ClassMap object.

Public Methods
Obj | getSDFObj() Get the ClassMap dictionary as SDFObj
boolean | isValid() Checks if ClassMap is valid.

[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 ClassMap (Obj dict)

Initialize a ClassMap using an existing low-level Cos/SDF ClassMap 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) ClassMap dictionary.

## Public Methods

#### public Obj getSDFObj ()

Get the ClassMap dictionary as SDFObj

##### Returns

- the object to the underlying SDF/Cos object.

#### public boolean isValid ()

Checks if ClassMap is valid.

##### Returns

- true if this is a valid (non-null) ClassMap, false otherwise. If the function returns false the underlying SDF/Cos object is null or is not valid and the ClassMap object should be treated as a null object.

##### Throws

PDFNetException |