org.semwebcentral.sweetrules.sweetonto
Class SweetOWL2SWRLXMLTranslator

java.lang.Object
  extended byorg.semwebcentral.sweetrules.infrastructure.AbstractSweetTranslator
      extended byorg.semwebcentral.sweetrules.sweetonto.SweetOWL2DLPCompilerTranslator
          extended byorg.semwebcentral.sweetrules.sweetonto.SweetOWL2SWRLXMLTranslator
All Implemented Interfaces:
java.lang.Cloneable, ISweetTranslator

public class SweetOWL2SWRLXMLTranslator
extends SweetOWL2DLPCompilerTranslator

The OWL to SWRL XML Translator

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

Field Summary
private static java.lang.String swrlxmlSerializerMethod
          The method to be used while serializing to SWRL
 
Fields inherited from class org.semwebcentral.sweetrules.sweetonto.SweetOWL2DLPCompilerTranslator
 
Fields inherited from class org.semwebcentral.sweetrules.infrastructure.AbstractSweetTranslator
logger, sourceKBDescriptor, targetKBDescriptor, translatorDescriptor
 
Constructor Summary
SweetOWL2SWRLXMLTranslator()
          Constructor the OWL to SWRLXML 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.sweetonto.SweetOWL2DLPCompilerTranslator
translateUtil
 
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

swrlxmlSerializerMethod

private static final java.lang.String swrlxmlSerializerMethod
The method to be used while serializing to SWRL

See Also:
Constant Field Values
Constructor Detail

SweetOWL2SWRLXMLTranslator

public SweetOWL2SWRLXMLTranslator()
Constructor the OWL to SWRLXML 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