Пример #1
0
  // Dump the content of this bean returning it as a String
  public void dump(StringBuffer str, String indent) {
    String s;
    Object o;
    org.netbeans.modules.schema2beans.BaseBean n;
    str.append(indent);
    str.append("CheckpointLocation"); // NOI18N
    str.append(indent + "\t"); // NOI18N
    str.append("<"); // NOI18N
    s = this.getCheckpointLocation();
    str.append((s == null ? "null" : s.trim())); // NOI18N
    str.append(">\n"); // NOI18N
    this.dumpAttributes(CHECKPOINT_LOCATION, 0, str, indent);

    str.append(indent);
    str.append("QuickCheckpoint"); // NOI18N
    str.append(indent + "\t"); // NOI18N
    str.append("<"); // NOI18N
    s = this.getQuickCheckpoint();
    str.append((s == null ? "null" : s.trim())); // NOI18N
    str.append(">\n"); // NOI18N
    this.dumpAttributes(QUICK_CHECKPOINT, 0, str, indent);

    str.append(indent);
    str.append("CheckpointedMethods"); // NOI18N
    n = (org.netbeans.modules.schema2beans.BaseBean) this.getCheckpointedMethods();
    if (n != null) n.dump(str, indent + "\t"); // NOI18N
    else str.append(indent + "\tnull"); // NOI18N
    this.dumpAttributes(CHECKPOINTED_METHODS, 0, str, indent);
  }
Пример #2
0
 // Dump the content of this bean returning it as a String
 public void dump(StringBuffer str, String indent) {
   String s;
   Object o;
   org.netbeans.modules.schema2beans.BaseBean n;
   str.append(indent);
   str.append("FileEntry[" + this.sizeFileEntry() + "]"); // NOI18N
   for (int i = 0; i < this.sizeFileEntry(); i++) {
     str.append(indent + "\t");
     str.append("#" + i + ":");
     n = (org.netbeans.modules.schema2beans.BaseBean) this.getFileEntry(i);
     if (n != null) n.dump(str, indent + "\t"); // NOI18N
     else str.append(indent + "\tnull"); // NOI18N
     this.dumpAttributes(FILE_ENTRY, i, str, indent);
   }
 }