Prints the node name. @param node the node whose name should be printed
(Node node)
| 100 | * @param node the node whose name should be printed |
| 101 | */ |
| 102 | protected void printName(Node node) { |
| 103 | Object name = node.name(); |
| 104 | if (name != null) { |
| 105 | out.print(name.toString()); |
| 106 | } else { |
| 107 | out.print("null"); |
| 108 | } |
| 109 | } |
| 110 | |
| 111 | /** |
| 112 | * Prints a node value list. |