Package edu.pdx.cs410J.xml
Class PhoneBookEntry
java.lang.Object
edu.pdx.cs410J.xml.PhoneBookEntry
This class represents an entry in a phone book. It is used to
demonstrate how XML DOM trees can be turned into Java objects.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
fillInAddress
(Element root) Helper method to fill in address data from a chunk of an XML DOM tree.protected void
fillInPhone
(Element phone) Helper method to fill in phone data from a chunk of an XML DOM tree.toString()
-
Field Details
-
streetLines
-
apt
-
city
-
state
-
zip
-
phone
-
-
Constructor Details
-
PhoneBookEntry
public PhoneBookEntry()
-
-
Method Details