NASA World Wind

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

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.SpecificationLinkParser
All Implemented Interfaces:
Identifiable, RegistryObject, SpecificationLink

public class SpecificationLinkParser
extends RegistryObjectParser
implements SpecificationLink


Field Summary
static String ELEMENT_NAME
           
 
Constructor Summary
SpecificationLinkParser(String elementName, Attributes attributes)
           
 
Method Summary
 void addUsageParameter(int index, UsageParameter p)
           
 void addUsageParameter(UsageParameter p)
           
 void addUsageParameters(Collection<? extends UsageParameter> c)
           
 void clearUsageParameters()
           
protected  void doStartElement(String name, Attributes attributes)
           
 int getIndex(UsageParameter p)
           
 String getServiceBinding()
           
 String getSpecificationObject()
           
 UsageDescription getUsageDescription()
           
 UsageParameter getUsageParameter(int index)
           
 int getUsageParameterCount()
           
 Iterator<UsageParameter> getUsageParameterIterator()
           
 void removeUsageParameter(int index)
           
 void setServiceBinding(String serviceBinding)
           
 void setSpecificationObject(String specificationObject)
           
 void setUsageDescription(UsageDescription usageDescription)
           
 void setUsageParameter(int index, UsageParameter p)
           
 
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.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

SpecificationLinkParser

public SpecificationLinkParser(String elementName,
                               Attributes attributes)
Method Detail

addUsageParameter

public void addUsageParameter(int index,
                              UsageParameter p)
Specified by:
addUsageParameter in interface SpecificationLink

addUsageParameter

public void addUsageParameter(UsageParameter p)
Specified by:
addUsageParameter in interface SpecificationLink

addUsageParameters

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

clearUsageParameters

public void clearUsageParameters()
Specified by:
clearUsageParameters in interface SpecificationLink

doStartElement

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

getIndex

public int getIndex(UsageParameter p)
Specified by:
getIndex in interface SpecificationLink

getServiceBinding

public String getServiceBinding()
Specified by:
getServiceBinding in interface SpecificationLink

getSpecificationObject

public String getSpecificationObject()
Specified by:
getSpecificationObject in interface SpecificationLink

getUsageDescription

public UsageDescription getUsageDescription()
Specified by:
getUsageDescription in interface SpecificationLink

getUsageParameter

public UsageParameter getUsageParameter(int index)
Specified by:
getUsageParameter in interface SpecificationLink

getUsageParameterCount

public int getUsageParameterCount()
Specified by:
getUsageParameterCount in interface SpecificationLink

getUsageParameterIterator

public Iterator<UsageParameter> getUsageParameterIterator()
Specified by:
getUsageParameterIterator in interface SpecificationLink

removeUsageParameter

public void removeUsageParameter(int index)
Specified by:
removeUsageParameter in interface SpecificationLink

setServiceBinding

public void setServiceBinding(String serviceBinding)
Specified by:
setServiceBinding in interface SpecificationLink

setSpecificationObject

public void setSpecificationObject(String specificationObject)
Specified by:
setSpecificationObject in interface SpecificationLink

setUsageDescription

public void setUsageDescription(UsageDescription usageDescription)
Specified by:
setUsageDescription in interface SpecificationLink

setUsageParameter

public void setUsageParameter(int index,
                              UsageParameter p)
Specified by:
setUsageParameter in interface SpecificationLink

NASA World Wind