org.springframework.osgi.blueprint.container
Class GenericConverter

java.lang.Object
  extended by org.springframework.osgi.blueprint.container.GenericConverter
All Implemented Interfaces:
Converter

public class GenericConverter
extends Object
implements Converter

Author:
Costin Leau

Constructor Summary
GenericConverter()
           
 
Method Summary
 boolean canConvert(Object source, ReifiedType type)
           
 Object convert(Object s, ReifiedType type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericConverter

public GenericConverter()
Method Detail

convert

public Object convert(Object s,
                      ReifiedType type)
               throws Exception
Specified by:
convert in interface Converter
Throws:
Exception

canConvert

public boolean canConvert(Object source,
                          ReifiedType type)
Specified by:
canConvert in interface Converter


Copyright © 2006-2011 Spring Framework. All Rights Reserved.