Interface TreeRenderer
- All Known Implementing Classes:
TextTreeRenderer,XmlTreeRenderer
public interface TreeRenderer
An object that can export a tree to an external text format.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidrenderSubtree(Node node, Appendable out) Appends the subtree rooted at the given node on the provided output writer.
-
Method Details
-
renderSubtree
Appends the subtree rooted at the given node on the provided output writer. The implementation is free to filter out some nodes from the subtree.- Parameters:
node- Node to renderout- Object onto which the output is appended- Throws:
IOException- If an IO error occurs while appending to the output
-