org.semwebcentral.sweetrules.sweetcr.translators
Class SweetB2XSBTranslator

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

public class SweetB2XSBTranslator
extends AbstractSweetTranslator


Class representing the BRML to XSB translation via CommonRules

Modified on: Aug 25, 2004, 2:10:41 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
SweetB2XSBTranslator()
          Constructor for the BRML to XSB translator
 
Method Summary
 java.lang.String translate()
          Perfroms translation from the specified source format to the target format
 
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

SweetB2XSBTranslator

public SweetB2XSBTranslator()
Constructor for the BRML to XSB translator

Method Detail

translate

public java.lang.String translate()
                           throws SweetTranslatorException
Perfroms translation from the specified source format to the target format

Returns:
The translated string in the target format
Throws:
TranslatorException - If translation cannot be performed then an exception is thrown
SweetTranslatorException