org.jasig.portlet.weather.dao.accuweather.xstream
Class CurrentConverter
java.lang.Object
org.jasig.portlet.weather.dao.accuweather.xstream.CurrentConverter
- All Implemented Interfaces:
- com.thoughtworks.xstream.converters.Converter, com.thoughtworks.xstream.converters.ConverterMatcher
public class CurrentConverter
- extends java.lang.Object
- implements com.thoughtworks.xstream.converters.Converter
Converter class to convert current conditions XML into a current object. Data
that is not part of the current object but falls within the current
conditions XML is put inside the context object to be retrieved by the parent
class.
- Version:
- $Id$
- Author:
- Dustin Schultz
|
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 |
CurrentConverter
public CurrentConverter()
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.