org.apache.shindig.social.core.util.atom
Class AtomAttributeConverter

java.lang.Object
  extended by org.apache.shindig.social.core.util.atom.AtomAttributeConverter
All Implemented Interfaces:
com.thoughtworks.xstream.converters.ConverterMatcher, com.thoughtworks.xstream.converters.SingleValueConverter

public class AtomAttributeConverter
extends Object
implements com.thoughtworks.xstream.converters.SingleValueConverter

Serializes attributes correctly.


Constructor Summary
AtomAttributeConverter()
           
 
Method Summary
 boolean canConvert(Class clazz)
          
 Object fromString(String value)
          
 String toString(Object object)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AtomAttributeConverter

public AtomAttributeConverter()
Method Detail

fromString

public Object fromString(String value)

Specified by:
fromString in interface com.thoughtworks.xstream.converters.SingleValueConverter
See Also:
SingleValueConverter.fromString(java.lang.String)

toString

public String toString(Object object)

Specified by:
toString in interface com.thoughtworks.xstream.converters.SingleValueConverter
See Also:
SingleValueConverter.toString(java.lang.Object)

canConvert

public boolean canConvert(Class clazz)

Specified by:
canConvert in interface com.thoughtworks.xstream.converters.ConverterMatcher
See Also:
ConverterMatcher.canConvert(java.lang.Class)


Copyright © 2007-2012. All Rights Reserved.