gov.nasa.worldwind.applications.gio.csw
Class SAXResponseParser
java.lang.Object
gov.nasa.worldwind.applications.gio.csw.SAXResponseParser
- All Implemented Interfaces:
- ResponseParser
- Direct Known Subclasses:
- GetRecordsDocumentParser, GetServices.ResponseParser, GetServices.ResponseParser
public class SAXResponseParser
- extends Object
- implements ResponseParser
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SAXResponseParser
public SAXResponseParser()
SAXResponseParser
public SAXResponseParser(ElementParser documentElement)
doEndDocument
protected void doEndDocument(String name)
throws Exception
- Throws:
Exception
doParseResponse
protected void doParseResponse(SAXParser parser,
InputStream is)
throws Exception
- Throws:
Exception
doStartDocument
protected void doStartDocument(String name,
Attributes attributes)
throws Exception
- Throws:
Exception
endDocument
public void endDocument(String name)
throws Exception
- Throws:
Exception
getDocumentElement
public ElementParser getDocumentElement()
getExceptionReport
public ExceptionReport getExceptionReport()
hasExceptions
public boolean hasExceptions()
newSAXParser
protected static SAXParser newSAXParser()
throws Exception
- Throws:
Exception
parseResponse
public void parseResponse(InputStream is)
throws Exception
- Specified by:
parseResponse
in interface ResponseParser
- Throws:
Exception
setDocumentElement
public void setDocumentElement(ElementParser documentElement)
startDocument
public void startDocument(String name,
Attributes attributes)
throws Exception
- Throws:
Exception