home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2004 December / PCpro_2004_12.ISO / files / webserver / xampp / xampp-cocoon-addon-1.4.9-installer.exe / LenientBaseBean.class (.txt) < prev    next >
Encoding:
Java Class File  |  2004-07-12  |  952 b   |  18 lines

  1. package org.apache.cocoon.forms.samples.bindings;
  2.  
  3. public class LenientBaseBean {
  4.    protected String breakingField;
  5.    protected String surviveField;
  6.  
  7.    protected LenientBaseBean(String initVal) {
  8.       this.breakingField = initVal;
  9.       this.surviveField = initVal;
  10.    }
  11.  
  12.    public String toString() {
  13.       String className = this.getClass().getName();
  14.       String state = "[breakingField=" + this.breakingField + "|surviveField=" + this.surviveField + "]";
  15.       return className + state;
  16.    }
  17. }
  18.