|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.ontopia.topicmaps.utils.BaseNameGrabber
public class BaseNameGrabber
DEPRECATED: Grabber that grabs the most appropriate basename from a topic.
Field Summary | |
---|---|
protected Comparator |
comparator
Deprecated. PROTECTED: The comparator used to sort the base names. |
Constructor Summary | |
---|---|
BaseNameGrabber(Collection scope)
Deprecated. INTERNAL: Creates a grabber; uses a BaseComparator with the given scope. |
|
BaseNameGrabber(Comparator comparator)
Deprecated. INTERNAL: Creates a grabber which uses the given comparator. |
Method Summary | |
---|---|
Object |
grab(Object topic)
Deprecated. INTERNAL: Grabs the most appropriate base name for the given topic, using the comparator established at creation to compare available base names. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Comparator comparator
Constructor Detail |
---|
public BaseNameGrabber(Collection scope)
scope
- A scope; a collection of TopicIF objects.public BaseNameGrabber(Comparator comparator)
comparator
- The given comparatorMethod Detail |
---|
public Object grab(Object topic)
grab
in interface GrabberIF
topic
- A topic; formally an Object, but must implement TopicIF.
throws
- OntopiaRuntimeException if the given topic is not
a TopicIF object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |