org.jasig.portlet.weather.dao.accuweather.xstream
Class ResultConverter

java.lang.Object
  extended by org.jasig.portlet.weather.dao.accuweather.xstream.ResultConverter
All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter, com.thoughtworks.xstream.converters.ConverterMatcher

public class ResultConverter
extends java.lang.Object
implements com.thoughtworks.xstream.converters.Converter

Converter class to convert location results from searching for a city.

Version:
$Id$
Author:
Dustin Schultz

Constructor Summary
ResultConverter()
           
 
Method Summary
 boolean canConvert(java.lang.Class clazz)
           
 void marshal(java.lang.Object arg0, com.thoughtworks.xstream.io.HierarchicalStreamWriter arg1, com.thoughtworks.xstream.converters.MarshallingContext arg2)
           
 java.lang.Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultConverter

public ResultConverter()
Method Detail

marshal

public void marshal(java.lang.Object arg0,
                    com.thoughtworks.xstream.io.HierarchicalStreamWriter arg1,
                    com.thoughtworks.xstream.converters.MarshallingContext arg2)
Specified by:
marshal in interface com.thoughtworks.xstream.converters.Converter

unmarshal

public java.lang.Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
                                  com.thoughtworks.xstream.converters.UnmarshallingContext context)
Specified by:
unmarshal in interface com.thoughtworks.xstream.converters.Converter

canConvert

public boolean canConvert(java.lang.Class clazz)
Specified by:
canConvert in interface com.thoughtworks.xstream.converters.ConverterMatcher


Copyright © 2009 Jasig. All Rights Reserved.