org.deri.wsmo4j.logicalexpression.util
Class GetRootUtil

java.lang.Object
  extended by org.deri.wsmo4j.logicalexpression.util.GetRootUtil

public class GetRootUtil
extends Object

Utility class to extract the root/s variable/s from a WSML-DL logical expression.

 Created on Sep 27, 2006
 Committed by $Author: morcen $
 $Source$,
 

Version:
$Revision: 1946 $ $Date: 2007-04-02 15:13:28 +0300 (Mon, 02 Apr 2007) $
Author:
Nathalie Steinmetz, DERI Innsbruck

Constructor Summary
GetRootUtil()
           
 
Method Summary
 org.omwg.ontology.Variable getRootVariable(org.omwg.logicalexpression.LogicalExpression logExpr)
          Validates a given formula and gets the root variable if it is a valid WSML-DL formula.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetRootUtil

public GetRootUtil()
Method Detail

getRootVariable

public org.omwg.ontology.Variable getRootVariable(org.omwg.logicalexpression.LogicalExpression logExpr)
Validates a given formula and gets the root variable if it is a valid WSML-DL formula.

Parameters:
logExpr -
Returns:
root Variable or null, if there is no root variable or if the formula is not valid WSML-DL


Copyright © 2004-2008 Ontotext Lab.. All Rights Reserved.