public class OpenLSRequestParser extends DefaultHandler
Constructor and Description |
---|
OpenLSRequestParser()
Instantiates a new open ls request parser.
|
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
endElement(String uri,
String localName,
String qName) |
GeocodeRequest |
getGeocodeRequest()
Gets the geocode request.
|
GeocodeRequest |
parseOpenLSRequest(String data)
Parses the open ls request.
|
void |
startElement(String uri,
String localName,
String qName,
Attributes attributes) |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
public OpenLSRequestParser()
public GeocodeRequest parseOpenLSRequest(String data)
data
- the datapublic void startElement(String uri, String localName, String qName, Attributes attributes)
startElement
in interface ContentHandler
startElement
in class DefaultHandler
public void endElement(String uri, String localName, String qName)
endElement
in interface ContentHandler
endElement
in class DefaultHandler
public void characters(char[] ch, int start, int length)
characters
in interface ContentHandler
characters
in class DefaultHandler
public GeocodeRequest getGeocodeRequest()
Copyright © 2010–2020 team GEOZET. All rights reserved.