Package edu.pdx.cs410J.xml
Class Business
java.lang.Object
edu.pdx.cs410J.xml.PhoneBookEntry
edu.pdx.cs410J.xml.Business
This class represents a business whose name, address and phone
number are listed in a phone book. A
Business
is
constructed from an XML DOM tree. If we were doing this for real,
we'd want a way of constructing an empty Business
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
-
Field Details
-
name
-
-
Constructor Details
-
Business
Create a newBusiness
from anElement
in a DOM tree.
-
-
Method Details
-
toString
- Overrides:
toString
in classPhoneBookEntry
-