gov.nasa.worldwind.applications.gio.ows
Class ExceptionTypeParser
java.lang.Object
gov.nasa.worldwind.applications.gio.xml.ElementParser
gov.nasa.worldwind.applications.gio.ows.ExceptionTypeParser
- All Implemented Interfaces:
- ExceptionType, Iterable<ExceptionText>
public class ExceptionTypeParser
- extends ElementParser
- implements ExceptionType
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
ExceptionTypeParser
public ExceptionTypeParser(String elementName,
Attributes attributes)
addExceptionText
public void addExceptionText(ExceptionText exceptionText)
- Specified by:
addExceptionText
in interface ExceptionType
addExceptionText
public void addExceptionText(int index,
ExceptionText exceptionText)
- Specified by:
addExceptionText
in interface ExceptionType
addExceptionTexts
public void addExceptionTexts(Collection<? extends ExceptionText> c)
- Specified by:
addExceptionTexts
in interface ExceptionType
clearExceptionTexts
public void clearExceptionTexts()
- Specified by:
clearExceptionTexts
in interface ExceptionType
doStartElement
protected void doStartElement(String name,
Attributes attributes)
- Overrides:
doStartElement
in class ElementParser
getExceptionCode
public String getExceptionCode()
- Specified by:
getExceptionCode
in interface ExceptionType
getExceptionText
public ExceptionText getExceptionText(int index)
- Specified by:
getExceptionText
in interface ExceptionType
getExceptionTextCount
public int getExceptionTextCount()
- Specified by:
getExceptionTextCount
in interface ExceptionType
getIndex
public int getIndex(ExceptionText exceptionText)
- Specified by:
getIndex
in interface ExceptionType
getLocator
public String getLocator()
- Specified by:
getLocator
in interface ExceptionType
iterator
public Iterator<ExceptionText> iterator()
- Specified by:
iterator
in interface Iterable<ExceptionText>
removeExceptionText
public void removeExceptionText(int index)
- Specified by:
removeExceptionText
in interface ExceptionType
setExceptionCode
public void setExceptionCode(String exceptionCode)
- Specified by:
setExceptionCode
in interface ExceptionType
setExceptionText
public void setExceptionText(int index,
ExceptionText exceptionText)
- Specified by:
setExceptionText
in interface ExceptionType
setLocator
public void setLocator(String locator)
- Specified by:
setLocator
in interface ExceptionType