|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ontopia.topicmaps.utils.DisplayNameGrabber
public class DisplayNameGrabber
PUBLIC: Grabber that grabs the name most suitable for display from a topic. If the topic has a display name that will be chosen. If not, the base name in the least constrained scope will be chosen.
| Field Summary | |
|---|---|
protected GrabberIF |
subGrabber
Deprecated. PROTECTED: The NameGrabber used to implement the grabbing. |
| Constructor Summary | |
|---|---|
DisplayNameGrabber()
Deprecated. PUBLIC: Creates the grabber and sets the comparator to be a ScopedIFComparator using the least constrained scope. |
|
| Method Summary | |
|---|---|
java.lang.Object |
grab(java.lang.Object object)
Deprecated. PUBLIC: Grabs the name for display. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected GrabberIF subGrabber
| Constructor Detail |
|---|
public DisplayNameGrabber()
| Method Detail |
|---|
public java.lang.Object grab(java.lang.Object object)
grab in interface GrabberIFobject - The topic whose name is being grabbed; formally an object.
Throws - OntopiaRuntimeException if object is not a topic.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||