Package net.ontopia.topicmaps.utils.ctm
Interface ValueGeneratorIF
-
- All Known Implementing Classes:
AbstractTopicGenerator,IRIAsArgumentGenerator,NamedWildcardTopicGenerator,ValueGenerator,WildcardTopicGenerator
public interface ValueGeneratorIFCommon interface for generating both literal values and topics.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ValueGeneratorIFcopy()LocatorIFgetDatatype()StringgetLiteral()LocatorIFgetLocator()Returns a locator if the literal is a locator.TopicIFgetTopic()booleanisTopic()Returns true if this generator produces a topic.
-
-
-
Method Detail
-
isTopic
boolean isTopic()
Returns true if this generator produces a topic.
-
getLiteral
String getLiteral()
-
getDatatype
LocatorIF getDatatype()
-
getLocator
LocatorIF getLocator()
Returns a locator if the literal is a locator. Otherwise it throws an exception.
-
copy
ValueGeneratorIF copy()
-
getTopic
TopicIF getTopic()
-
-