Package edu.pdx.cs410J.xml
Class Resident
java.lang.Object
edu.pdx.cs410J.xml.PhoneBookEntry
edu.pdx.cs410J.xml.Resident
This class represents a resident (person) whose first and last
name, as well as whose middle initial, is listing in a phone book.
A
Resident
is constructed from an XML DOM tree. If we
were doing this for real, we'd want a way of constructing an empty
Resident
and filling in its fields.-
Field Summary
Fields inherited from class edu.pdx.cs410J.xml.PhoneBookEntry
apt, city, phone, state, streetLines, zip
-
Constructor Summary
-
Method Summary
Methods inherited from class edu.pdx.cs410J.xml.PhoneBookEntry
fillInAddress, fillInPhone
-
Constructor Details
-
Resident
Create a newResident
from aElement
in a DOM tree.
-
-
Method Details
-
toString
- Overrides:
toString
in classPhoneBookEntry
-