net.ontopia.topicmaps.utils.ctm
Class VariableLiteralGenerator

java.lang.Object
  extended by 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.


Constructor Summary
VariableLiteralGenerator(Template template, java.lang.String variable)
           
 
Method Summary
 LiteralGeneratorIF copyLiteral()
           
 LocatorIF getDatatype()
           
 java.lang.String getLiteral()
           
 LocatorIF getLocator()
          Returns a locator if the literal is a locator.
 void setValue(java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VariableLiteralGenerator

public VariableLiteralGenerator(Template template,
                                java.lang.String variable)
Method Detail

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.