commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian K. Wallace" <br...@transmorphix.com>
Subject [betwixt] BeanReader - setXXX(Object)
Date Fri, 04 Apr 2003 04:48:49 GMT
  I was wondering if there is something I'm missing, or if Betwixt just
  can't do it as is. Given the following XML:
<Element>
  <name>Element 1</name>
  <value>
    <Integer>5</Integer
  </value>
</Element>

and the following bean mapped to the "Element" XML element:

public class ElementBean {
  private String mName;
  private Object mValue;

  public ElementBean() {
  }

  public void setName(String iName) {
    mName = iName;
  }

  public String getName() {
    return mName;
  }





Mime
View raw message