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
public abstract class AbstractTopicGenerator
- extends Object
- implements ValueGeneratorIF
Abstract topic generator.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractTopicGenerator
public AbstractTopicGenerator()
isTopic
public boolean isTopic()
- Description copied from interface:
ValueGeneratorIF
- Returns true if this generator produces a topic.
- Specified by:
isTopic
in interface ValueGeneratorIF
getLiteral
public String getLiteral()
- Specified by:
getLiteral
in interface ValueGeneratorIF
getDatatype
public LocatorIF getDatatype()
- Specified by:
getDatatype
in interface ValueGeneratorIF
getLocator
public LocatorIF getLocator()
- Description copied from interface:
ValueGeneratorIF
- Returns a locator if the literal is a locator. Otherwise it
throws an exception.
- Specified by:
getLocator
in interface ValueGeneratorIF
Copyright © 2000-2012 Ontopia.