# Interface: com.pnfsoftware.jeb.core.output.IGenericDocument

Base interface for document types that may be returned by a [IUnitFormatter](com.pnfsoftware.jeb.core.output.IUnitFormatter.md).  

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

  Note: Additional documents to be released: Graph and SVG.

## Abstract Method: dispose

Description: Dispose of resources and handles used by this document. The object creator should call this  method upon destruction.

## Abstract 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

## Default 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\)

