org.squirrelframework.foundation.fsm
Class StringConverter.StringConverterImpl

java.lang.Object
  extended by org.squirrelframework.foundation.fsm.StringConverter.StringConverterImpl
All Implemented Interfaces:
SquirrelComponent, Converter<String>, StringConverter
Enclosing interface:
StringConverter

public static class StringConverter.StringConverterImpl
extends Object
implements StringConverter


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.squirrelframework.foundation.fsm.StringConverter
StringConverter.StringConverterImpl
 
Nested classes/interfaces inherited from interface org.squirrelframework.foundation.fsm.Converter
Converter.EnumConverter<T extends Enum<T>>
 
Field Summary
 
Fields inherited from interface org.squirrelframework.foundation.fsm.StringConverter
INSTANCE
 
Method Summary
 String convertFromString(String name)
          Convert string to object.
 String convertToString(String obj)
          Convert object to string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

convertToString

public String convertToString(String obj)
Description copied from interface: Converter
Convert object to string.

Specified by:
convertToString in interface Converter<String>
Parameters:
obj - converted object
Returns:
string description of object

convertFromString

public String convertFromString(String name)
Description copied from interface: Converter
Convert string to object.

Specified by:
convertFromString in interface Converter<String>
Parameters:
name - name of the object
Returns:
converted object


Copyright © 2013-2014. All Rights Reserved.