org.semwebcentral.sweetrules.sweetcr.translators
Class SweetCLP2XSBTranslator

java.lang.Object
  extended byorg.semwebcentral.sweetrules.infrastructure.AbstractSweetTranslator
      extended byorg.semwebcentral.sweetrules.sweetcr.translators.SweetCLP2XSBTranslator
All Implemented Interfaces:
java.lang.Cloneable, ISweetTranslator

public class SweetCLP2XSBTranslator
extends AbstractSweetTranslator


The CLP to XSB translator

Modified on: Sep 3, 2004 1:57:13 PM

Author:
Shashidhara K Ganjugunte, Dr. Benjamin Grosof, Dr. Said Tabet, Chitravanu Neogy

Field Summary
 
Fields inherited from class org.semwebcentral.sweetrules.infrastructure.AbstractSweetTranslator
logger, sourceKBDescriptor, targetKBDescriptor, translatorDescriptor
 
Constructor Summary
SweetCLP2XSBTranslator()
          Constructor for the CLP to XSB translator
 
Method Summary
 java.lang.String translate()
          The implementation of translate for CLP to XSB translation
 
Methods inherited from class org.semwebcentral.sweetrules.infrastructure.AbstractSweetTranslator
clone, getSourceData, getTranslatorDescriptor, loadAllNamespacesAndEntities, print, setSourceData, setSourceKBDescriptor, setTargetKBDescriptor, setTranslatorDescriptor, trace, writeToTargetKB
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SweetCLP2XSBTranslator

public SweetCLP2XSBTranslator()
Constructor for the CLP to XSB translator

Method Detail

translate

public java.lang.String translate()
                           throws SweetTranslatorException
The implementation of translate for CLP to XSB translation

Returns:
The translated string
Throws:
SweetTranslatorException - if an error occurs