geo.google.mapping
Class XmlToUsAddressFunctor
java.lang.Object
geo.google.mapping.XmlToUsAddressFunctor
- All Implemented Interfaces:
- Functor<List<GeoUsAddress>,String,GeoException>, XmlMappingFunctor<List<GeoUsAddress>>
public final class XmlToUsAddressFunctor
- extends Object
- implements XmlMappingFunctor<List<GeoUsAddress>>
Maps a kml string returns by google's geocode service to a GeoUsAddress
object.
- Author:
- jliang
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlToUsAddressFunctor
public XmlToUsAddressFunctor()
getInstance
public static XmlToUsAddressFunctor getInstance()
execute
public List<GeoUsAddress> execute(String xml)
throws GeoException
- Specified by:
execute
in interface Functor<List<GeoUsAddress>,String,GeoException>
- Throws:
GeoException
Copyright © 2008. All Rights Reserved.