public class OpenLSGeocodeResponseParser extends AbstractOpenLSParser
eValBuf, objStack, parser
Constructor and Description |
---|
OpenLSGeocodeResponseParser() |
Modifier and Type | Method and Description |
---|---|
void |
endElement(String uri,
String localName,
String qName) |
GeocodeResponse |
getGeocodeResponse()
Gets the geocode response.
|
GeocodeResponse |
parseOpenLSResponse(String data)
Parses the open ls response.
|
void |
startElement(String uri,
String localName,
String qName,
Attributes attributes) |
characters
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
public void endElement(String uri, String localName, String qName) throws SAXException
endElement
in interface ContentHandler
endElement
in class org.xml.sax.helpers.DefaultHandler
SAXException
public GeocodeResponse getGeocodeResponse()
public GeocodeResponse parseOpenLSResponse(String data)
data
- the data which is an OpenLS response xml documentpublic void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
startElement
in interface ContentHandler
startElement
in class org.xml.sax.helpers.DefaultHandler
SAXException
Copyright © 2012–2014 Ministerie EZ. All rights reserved.