Protégé-OWL 3.4

edu.stanford.smi.protegex.owl.swrl.bridge.builtins.swrlx
Class SWRLBuiltInLibraryImpl

java.lang.Object
  extended by edu.stanford.smi.protegex.owl.swrl.bridge.builtins.AbstractSWRLBuiltInLibrary
      extended by edu.stanford.smi.protegex.owl.swrl.bridge.builtins.swrlx.SWRLBuiltInLibraryImpl
All Implemented Interfaces:
SWRLBuiltInLibrary

public class SWRLBuiltInLibraryImpl
extends AbstractSWRLBuiltInLibrary

Implementations library for SWRL Extensions built-in methods. See here for documentation on this library. See here for documentation on defining SWRL built-in libraries.


Constructor Summary
SWRLBuiltInLibraryImpl()
           
 
Method Summary
 boolean createOWLThing(List<BuiltInArgument> arguments)
           
 boolean makeOWLClass(List<BuiltInArgument> arguments)
          For every pattern of second and subsequent arguments, create an OWL anonymous class and bind it to the first argument.
 boolean makeOWLIndividual(List<BuiltInArgument> arguments)
          For every pattern of second and subsequent arguments, create an OWL individual of type OWL:Thing and bind it to the first argument.
 boolean makeOWLThing(List<BuiltInArgument> arguments)
           
 void reset()
           
 
Methods inherited from class edu.stanford.smi.protegex.owl.swrl.bridge.builtins.AbstractSWRLBuiltInLibrary
getInvokingBridge, getInvokingBuiltInIndex, getInvokingRuleName, getIsInConsequent, getLibraryName, invokeBuiltInMethod, invokeResetMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SWRLBuiltInLibraryImpl

public SWRLBuiltInLibraryImpl()
Method Detail

reset

public void reset()
Specified by:
reset in interface SWRLBuiltInLibrary
Specified by:
reset in class AbstractSWRLBuiltInLibrary

makeOWLClass

public boolean makeOWLClass(List<BuiltInArgument> arguments)
                     throws BuiltInException
For every pattern of second and subsequent arguments, create an OWL anonymous class and bind it to the first argument. If the first argument is already bound when the built-in is called, this method returns true.

Throws:
BuiltInException

makeOWLIndividual

public boolean makeOWLIndividual(List<BuiltInArgument> arguments)
                          throws BuiltInException
For every pattern of second and subsequent arguments, create an OWL individual of type OWL:Thing and bind it to the first argument. If the first argument is already bound when the built-in is called, this method returns true.

Throws:
BuiltInException

makeOWLThing

public boolean makeOWLThing(List<BuiltInArgument> arguments)
                     throws BuiltInException
Throws:
BuiltInException

createOWLThing

public boolean createOWLThing(List<BuiltInArgument> arguments)
                       throws BuiltInException
Throws:
BuiltInException

Protégé-OWL 3.4

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