net.ontopia.topicmaps.utils
Class NameStringifier

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

public class NameStringifier
extends java.lang.Object
implements StringifierIF

INTERNAL: Stringifier that stringifies TopicNameIFs and VariantNameIFs by calling their getValue() method.


Constructor Summary
NameStringifier()
           
 
Method Summary
 java.lang.String toString(java.lang.Object name)
          INTERNAL: Stringifies the given name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameStringifier

public NameStringifier()
Method Detail

toString

public java.lang.String toString(java.lang.Object name)
INTERNAL: Stringifies the given name.

Specified by:
toString in interface StringifierIF
Parameters:
name - object, cast to TopicNameIF or VariantNameIF internally; the given name
Returns:
string containing name value or "[No name]"


Copyright © 2000-2012 Ontopia.