(String first, String last)
| 11 | public class APerson { |
| 12 | private String first, last; |
| 13 | public APerson(String first, String last) { |
| 14 | this.first = first; |
| 15 | this.last = last; |
| 16 | } |
| 17 | // Produce an XML Element from this APerson object: |
| 18 | public Element getXML() { |
| 19 | Element person = new Element("person"); |