edu.stanford.smi.protegex.owl.swrl.bridge.builtins
Class AbstractSWRLBuiltInLibrary
java.lang.Object
edu.stanford.smi.protegex.owl.swrl.bridge.builtins.AbstractSWRLBuiltInLibrary
- All Implemented Interfaces:
- SWRLBuiltInLibrary
- Direct Known Subclasses:
- SWRLBuiltInLibraryImpl, SWRLBuiltInLibraryImpl, SWRLBuiltInLibraryImpl, SWRLBuiltInLibraryImpl, SWRLBuiltInLibraryImpl, SWRLBuiltInLibraryImpl, SWRLBuiltInLibraryImpl, SWRLBuiltInLibraryImpl, SWRLBuiltInLibraryImpl, SWRLBuiltInLibraryImpl, SWRLBuiltInLibraryImpl
public abstract class AbstractSWRLBuiltInLibrary
- extends Object
- implements SWRLBuiltInLibrary
A class that must be subclassed by a class implementing a library of SWRL built-in methods. See here for documentation.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractSWRLBuiltInLibrary
public AbstractSWRLBuiltInLibrary(String libraryName)
getLibraryName
public String getLibraryName()
- Specified by:
getLibraryName
in interface SWRLBuiltInLibrary
getInvokingBridge
public SWRLRuleEngineBridge getInvokingBridge()
throws BuiltInException
- Specified by:
getInvokingBridge
in interface SWRLBuiltInLibrary
- Throws:
BuiltInException
getInvokingRuleName
public String getInvokingRuleName()
throws BuiltInException
- Specified by:
getInvokingRuleName
in interface SWRLBuiltInLibrary
- Throws:
BuiltInException
getInvokingBuiltInIndex
public int getInvokingBuiltInIndex()
throws BuiltInException
- Specified by:
getInvokingBuiltInIndex
in interface SWRLBuiltInLibrary
- Throws:
BuiltInException
getIsInConsequent
public boolean getIsInConsequent()
throws BuiltInException
- Specified by:
getIsInConsequent
in interface SWRLBuiltInLibrary
- Throws:
BuiltInException
reset
public abstract void reset()
throws BuiltInException
- Specified by:
reset
in interface SWRLBuiltInLibrary
- Throws:
BuiltInException
invokeResetMethod
public void invokeResetMethod(SWRLRuleEngineBridge bridge)
throws BuiltInException
- Specified by:
invokeResetMethod
in interface SWRLBuiltInLibrary
- Throws:
BuiltInException
invokeBuiltInMethod
public boolean invokeBuiltInMethod(Method method,
SWRLRuleEngineBridge bridge,
String ruleName,
String prefix,
String builtInMethodName,
int builtInIndex,
boolean isInConsequent,
List<BuiltInArgument> arguments)
throws BuiltInException
- Specified by:
invokeBuiltInMethod
in interface SWRLBuiltInLibrary
- Throws:
BuiltInException
Submit a bug report or feature request
Copyright (c) 1998-2009 Stanford University.