/** * Generates a formatted representation of this item. * * @return a formatted representation of this item */ @Override public String toString() { StringWriter sw = new StringWriter(); PrintWriter pw = new PrintWriter(sw, true); write(pw, 0); return sw.toString(); }
@Override public void write(PrintWriter writer, int indent) { for (ERXML.Item item : _children) { item.write(writer, indent); } }