Clover coverage report - Maven Clover report
Coverage timestamp: Tue Sep 16 2008 01:16:37 EEST
file stats: LOC: 59   Methods: 4
NCLOC: 19   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
LogicalExpressionImpl.java - 0% 0% 0%
coverage
 1    /*
 2    wsmo4j - a WSMO API and Reference Implementation
 3    Copyright (c) 2006, DERI Innsbruck
 4    This library is free software; you can redistribute it and/or modify it under
 5    the terms of the GNU Lesser General Public License as published by the Free
 6    Software Foundation; either version 2.1 of the License, or (at your option)
 7    any later version.
 8    This library is distributed in the hope that it will be useful, but WITHOUT
 9    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 10    FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 11    details.
 12    You should have received a copy of the GNU Lesser General Public License along
 13    with this library; if not, write to the Free Software Foundation, Inc.,
 14    59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 15    */
 16    package org.deri.wsmo4j.logicalexpression;
 17   
 18   
 19    import org.deri.wsmo4j.io.serializer.wsml.LogExprSerializerWSML;
 20    import org.omwg.logicalexpression.LogicalExpression;
 21    import org.wsmo.common.TopEntity;
 22   
 23   
 24    /**
 25    * This class reunites all Logical Expression
 26    * @author DERI Innsbruck, holger.lausen@deri.org
 27    * @version $Revision: 1885 $ $Date: 2006-11-17 17:07:59 +0200 (Fri, 17 Nov 2006) $
 28    */
 29    public abstract class LogicalExpressionImpl
 30    implements LogicalExpression {
 31   
 32    private String orgString;
 33   
 34  0 public void setStringRepresentation (String le){
 35  0 orgString=le;
 36    }
 37   
 38  0 public String getStringRepresentation (){
 39  0 return orgString;
 40    }
 41   
 42    /**
 43    * @return The String representation of the logical expression
 44    * @see java.lang.Object#toString()
 45    */
 46  0 public String toString() {
 47  0 return new LogExprSerializerWSML(null).serialize(this);
 48    }
 49   
 50    /**
 51    * Returns String representation of a logical expression.
 52    * @return the string representation of the Logical expression
 53    * @param nsHolder namespace container used to abbreviate IRIs to
 54    * sQNames.
 55    */
 56  0 public String toString(TopEntity nsHolder) {
 57  0 return new LogExprSerializerWSML(nsHolder).serialize(this);
 58    }
 59    }