Package net.ontopia.topicmaps.utils.ctm
Class IRIAsArgumentGenerator
java.lang.Object
net.ontopia.topicmaps.utils.ctm.IRIAsArgumentGenerator
- All Implemented Interfaces:
ValueGeneratorIF
INTERNAL: A special generator that's used when an IRI is passed as
an argument to a template because this can be either a topic
reference or an IRI literal, and we don't know which.
-
Constructor Details
-
IRIAsArgumentGenerator
-
-
Method Details
-
isTopic
public boolean isTopic()Description copied from interface:ValueGeneratorIFReturns true if this generator produces a topic.- Specified by:
isTopicin interfaceValueGeneratorIF
-
getTopic
- Specified by:
getTopicin interfaceValueGeneratorIF
-
copy
- Specified by:
copyin 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
-