net.ontopia.topicmaps.utils
Class NameStringifier

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

public class NameStringifier
extends Object
implements StringifierIF<NameIF>

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


Constructor Summary
NameStringifier()
           
 
Method Summary
 String toString(NameIF 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 String toString(NameIF name)
INTERNAL: Stringifies the given name.

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


Copyright © 2000-2012 Ontopia.