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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ValueGeneratorIF
copy()
LocatorIF
getDatatype()
String
getLiteral()
LocatorIF
getLocator()
Returns a locator if the literal is a locator.TopicIF
getTopic()
boolean
isTopic()
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()
-
-