Public Member Functions |
| | PrintFrameVisitor () |
| | Default constructor.
|
| | PrintFrameVisitor (OutputStream stream) |
| | Constructor with selection of only the OutputStream.
|
| | PrintFrameVisitor (OutputStream stream, boolean printDetails) |
| | Constructor with only selection of the output stream and prettyPrint.
|
| | PrintFrameVisitor (OutputStream stream, boolean printDetails, boolean prettyPrint) |
| | General constructor.
|
| boolean | visit (FrameTreeNode node) |
| | Writes the frame information for the given node to the output stream.
|
| void | down (FrameTreeNode node) |
| | in a depth first traversal, called before descent
|
| void | up (FrameTreeNode node) |
| | in a depth first traversal, called on ascent
|
Protected Attributes |
| OutputStream | m_stream |
| boolean | m_printDetails |
| boolean | m_prettyPrint |
| String | m_indent = "+-" |
Static Protected Attributes |
| static byte[] | s_newLine = System.getProperty("line.separator").getBytes() |
The visitor can be configured to print to the desired OutputStream, with our without the transform details and potentially using a indented format.