edu.stanford.smi.protegex.owl.swrl.parser
Class SWRLParser
java.lang.Object
edu.stanford.smi.protegex.owl.swrl.parser.SWRLParser
public class SWRLParser
- extends Object
- Author:
- Martin O'Connor , Holger Knublauch
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AND_CHAR
public static final char AND_CHAR
- See Also:
- Constant Field Values
IMP_CHAR
public static final char IMP_CHAR
- See Also:
- Constant Field Values
delimiters
public static final String delimiters
- See Also:
- Constant Field Values
SWRLParser
public SWRLParser(OWLModel owlModel)
setParseOnly
public void setParseOnly(boolean parseOnly)
isCorrectAndIncomplete
public boolean isCorrectAndIncomplete(String rule)
- If the rule is correct and incomplete return 'true'; if the rule has errors or is correct and complete, return 'false'.
parse
public SWRLImp parse(String rule)
throws SWRLParseException
- Throws:
SWRLParseException
parse
public SWRLImp parse(String rule,
SWRLImp imp)
throws SWRLParseException
- Throws:
SWRLParseException
Submit a bug report or feature request
Copyright (c) 1998-2009 Stanford University.