NASA World Wind

gov.nasa.worldwind.applications.gio.ebrim
Class ServiceBindingParser

java.lang.Object
  extended by gov.nasa.worldwind.applications.gio.xml.ElementParser
      extended by gov.nasa.worldwind.applications.gio.ebrim.IdentifiableParser
          extended by gov.nasa.worldwind.applications.gio.ebrim.RegistryObjectParser
              extended by gov.nasa.worldwind.applications.gio.ebrim.ServiceBindingParser
All Implemented Interfaces:
Identifiable, RegistryObject, ServiceBinding

public class ServiceBindingParser
extends RegistryObjectParser
implements ServiceBinding


Field Summary
static String ELEMENT_NAME
           
 
Constructor Summary
ServiceBindingParser(String name, Attributes attributes)
           
 
Method Summary
 void addSpecificationLink(int index, SpecificationLink sl)
           
 void addSpecificationLink(SpecificationLink sl)
           
 void addSpecificationLinks(Collection<? extends SpecificationLink> c)
           
 void clearSpecificationLinks()
           
protected  void doStartElement(String name, Attributes attributes)
           
 String getAccessURI()
           
 int getIndex(SpecificationLink sl)
           
 String getService()
           
 SpecificationLink getSpecificationLink(int index)
           
 int getSpecificationLinkCount()
           
 Iterator<SpecificationLink> getSpecificationLinkIterator()
           
 String getTargetBinding()
           
 void removeSpecificationLink(int index)
           
 void setAccessURI(String accessURI)
           
 void setService(String service)
           
 void setSpecificationLink(int index, SpecificationLink sl)
           
 void setTargetBinding(String targetBinding)
           
 
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 gov.nasa.worldwind.applications.gio.xml.ElementParser
characters, doCharacters, doEndElement, endElement, getCharacters, getCurrentElement, getElementName, setCurrentElement, startElement
 
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
 

Field Detail

ELEMENT_NAME

public static final String ELEMENT_NAME
See Also:
Constant Field Values
Constructor Detail

ServiceBindingParser

public ServiceBindingParser(String name,
                            Attributes attributes)
Method Detail

addSpecificationLink

public void addSpecificationLink(int index,
                                 SpecificationLink sl)
Specified by:
addSpecificationLink in interface ServiceBinding

addSpecificationLink

public void addSpecificationLink(SpecificationLink sl)
Specified by:
addSpecificationLink in interface ServiceBinding

addSpecificationLinks

public void addSpecificationLinks(Collection<? extends SpecificationLink> c)
Specified by:
addSpecificationLinks in interface ServiceBinding

clearSpecificationLinks

public void clearSpecificationLinks()
Specified by:
clearSpecificationLinks in interface ServiceBinding

doStartElement

protected void doStartElement(String name,
                              Attributes attributes)
                       throws Exception
Overrides:
doStartElement in class RegistryObjectParser
Throws:
Exception

getAccessURI

public String getAccessURI()
Specified by:
getAccessURI in interface ServiceBinding

getIndex

public int getIndex(SpecificationLink sl)
Specified by:
getIndex in interface ServiceBinding

getService

public String getService()
Specified by:
getService in interface ServiceBinding

getSpecificationLink

public SpecificationLink getSpecificationLink(int index)
Specified by:
getSpecificationLink in interface ServiceBinding

getSpecificationLinkCount

public int getSpecificationLinkCount()
Specified by:
getSpecificationLinkCount in interface ServiceBinding

getSpecificationLinkIterator

public Iterator<SpecificationLink> getSpecificationLinkIterator()
Specified by:
getSpecificationLinkIterator in interface ServiceBinding

getTargetBinding

public String getTargetBinding()
Specified by:
getTargetBinding in interface ServiceBinding

removeSpecificationLink

public void removeSpecificationLink(int index)
Specified by:
removeSpecificationLink in interface ServiceBinding

setAccessURI

public void setAccessURI(String accessURI)
Specified by:
setAccessURI in interface ServiceBinding

setService

public void setService(String service)
Specified by:
setService in interface ServiceBinding

setSpecificationLink

public void setSpecificationLink(int index,
                                 SpecificationLink sl)
Specified by:
setSpecificationLink in interface ServiceBinding

setTargetBinding

public void setTargetBinding(String targetBinding)
Specified by:
setTargetBinding in interface ServiceBinding

NASA World Wind