Package net.ontopia.topicmaps.utils.ctm
Interface ValueGeneratorIF
- All Known Implementing Classes:
AbstractTopicGenerator,IRIAsArgumentGenerator,NamedWildcardTopicGenerator,ValueGenerator,WildcardTopicGenerator
public interface ValueGeneratorIF
Common interface for generating both literal values and topics.
-
Method Details
-
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()
-