# Class: com.pnfsoftware.jeb.core.output.UnitFormatterUtil

Utility methods for unit formatters.

## Static Method: addAllPresentations
- parameter: `formatter`, type: `com.pnfsoftware.jeb.core.output.IUnitFormatter`
- parameter: `presentations`, type: `java.util.Collection<com.pnfsoftware.jeb.core.output.IUnitDocumentPresentation>`
- parameter: `persisted`, type: `boolean`

Description: Append a collection of presentations to the provided formatter.
parameter: formatter: target formatter
parameter: presentations: presentations to append
parameter: persisted: `true` to add them as persisted presentations

## Static Method: getPresentationByDocument
- parameter: `formatter`, type: `com.pnfsoftware.jeb.core.output.IUnitFormatter`
- parameter: `doc`, type: `com.pnfsoftware.jeb.core.output.IGenericDocument`
- return type: `com.pnfsoftware.jeb.core.output.IUnitDocumentPresentation`

Description: Retrieve a presentation by document.
parameter: formatter: source formatter
parameter: doc: backing document instance to match by identity
return: the matching presentation, or `null` if none exists

## Static Method: getPresentationByIdentifier
- parameter: `formatter`, type: `com.pnfsoftware.jeb.core.output.IUnitFormatter`
- parameter: `id`, type: `long`
- return type: `com.pnfsoftware.jeb.core.output.IUnitDocumentPresentation`

Description: Retrieve a presentation by document identifier.
parameter: formatter: source formatter
parameter: id: presentation identifier
return: the matching presentation, or `null` if none exists

## Static Method: getPresentationByName
- parameter: `formatter`, type: `com.pnfsoftware.jeb.core.output.IUnitFormatter`
- parameter: `documentLabel`, type: `java.lang.String`
- return type: `com.pnfsoftware.jeb.core.output.IUnitDocumentPresentation`

Description: Retrieve a presentation by document label.
parameter: formatter: source formatter
parameter: documentLabel: presentation label to match
return: the matching presentation, or `null` if none exists

