Code example for PrintStream

Methods: print, println

0
  /** 
   * Dumps the status of this {@code View} to {@code System.out} at the given indentation level 
   */ 
  public void dump(PrintStream out, int indent) {
    dumpFirstPart(out, indent);
    out.println("/>");
  } 
 
  protected void dumpFirstPart(PrintStream out, int indent) {
    dumpIndent(out, indent);
 
    out.print("<" + realView.getClass().getSimpleName());
    dumpAttributes(out);
  } 
 
  protected void dumpAttributes(PrintStream out) {
    if (realView.getId() > 0) {
      dumpAttribute(out, "id", shadowOf(realView.getContext()).getResourceLoader().getNameForId(realView.getId()));
    } 
 
    switch (realView.getVisibility()) {