net.ontopia.utils
Class StringifierGrabber

java.lang.Object
  extended by net.ontopia.utils.StringifierGrabber
All Implemented Interfaces:
GrabberIF

public class StringifierGrabber
extends java.lang.Object
implements GrabberIF

INTERNAL: Grabber that grabs a stringified version of the object given to it.


Field Summary
protected  StringifierIF stringifier
           
 
Constructor Summary
StringifierGrabber()
           
StringifierGrabber(StringifierIF stringifier)
           
 
Method Summary
 StringifierIF getStringifier()
          Gets the stringifier which is to be used.
 java.lang.Object grab(java.lang.Object object)
          Returns an object that is somehow extracted from the given object.
 void setStringifier(StringifierIF stringifier)
          Sets the stringifier which is to be used.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

stringifier

protected StringifierIF stringifier
Constructor Detail

StringifierGrabber

public StringifierGrabber()

StringifierGrabber

public StringifierGrabber(StringifierIF stringifier)
Method Detail

getStringifier

public StringifierIF getStringifier()
Gets the stringifier which is to be used.


setStringifier

public void setStringifier(StringifierIF stringifier)
Sets the stringifier which is to be used.


grab

public java.lang.Object grab(java.lang.Object object)
Description copied from interface: GrabberIF
Returns an object that is somehow extracted from the given object.

Specified by:
grab in interface GrabberIF


Copyright © 2000-2012 Ontopia.