
public class OpenLSResponseParser extends DefaultHandler
| Constructor and Description | 
|---|
| OpenLSResponseParser()Instantiates a new open ls response parser. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | characters(char[] ch,
          int start,
          int length) | 
| 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) | 
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningpublic OpenLSResponseParser()
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)
startElement in interface ContentHandlerstartElement in class DefaultHandlerpublic void endElement(String uri, String localName, String qName)
endElement in interface ContentHandlerendElement in class DefaultHandlerpublic void characters(char[] ch,
                       int start,
                       int length)
characters in interface ContentHandlercharacters in class DefaultHandlerpublic GeocodeResponse getGeocodeResponse()
Copyright © 2010–2020 team GEOZET. All rights reserved.