Returns a formatted string representation of this node and its children. @return the formatted node tree as a string
()
| 421 | * @return the formatted node tree as a string |
| 422 | */ |
| 423 | @Override |
| 424 | public String toString() { |
| 425 | Writer string = new StringBuilderWriter(); |
| 426 | write(new PrintWriter(string)); |
| 427 | |
| 428 | return string.toString(); |
| 429 | } |
| 430 | |
| 431 | /** |
| 432 | * Writes a formatted representation of this node to the specified writer. |