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
 ValueGeneratorIF copy()
           
 LocatorIF getDatatype()
           
 java.lang.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

java.lang.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()


Copyright © 2000-2012 Ontopia.