The PermissionTreeOutput Class contains the following methods:
addField creates a leaf in the tree for displaying permission parameters.
addNode creates a new node for displaying a header for permission data.
addPermission inserts a node for the specified permission and assigns it a risk value based on the default permission set.
count retrieves the number of elements in the tree.
setStartLevel sets the depth of the root node. Use this method when combining two (or more) separate trees into one tree.
startLevel retrieves the starting level of the root node.
toString converts the display tree to a String where the nodes and values are delimited by tabs and newline characters.
writeField creates a leaf with the specified string as its value.
writeNode creates a node with the specified string as the name for a new node in the display tree.
writePermission creates a node with the specified string as the name for a new permission in the display tree.