net.ontopia.utils
Class GrabberStringifier

java.lang.Object
  extended by net.ontopia.utils.GrabberStringifier
All Implemented Interfaces:
StringifierIF

public class GrabberStringifier
extends java.lang.Object
implements StringifierIF

INTERNAL: Stringifies the object that the grabber grabs. DefaultStringifier will be used if no nested stringifier is specified.


Constructor Summary
GrabberStringifier(GrabberIF grabber)
           
GrabberStringifier(GrabberIF grabber, StringifierIF stringifier)
           
 
Method Summary
 void setGrabber(GrabberIF grabber)
          Set the grabber which is to be used.
 void setStringifier(StringifierIF stringifier)
          Set the stringifier which is to be used.
 java.lang.String toString(java.lang.Object object)
          Returns a stringified version of the object, i.e.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GrabberStringifier

public GrabberStringifier(GrabberIF grabber)

GrabberStringifier

public GrabberStringifier(GrabberIF grabber,
                          StringifierIF stringifier)
Method Detail

setGrabber

public void setGrabber(GrabberIF 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 java.lang.String toString(java.lang.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-2010 Ontopia.