Returns a string representation of this object. @return a string representation of this object
()
| 287 | * @return a string representation of this object |
| 288 | */ |
| 289 | @Override |
| 290 | public String toString() { |
| 291 | final StringWriter writer = new StringWriter(); |
| 292 | final PrintWriter printWriter = new PrintWriter(writer); |
| 293 | |
| 294 | printWriter.print(getClass().getSimpleName()); |
| 295 | printWriter.print("[<"); |
| 296 | printOpeningTagContentAsXml(printWriter); |
| 297 | printWriter.print(">"); |
| 298 | printWriter.print(getScriptCode()); |
| 299 | printWriter.print("]"); |
| 300 | printWriter.flush(); |
| 301 | return writer.toString(); |
| 302 | } |
| 303 | |
| 304 | /** |
| 305 | * {@inheritDoc} |
no test coverage detected