gov.nasa.worldwind.applications.gio.ows
Class ExceptionReportParser
java.lang.Object
gov.nasa.worldwind.applications.gio.xml.ElementParser
gov.nasa.worldwind.applications.gio.ows.ExceptionReportParser
- All Implemented Interfaces:
- ExceptionReport, Iterable<ExceptionType>
public class ExceptionReportParser
- extends ElementParser
- implements ExceptionReport
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ELEMENT_NAME
public static final String ELEMENT_NAME
- See Also:
- Constant Field Values
ExceptionReportParser
public ExceptionReportParser(String elementName,
Attributes attributes)
addException
public void addException(ExceptionType e)
- Specified by:
addException
in interface ExceptionReport
addException
public void addException(int index,
ExceptionType e)
- Specified by:
addException
in interface ExceptionReport
addExceptions
public void addExceptions(Collection<? extends ExceptionType> c)
- Specified by:
addExceptions
in interface ExceptionReport
clearExceptions
public void clearExceptions()
- Specified by:
clearExceptions
in interface ExceptionReport
doStartElement
protected void doStartElement(String name,
Attributes attributes)
- Overrides:
doStartElement
in class ElementParser
getException
public ExceptionType getException(int index)
- Specified by:
getException
in interface ExceptionReport
getExceptionCount
public int getExceptionCount()
- Specified by:
getExceptionCount
in interface ExceptionReport
getIndex
public int getIndex(ExceptionType e)
- Specified by:
getIndex
in interface ExceptionReport
getLang
public String getLang()
- Specified by:
getLang
in interface ExceptionReport
getVersion
public String getVersion()
- Specified by:
getVersion
in interface ExceptionReport
iterator
public Iterator<ExceptionType> iterator()
- Specified by:
iterator
in interface Iterable<ExceptionType>
removeException
public void removeException(int index)
- Specified by:
removeException
in interface ExceptionReport
setException
public void setException(int index,
ExceptionType e)
- Specified by:
setException
in interface ExceptionReport
setLang
public void setLang(String lang)
- Specified by:
setLang
in interface ExceptionReport
setVersion
public void setVersion(String version)
- Specified by:
setVersion
in interface ExceptionReport