net.ontopia.topicmaps.utils.ctm
Class BasicLiteralGenerator
java.lang.Object
net.ontopia.topicmaps.utils.ctm.BasicLiteralGenerator
- All Implemented Interfaces:
- LiteralGeneratorIF
public class BasicLiteralGenerator
- extends java.lang.Object
- implements LiteralGeneratorIF
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicLiteralGenerator
public BasicLiteralGenerator()
BasicLiteralGenerator
public BasicLiteralGenerator(java.lang.String value,
LocatorIF locator,
LocatorIF datatype)
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
setLiteral
public void setLiteral(java.lang.String literal)
setDatatype
public void setDatatype(LocatorIF datatype)
setLocator
public void setLocator(LocatorIF locator)
Copyright © 2000-2009 Ontopia.