# Interface: com.pnfsoftware.jeb.core.output.IGenericDocument

Base interface for document types that may be returned by a [IUnitFormatter](IUnitFormatter). 

 Currently, a unit formatter may return text, table, and tree \(including table tree\) documents. 

 Note: Additional documents to be released: Graph and SVG.

## Method: dispose

Description: Dispose of resources and handles used by this document. The object creator should call this method upon destruction.

## Method: getPropertyManager
- return type: `com.pnfsoftware.jeb.core.properties.IPropertyManager`

Description: Provide the optional property manager to customize rendering of the document. Available properties can be retrieved by retrieving the PDM provided by the property manager.
return: a PM, null if none

## Method: getUnit
- return type: `com.pnfsoftware.jeb.core.units.IUnit`

Description: If available, retrieve the unit that backs up this document.
return: an optional unit reference \(may be null\)

