Clover coverage report - JBind Project
Coverage timestamp: Fr Mai 28 2004 11:17:36 CEST
file stats: LOC: 32   Methods: 3
NCLOC: 17   Classes: 1
This license of Clover is provided to support the development of JBind only. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover.
 
 Source file Conditionals Statements Methods TOTAL
LocalCheckContext.java - 100% 100% 100%
 1   
 /*
 2   
  * JBind
 3   
  *
 4   
  * Copyright (c) by Stefan Wachter. All rights reserved.
 5   
  *
 6   
  * Usage, modification, and redistribution is subject to license terms that are
 7   
  * available at 'http://www.jbind.org'. The JBind license is like the
 8   
  * 'Apache Software License V 1.1'.
 9   
  */
 10   
 package org.jbind.xml.schema.constraint;
 11   
 
 12   
 import org.jbind.xml.core.constraint.ICheckContext;
 13   
 import org.jbind.xml.core.constraint.IConstraint;
 14   
 import org.jbind.xml.core.data.IAnyTypeData;
 15   
 import org.jbind.xml.msg.IConstraintViolations;
 16   
 
 17   
 public class LocalCheckContext extends CheckContext {
 18   
 
 19  4639
   public LocalCheckContext(IAnyTypeData aData, IConstraintViolations aViolations) {
 20  4639
     super(aData, aViolations);
 21   
   }
 22   
 
 23  2993
   public void check(IConstraint aConstraint) {
 24  2993
     aConstraint.localCheck(this, myData, myViolations);
 25   
   }
 26   
 
 27  97
   public ICheckContext newNestedContext(IAnyTypeData aData) {
 28  97
     LocalCheckContext lcc = new LocalCheckContext(aData, myViolations);
 29  97
     return lcc;
 30   
   }
 31   
 }
 32