net.ontopia.utils
Class StringifierGrabber<T>
java.lang.Object
net.ontopia.utils.StringifierGrabber<T>
- All Implemented Interfaces:
- GrabberIF<T,String>
public class StringifierGrabber<T>
- extends Object
- implements GrabberIF<T,String>
INTERNAL: Grabber that grabs a stringified version of the object
given to it.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
stringifier
protected StringifierIF<T> stringifier
StringifierGrabber
public StringifierGrabber()
StringifierGrabber
public StringifierGrabber(StringifierIF<T> stringifier)
getStringifier
public StringifierIF<T> getStringifier()
- Gets the stringifier which is to be used.
setStringifier
public void setStringifier(StringifierIF<T> stringifier)
- Sets the stringifier which is to be used.
grab
public String grab(T object)
- Description copied from interface:
GrabberIF
- Returns an object that is somehow extracted from the given
object.
- Specified by:
grab
in interface GrabberIF<T,String>
Copyright © 2000-2012 Ontopia.