Protégé-OWL 3.4

edu.stanford.smi.protegex.owl.swrl.model.impl
Class SWRLUtil

java.lang.Object
  extended by edu.stanford.smi.protegex.owl.swrl.model.impl.SWRLUtil

public class SWRLUtil
extends Object

Author:
Daniel Elenius, Martin O'Connor

Constructor Summary
SWRLUtil()
           
 
Method Summary
static String getSWRLBrowserText(Object o, String resourceType)
           
static String getSWRLBrowserText(RDFObject o)
          This replaces RDFSLiteral.getBrowserText() for the SWRL editor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SWRLUtil

public SWRLUtil()
Method Detail

getSWRLBrowserText

public static String getSWRLBrowserText(RDFObject o)
This replaces RDFSLiteral.getBrowserText() for the SWRL editor. We need some special handling, e.g. adding quotes to strings.


getSWRLBrowserText

public static String getSWRLBrowserText(Object o,
                                        String resourceType)

Protégé-OWL 3.4

Submit a bug report or feature request
Copyright (c) 1998-2009 Stanford University.