NASA World Wind

gov.nasa.worldwind.applications.gio.gidb
Class ServerParser

java.lang.Object
  extended by gov.nasa.worldwind.applications.gio.xml.ElementParser
      extended by gov.nasa.worldwind.applications.gio.gidb.ServerParser
All Implemented Interfaces:
Server

public class ServerParser
extends ElementParser
implements Server


Field Summary
static String ELEMENT_NAME
           
 
Constructor Summary
ServerParser(String elementName, Attributes attributes)
           
 
Method Summary
protected  void doStartElement(String name, Attributes attributes)
           
 Text getTitle()
           
 Text getURL()
           
 void setTitle(Text title)
           
 void setURL(Text url)
           
 
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
 

Field Detail

ELEMENT_NAME

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

ServerParser

public ServerParser(String elementName,
                    Attributes attributes)
Method Detail

doStartElement

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

getTitle

public Text getTitle()
Specified by:
getTitle in interface Server

getURL

public Text getURL()
Specified by:
getURL in interface Server

setTitle

public void setTitle(Text title)
Specified by:
setTitle in interface Server

setURL

public void setURL(Text url)
Specified by:
setURL in interface Server

NASA World Wind