gov.nasa.worldwind.applications.gio.xml
Class ElementParser
java.lang.Object
gov.nasa.worldwind.applications.gio.xml.ElementParser
- Direct Known Subclasses:
- EmailAddressParser, ExceptionReportParser, ExceptionTypeParser, GetRecordsResponseParser, GetServices.GetRecordsResponseParser, GetServices.ServerListParser, IdentifiableParser, InternationalStringParser, LocalizedStringParser, PersonNameParser, PostalAddressParser, RequestStatusParser, SearchResultsParser, ServerListParser, ServerParser, SlotParser, TelephoneNumberParser, TextElementParser, ValueListParser, VersionInfoParser
public class ElementParser
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ElementParser
public ElementParser(String elementName,
Attributes attributes)
characters
public void characters(char[] data,
int offset,
int count)
throws Exception
- Throws:
Exception
doCharacters
protected void doCharacters(char[] data,
int offset,
int count)
throws Exception
- Throws:
Exception
doEndElement
protected void doEndElement(String name)
throws Exception
- Throws:
Exception
doStartElement
protected void doStartElement(String name,
Attributes attributes)
throws Exception
- Throws:
Exception
endElement
public void endElement(String name)
throws Exception
- Throws:
Exception
getCharacters
public String getCharacters()
getCurrentElement
public ElementParser getCurrentElement()
getElementName
public String getElementName()
setCurrentElement
public void setCurrentElement(ElementParser currentElement)
startElement
public void startElement(String name,
Attributes attributes)
throws Exception
- Throws:
Exception