net.ontopia.utils
Class DefaultStringifier<T>

java.lang.Object
  extended by net.ontopia.utils.DefaultStringifier<T>
All Implemented Interfaces:
StringifierIF<T>

public class DefaultStringifier<T>
extends Object
implements StringifierIF<T>

INTERNAL: Stringifier that calls the toString method on the object.


Constructor Summary
DefaultStringifier()
           
 
Method Summary
 String toString(T object)
          Returns a stringified version of the object, i.e.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultStringifier

public DefaultStringifier()
Method Detail

toString

public String toString(T object)
Description copied from interface: StringifierIF
Returns a stringified version of the object, i.e. a string representation of that object.

Specified by:
toString in interface StringifierIF<T>
Parameters:
object - the object that is to be made a string representation of.
Returns:
a string representation of the object argument.


Copyright © 2000-2012 Ontopia.