geo.google.mapping
Class XmlToUsAddressFunctor

java.lang.Object
  extended by 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

Constructor Summary
XmlToUsAddressFunctor()
           
 
Method Summary
 List<GeoUsAddress> execute(String xml)
           
static XmlToUsAddressFunctor getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlToUsAddressFunctor

public XmlToUsAddressFunctor()
Method Detail

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.