gov.nasa.worldwind.applications.gio.ebrim
Class OrganizationParser
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.OrganizationParser
- All Implemented Interfaces:
- Identifiable, Organization, RegistryObject
public class OrganizationParser
- extends RegistryObjectParser
- implements Organization
| 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
OrganizationParser
public OrganizationParser(String elementName,
Attributes attributes)
addAddress
public void addAddress(Address address)
- Specified by:
addAddress in interface Organization
addAddress
public void addAddress(int index,
Address address)
- Specified by:
addAddress in interface Organization
addAddresses
public void addAddresses(Collection<? extends Address> c)
- Specified by:
addAddresses in interface Organization
addEmailAddress
public void addEmailAddress(EmailAddress emailAddress)
- Specified by:
addEmailAddress in interface Organization
addEmailAddress
public void addEmailAddress(int index,
EmailAddress emailAddress)
- Specified by:
addEmailAddress in interface Organization
addEmailAddresss
public void addEmailAddresss(Collection<? extends EmailAddress> c)
- Specified by:
addEmailAddresss in interface Organization
addTelephoneNumber
public void addTelephoneNumber(int index,
TelephoneNumber telephoneNumber)
- Specified by:
addTelephoneNumber in interface Organization
addTelephoneNumber
public void addTelephoneNumber(TelephoneNumber telephoneNumber)
- Specified by:
addTelephoneNumber in interface Organization
addTelephoneNumbers
public void addTelephoneNumbers(Collection<? extends TelephoneNumber> c)
- Specified by:
addTelephoneNumbers in interface Organization
clearAddresses
public void clearAddresses()
- Specified by:
clearAddresses in interface Organization
clearEmailAddresses
public void clearEmailAddresses()
- Specified by:
clearEmailAddresses in interface Organization
clearTelephoneNumbers
public void clearTelephoneNumbers()
- Specified by:
clearTelephoneNumbers in interface Organization
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 Organization
getAddressCount
public int getAddressCount()
- Specified by:
getAddressCount in interface Organization
getAddressIterator
public Iterator<Address> getAddressIterator()
- Specified by:
getAddressIterator in interface Organization
getEmailAddress
public EmailAddress getEmailAddress(int index)
- Specified by:
getEmailAddress in interface Organization
getEmailAddressCount
public int getEmailAddressCount()
- Specified by:
getEmailAddressCount in interface Organization
getEmailAddressIterator
public Iterator<EmailAddress> getEmailAddressIterator()
- Specified by:
getEmailAddressIterator in interface Organization
getIndex
public int getIndex(Address address)
- Specified by:
getIndex in interface Organization
getIndex
public int getIndex(EmailAddress emailAddress)
- Specified by:
getIndex in interface Organization
getIndex
public int getIndex(TelephoneNumber telephoneNumber)
- Specified by:
getIndex in interface Organization
getParent
public String getParent()
- Specified by:
getParent in interface Organization
getPrimaryContact
public String getPrimaryContact()
- Specified by:
getPrimaryContact in interface Organization
getTelephoneNumber
public TelephoneNumber getTelephoneNumber(int index)
- Specified by:
getTelephoneNumber in interface Organization
getTelephoneNumberCount
public int getTelephoneNumberCount()
- Specified by:
getTelephoneNumberCount in interface Organization
getTelephoneNumberIterator
public Iterator<TelephoneNumber> getTelephoneNumberIterator()
- Specified by:
getTelephoneNumberIterator in interface Organization
removeAddress
public void removeAddress(int index)
- Specified by:
removeAddress in interface Organization
removeEmailAddress
public void removeEmailAddress(int index)
- Specified by:
removeEmailAddress in interface Organization
removeTelephoneNumber
public void removeTelephoneNumber(int index)
- Specified by:
removeTelephoneNumber in interface Organization
setAddress
public void setAddress(int index,
Address address)
- Specified by:
setAddress in interface Organization
setEmailAddress
public void setEmailAddress(int index,
EmailAddress emailAddress)
- Specified by:
setEmailAddress in interface Organization
setParent
public void setParent(String parent)
- Specified by:
setParent in interface Organization
setPrimaryContact
public void setPrimaryContact(String primaryContact)
- Specified by:
setPrimaryContact in interface Organization
setTelephoneNumber
public void setTelephoneNumber(int index,
TelephoneNumber telephoneNumber)
- Specified by:
setTelephoneNumber in interface Organization