# Class: com.pnfsoftware.jeb.core.output.tree.impl.StaticTreeDocument

A simple tree document. Such tree document objects do not listen to unit changes events; in fact, they are unaware of the [IUnit](IUnit) family of classes. They are ideal to distribute static, immutable contents. 

 Clients should not extend this class. Clients requiring custom tree documents should either extend [AbstractTreeDocument](AbstractTreeDocument) or implement [ITreeDocument](ITreeDocument).

## Constructor: StaticTreeDocument
- parameter: `root`, type: `com.pnfsoftware.jeb.core.output.tree.INode`

Description: Create a single\-root static tree document.
parameter: root: tree root

## Constructor: StaticTreeDocument
- parameter: `roots`, type: `java.util.List<? extends com.pnfsoftware.jeb.core.output.tree.INode>`

Description: Create a static tree document.
parameter: roots: tree roots

## Constructor: StaticTreeDocument
- parameter: `roots`, type: `java.util.List<? extends com.pnfsoftware.jeb.core.output.tree.INode>`
- parameter: `columnLabels`, type: `java.util.List<java.lang.String>`
- parameter: `initialExpansionLevel`, type: `int`

Description: Create a static tree or table\-tree document.
parameter: roots: tree roots
parameter: columnLabels: optional column labels for table trees
parameter: initialExpansionLevel: suggested initial expansion level for clients

## Method: getColumnLabels
- return type: `java.util.List<java.lang.String>`


## Method: getInitialExpansionLevel
- return type: `int`


## Method: getRoots
- return type: `java.util.List<? extends com.pnfsoftware.jeb.core.output.tree.INode>`


