net.ontopia.utils
Class GrabberStringifier
java.lang.Object
net.ontopia.utils.GrabberStringifier
- All Implemented Interfaces:
- StringifierIF
public class GrabberStringifier
- extends Object
- implements StringifierIF
INTERNAL: Stringifies the object that the grabber
grabs. DefaultStringifier will be used if no nested stringifier is
specified.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
grabber
protected GrabberIF<Object,Object> grabber
stringifier
protected StringifierIF stringifier
GrabberStringifier
public GrabberStringifier(GrabberIF<Object,Object> grabber)
GrabberStringifier
public GrabberStringifier(GrabberIF<Object,Object> grabber,
StringifierIF stringifier)
setGrabber
public void setGrabber(GrabberIF<Object,Object> grabber)
- Set the grabber which is to be used.
setStringifier
public void setStringifier(StringifierIF stringifier)
- Set the stringifier which is to be used.
toString
public String toString(Object 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
- 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.