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