gov.nasa.worldwind.applications.gio.ebrim
Class PersonParser
java.lang.Object
gov.nasa.worldwind.applications.gio.xml.ElementParser
gov.nasa.worldwind.applications.gio.ebrim.IdentifiableParser
gov.nasa.worldwind.applications.gio.ebrim.RegistryObjectParser
gov.nasa.worldwind.applications.gio.ebrim.PersonParser
- All Implemented Interfaces:
- Identifiable, Person, RegistryObject
- Direct Known Subclasses:
- UserParser
public class PersonParser
- extends RegistryObjectParser
- implements Person
| Methods inherited from class gov.nasa.worldwind.applications.gio.ebrim.RegistryObjectParser |
addClassification, addClassification, addClassifications, addExternalIdentifier, addExternalIdentifier, addExternalIdentifiers, clearClassifications, clearExternalIdentifiers, getClassification, getClassificationCount, getClassificationIterator, getDescription, getExternalIdentifier, getExternalIdentifierCount, getExternalIdentifierIterator, getIndex, getIndex, getLid, getName, getObjectType, getStatus, getVersionInfo, removeClassification, removeExternalIdentifier, setClassification, setDescription, setExternalIdentifier, setLid, setName, setObjectType, setStatus, setVersionInfo |
| Methods inherited from class gov.nasa.worldwind.applications.gio.ebrim.IdentifiableParser |
addSlot, addSlot, addSlots, clearSlots, getHome, getId, getIndex, getSlot, getSlotCount, getSlotIterator, removeSlot, setHome, setId, setSlot |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface gov.nasa.worldwind.applications.gio.ebrim.RegistryObject |
addClassification, addClassification, addClassifications, addExternalIdentifier, addExternalIdentifier, addExternalIdentifiers, clearClassifications, clearExternalIdentifiers, getClassification, getClassificationCount, getClassificationIterator, getDescription, getExternalIdentifier, getExternalIdentifierCount, getExternalIdentifierIterator, getIndex, getIndex, getLid, getName, getObjectType, getStatus, getVersionInfo, removeClassification, removeExternalIdentifier, setClassification, setDescription, setExternalIdentifier, setLid, setName, setObjectType, setStatus, setVersionInfo |
| Methods inherited from interface gov.nasa.worldwind.applications.gio.ebrim.Identifiable |
addSlot, addSlot, addSlots, clearSlots, getHome, getId, getIndex, getSlot, getSlotCount, getSlotIterator, removeSlot, setHome, setId, setSlot |
ELEMENT_NAME
public static final String ELEMENT_NAME
- See Also:
- Constant Field Values
PersonParser
public PersonParser(String elementName,
Attributes attributes)
addAddress
public void addAddress(Address address)
- Specified by:
addAddress in interface Person
addAddress
public void addAddress(int index,
Address address)
- Specified by:
addAddress in interface Person
addAddresses
public void addAddresses(Collection<? extends Address> c)
- Specified by:
addAddresses in interface Person
addEmailAddress
public void addEmailAddress(EmailAddress emailAddress)
- Specified by:
addEmailAddress in interface Person
addEmailAddress
public void addEmailAddress(int index,
EmailAddress emailAddress)
- Specified by:
addEmailAddress in interface Person
addEmailAddresss
public void addEmailAddresss(Collection<? extends EmailAddress> c)
- Specified by:
addEmailAddresss in interface Person
addTelephoneNumber
public void addTelephoneNumber(int index,
TelephoneNumber telephoneNumber)
- Specified by:
addTelephoneNumber in interface Person
addTelephoneNumber
public void addTelephoneNumber(TelephoneNumber telephoneNumber)
- Specified by:
addTelephoneNumber in interface Person
addTelephoneNumbers
public void addTelephoneNumbers(Collection<? extends TelephoneNumber> c)
- Specified by:
addTelephoneNumbers in interface Person
clearAddresses
public void clearAddresses()
- Specified by:
clearAddresses in interface Person
clearEmailAddresses
public void clearEmailAddresses()
- Specified by:
clearEmailAddresses in interface Person
clearTelephoneNumbers
public void clearTelephoneNumbers()
- Specified by:
clearTelephoneNumbers in interface Person
doStartElement
protected void doStartElement(String name,
Attributes attributes)
throws Exception
- Overrides:
doStartElement in class RegistryObjectParser
- Throws:
Exception
getAddress
public Address getAddress(int index)
- Specified by:
getAddress in interface Person
getAddressCount
public int getAddressCount()
- Specified by:
getAddressCount in interface Person
getAddressIterator
public Iterator<Address> getAddressIterator()
- Specified by:
getAddressIterator in interface Person
getEmailAddress
public EmailAddress getEmailAddress(int index)
- Specified by:
getEmailAddress in interface Person
getEmailAddressCount
public int getEmailAddressCount()
- Specified by:
getEmailAddressCount in interface Person
getEmailAddressIterator
public Iterator<EmailAddress> getEmailAddressIterator()
- Specified by:
getEmailAddressIterator in interface Person
getIndex
public int getIndex(Address address)
- Specified by:
getIndex in interface Person
getIndex
public int getIndex(EmailAddress emailAddress)
- Specified by:
getIndex in interface Person
getIndex
public int getIndex(TelephoneNumber telephoneNumber)
- Specified by:
getIndex in interface Person
getPersonName
public PersonName getPersonName()
- Specified by:
getPersonName in interface Person
getTelephoneNumber
public TelephoneNumber getTelephoneNumber(int index)
- Specified by:
getTelephoneNumber in interface Person
getTelephoneNumberCount
public int getTelephoneNumberCount()
- Specified by:
getTelephoneNumberCount in interface Person
getTelephoneNumberIterator
public Iterator<TelephoneNumber> getTelephoneNumberIterator()
- Specified by:
getTelephoneNumberIterator in interface Person
removeAddress
public void removeAddress(int index)
- Specified by:
removeAddress in interface Person
removeEmailAddress
public void removeEmailAddress(int index)
- Specified by:
removeEmailAddress in interface Person
removeTelephoneNumber
public void removeTelephoneNumber(int index)
- Specified by:
removeTelephoneNumber in interface Person
setAddress
public void setAddress(int index,
Address address)
- Specified by:
setAddress in interface Person
setEmailAddress
public void setEmailAddress(int index,
EmailAddress emailAddress)
- Specified by:
setEmailAddress in interface Person
setPersonName
public void setPersonName(PersonName personName)
- Specified by:
setPersonName in interface Person
setTelephoneNumber
public void setTelephoneNumber(int index,
TelephoneNumber telephoneNumber)
- Specified by:
setTelephoneNumber in interface Person