org.semwebcentral.sweetrules.sweetjess
Class SweetRuleML2JessTranslator

java.lang.Object
  extended byorg.semwebcentral.sweetrules.infrastructure.AbstractSweetTranslator
      extended byorg.semwebcentral.sweetrules.sweetjess.SweetRuleML2JessTranslator
All Implemented Interfaces:
java.lang.Cloneable, ISweetTranslator

public class SweetRuleML2JessTranslator
extends AbstractSweetTranslator

Created on Nov 5, 2004

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

Field Summary
private  Logger logger
          The logger object
 
Fields inherited from class org.semwebcentral.sweetrules.infrastructure.AbstractSweetTranslator
sourceKBDescriptor, targetKBDescriptor, translatorDescriptor
 
Constructor Summary
SweetRuleML2JessTranslator()
          The RuleML to Jess 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
 

Field Detail

logger

private Logger logger
The logger object

Constructor Detail

SweetRuleML2JessTranslator

public SweetRuleML2JessTranslator()
The RuleML to Jess translator

Method Detail

translate

public java.lang.String translate()
                           throws SweetTranslatorException
Description copied from interface: ISweetTranslator
Perfroms translation from the specified source format to the target format

Returns:
The translated string in the target format
Throws:
SweetTranslatorException