org.semwebcentral.sweetrules.swrl
Class SweetSWRLXML2SWRLRDFTranslator

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

public class SweetSWRLXML2SWRLRDFTranslator
extends AbstractSweetTranslator

Class representing the SWRL XML to SWRL RDF translator

Author:
Mike Dean

Field Summary
 
Fields inherited from class org.semwebcentral.sweetrules.infrastructure.AbstractSweetTranslator
logger, sourceKBDescriptor, targetKBDescriptor, translatorDescriptor
 
Constructor Summary
SweetSWRLXML2SWRLRDFTranslator()
          Constructor for the SWRL XML to SWRL RDF translator
 
Method Summary
 java.lang.String translate()
          Performs 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

SweetSWRLXML2SWRLRDFTranslator

public SweetSWRLXML2SWRLRDFTranslator()
Constructor for the SWRL XML to SWRL RDF translator

Method Detail

translate

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

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