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, java.lang.Iterable<ExceptionText>
public class ExceptionTypeParser
- extends ElementParser
- implements ExceptionType
|
Constructor Summary |
ExceptionTypeParser(java.lang.String elementName,
org.xml.sax.Attributes attributes)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ELEMENT_NAME
public static final java.lang.String ELEMENT_NAME
- See Also:
- Constant Field Values
ExceptionTypeParser
public ExceptionTypeParser(java.lang.String elementName,
org.xml.sax.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(java.util.Collection<? extends ExceptionText> c)
- Specified by:
addExceptionTexts in interface ExceptionType
clearExceptionTexts
public void clearExceptionTexts()
- Specified by:
clearExceptionTexts in interface ExceptionType
doStartElement
protected void doStartElement(java.lang.String name,
org.xml.sax.Attributes attributes)
- Overrides:
doStartElement in class ElementParser
getExceptionCode
public java.lang.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 java.lang.String getLocator()
- Specified by:
getLocator in interface ExceptionType
iterator
public java.util.Iterator<ExceptionText> iterator()
- Specified by:
iterator in interface java.lang.Iterable<ExceptionText>
removeExceptionText
public void removeExceptionText(int index)
- Specified by:
removeExceptionText in interface ExceptionType
setExceptionCode
public void setExceptionCode(java.lang.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(java.lang.String locator)
- Specified by:
setLocator in interface ExceptionType