SWIXML
1.5 (#149)

org.swixml.converters
Class ActionConverter

java.lang.Object
  extended by org.swixml.converters.ActionConverter
All Implemented Interfaces:
Converter

public class ActionConverter
extends Object
implements Converter

The ActionConverter is a tagging class that is only used to regsiter the Action.class with the ConverterLibrary

Since:
swixml 1.0
Version:
$Revision: 1.1 $
Author:
Wolf Paulus

Constructor Summary
ActionConverter()
           
 
Method Summary
 Object convert(Class type, Attribute attr, Localizer localizer)
          Convert the value of the given Attribute object into an output object of the specified type.
 Class convertsTo()
          A conversTo method informs about the Class type the converter is returning when its convert method is called
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionConverter

public ActionConverter()
Method Detail

convert

public Object convert(Class type,
                      Attribute attr,
                      Localizer localizer)
               throws Exception
Convert the value of the given Attribute object into an output object of the specified type.

Specified by:
convert in interface Converter
Parameters:
type - Class Data type to which the Attribute's value should be converted
attr - Attribute the attribute, providing the value to be converted.
Throws:
Exception

convertsTo

public Class convertsTo()
A conversTo method informs about the Class type the converter is returning when its convert method is called

Specified by:
convertsTo in interface Converter
Returns:
Class - the Class the converter is returning when its convert method is called

SWIXML
1.5 (#149)

Copyright ? 2002 - 2007 - Wolf Paulus - wolfpaulus.com. All rights reserved.