net.ontopia.topicmaps.utils.ctm
Class VariableLiteralGenerator
java.lang.Object
net.ontopia.topicmaps.utils.ctm.VariableLiteralGenerator
- All Implemented Interfaces:
- LiteralGeneratorIF
public class VariableLiteralGenerator
- extends java.lang.Object
- implements LiteralGeneratorIF
INTERNAL: Represents a variable as defined in a specific template.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VariableLiteralGenerator
public VariableLiteralGenerator(Template template,
java.lang.String variable)
getLiteral
public java.lang.String getLiteral()
- Specified by:
getLiteral
in interface LiteralGeneratorIF
getDatatype
public LocatorIF getDatatype()
- Specified by:
getDatatype
in interface LiteralGeneratorIF
getLocator
public LocatorIF getLocator()
- Description copied from interface:
LiteralGeneratorIF
- Returns a locator if the literal is a locator. Otherwise it
throws an exception.
- Specified by:
getLocator
in interface LiteralGeneratorIF
copyLiteral
public LiteralGeneratorIF copyLiteral()
- Specified by:
copyLiteral
in interface LiteralGeneratorIF
setValue
public void setValue(java.lang.Object value)
Copyright © 2000-2009 Ontopia.