Package net.ontopia.topicmaps.utils.ctm
Class AbstractTopicGenerator
java.lang.Object
net.ontopia.topicmaps.utils.ctm.AbstractTopicGenerator
- All Implemented Interfaces:
ValueGeneratorIF
- Direct Known Subclasses:
NamedWildcardTopicGenerator,WildcardTopicGenerator
Abstract topic generator.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a locator if the literal is a locator.booleanisTopic()Returns true if this generator produces a topic.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.ontopia.topicmaps.utils.ctm.ValueGeneratorIF
copy, getTopic
-
Constructor Details
-
AbstractTopicGenerator
public AbstractTopicGenerator()
-
-
Method Details
-
isTopic
public boolean isTopic()Description copied from interface:ValueGeneratorIFReturns true if this generator produces a topic.- Specified by:
isTopicin interfaceValueGeneratorIF
-
getLiteral
- Specified by:
getLiteralin interfaceValueGeneratorIF
-
getDatatype
- Specified by:
getDatatypein interfaceValueGeneratorIF
-
getLocator
Description copied from interface:ValueGeneratorIFReturns a locator if the literal is a locator. Otherwise it throws an exception.- Specified by:
getLocatorin interfaceValueGeneratorIF
-