|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.topicmaps.utils.TypedIFStringifier
public class TypedIFStringifier
INTERNAL: Stringifier that generates a string representation of the type property of the object given to it.
This stringifier uses a TypedIFGrabber internally to grab the object's type property. Instances of this class can be configured with a stringifier used to stringify the resulting topic.
Field Summary | |
---|---|
protected GrabberIF |
grabber
|
protected StringifierIF |
topic_stringifier
|
Constructor Summary | |
---|---|
TypedIFStringifier(StringifierIF topic_stringifier)
|
Method Summary | |
---|---|
java.lang.String |
toString(java.lang.Object typed)
Returns a string representation of the type property of the typed object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected GrabberIF grabber
protected StringifierIF topic_stringifier
Constructor Detail |
---|
public TypedIFStringifier(StringifierIF topic_stringifier)
Method Detail |
---|
public java.lang.String toString(java.lang.Object typed)
toString
in interface StringifierIF
typed
- An object implementing TypedIF.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |