| # | Line 61 | Line 61 | class XMLFormatter { | |
|---|---|---|
| 61 | hostInfo = null; | |
| 62 | } | |
| 63 | ||
| 64 | – | /** |
| 65 | – | * Public Constructor for the class |
| 66 | – | * Takes a second parameter containing the root attributes. |
| 67 | – | */ |
| 68 | – | public XMLFormatter(String rootInfo, String rootAttributes){ |
| 69 | – | myStack = new Stack(); |
| 70 | – | xmlData = new String(); |
| 71 | – | xmlData = "<"+rootInfo+" "+rootAttributes+">"; |
| 72 | – | hostInfo = rootInfo; |
| 73 | – | } |
| 74 | – | |
| 64 | //---PUBLIC METHODS--- | |
| 65 | ||
| 66 | /** | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |