net.ontopia.topicmaps.utils
Class TypedIFGrabber<T extends TypedIF>

java.lang.Object
  extended by net.ontopia.topicmaps.utils.TypedIFGrabber<T>
All Implemented Interfaces:
GrabberIF<T,TopicIF>

public class TypedIFGrabber<T extends TypedIF>
extends Object
implements GrabberIF<T,TopicIF>

INTERNAL: Grabber that grabs the type property of the TypedIF object given to it.


Constructor Summary
TypedIFGrabber()
           
 
Method Summary
 TopicIF grab(T typed)
          INTERNAL: Grabs the topic which is the type of the given typedIF
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypedIFGrabber

public TypedIFGrabber()
Method Detail

grab

public TopicIF grab(T typed)
INTERNAL: Grabs the topic which is the type of the given typedIF

Specified by:
grab in interface GrabberIF<T extends TypedIF,TopicIF>
Parameters:
typed - the given object; internally typecast to TypedIF
Returns:
object which is the type; an object implementing TopicIF


Copyright © 2000-2012 Ontopia.