private static class PlaceSelection.NameFinderResultParser extends DefaultHandler
| Modifier and Type | Field and Description |
|---|---|
private PlaceSelection.SearchResult |
currentResult |
private List<PlaceSelection.SearchResult> |
data |
private int |
depth |
private StringBuffer |
description |
| Modifier | Constructor and Description |
|---|---|
private |
NameFinderResultParser() |
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] data,
int start,
int length)
Read characters for description.
|
void |
endElement(String namespaceURI,
String localName,
String qName)
Detect ending elements.
|
List<PlaceSelection.SearchResult> |
getResult() |
void |
startElement(String namespaceURI,
String localName,
String qName,
Attributes atts)
Detect starting elements.
|
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningprivate PlaceSelection.SearchResult currentResult
private StringBuffer description
private int depth
private List<PlaceSelection.SearchResult> data
private NameFinderResultParser()
public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException
startElement in interface ContentHandlerstartElement in class DefaultHandlerSAXExceptionpublic void endElement(String namespaceURI, String localName, String qName) throws SAXException
endElement in interface ContentHandlerendElement in class DefaultHandlerSAXExceptionpublic void characters(char[] data, int start, int length) throws SAXException
characters in interface ContentHandlercharacters in class DefaultHandlerSAXExceptionpublic List<PlaceSelection.SearchResult> getResult()