Protégé-OWL 3.3.1

edu.stanford.smi.protegex.owl.swrl.bridge.builtins
Class SWRLBuiltInLibrary

java.lang.Object
  extended by edu.stanford.smi.protegex.owl.swrl.bridge.builtins.SWRLBuiltInLibrary
Direct Known Subclasses:
SWRLBuiltInLibraryImpl, SWRLBuiltInLibraryImpl, SWRLBuiltInLibraryImpl, SWRLBuiltInLibraryImpl, SWRLBuiltInLibraryImpl, SWRLBuiltInLibraryImpl

public abstract class SWRLBuiltInLibrary
extends Object

A class that must be subclassed by a class implementing a library of SWRL built-in methods. See here for documentation.


Constructor Summary
SWRLBuiltInLibrary(String libraryName)
           
 
Method Summary
protected  SWRLRuleEngineBridge getInvokingBridge()
           
protected  int getInvokingBuiltInIndex()
           
protected  String getInvokingRuleName()
           
 String getLibraryName()
           
 boolean invokeBuiltInMethod(Method method, SWRLRuleEngineBridge bridge, String ruleName, String builtInName, int builtInIndex, List<Argument> arguments)
           
 void invokeResetMethod(SWRLRuleEngineBridge bridge)
           
abstract  void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SWRLBuiltInLibrary

public SWRLBuiltInLibrary(String libraryName)
Method Detail

getLibraryName

public String getLibraryName()

getInvokingBridge

protected SWRLRuleEngineBridge getInvokingBridge()
                                          throws BuiltInException
Throws:
BuiltInException

getInvokingRuleName

protected String getInvokingRuleName()
                              throws BuiltInException
Throws:
BuiltInException

getInvokingBuiltInIndex

protected int getInvokingBuiltInIndex()
                               throws BuiltInException
Throws:
BuiltInException

reset

public abstract void reset()
                    throws BuiltInException
Throws:
BuiltInException

invokeResetMethod

public void invokeResetMethod(SWRLRuleEngineBridge bridge)
                       throws BuiltInException
Throws:
BuiltInException

invokeBuiltInMethod

public boolean invokeBuiltInMethod(Method method,
                                   SWRLRuleEngineBridge bridge,
                                   String ruleName,
                                   String builtInName,
                                   int builtInIndex,
                                   List<Argument> arguments)
                            throws BuiltInException
Throws:
BuiltInException

Protégé-OWL 3.3.1

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