Clover coverage report - JBind Project
Coverage timestamp: Fr Mai 28 2004 11:17:36 CEST
file stats: LOC: 81   Methods: 18
NCLOC: 61   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
AttributesModelGroupCreator.java - 33,3% 33,3% 33,3%
 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.element;
 11   
 
 12   
 import org.jbind.xml.base.IAttribute;
 13   
 import org.jbind.xml.base.ILocation;
 14   
 import org.jbind.xml.base.ISymbolspace;
 15   
 import org.jbind.xml.core.cmp.IComponent;
 16   
 import org.jbind.xml.core.cmp.IComponentStore;
 17   
 import org.jbind.xml.msg.IConstraintViolations;
 18   
 import org.jbind.xml.schema.cmp.AttrGroupDecl;
 19   
 import org.jbind.xml.schema.instantiation.IComponentJobHelper;
 20   
 import org.jbind.xml.schema.instantiation.IElementHelper;
 21   
 import org.jbind.xml.schema.instantiation.IHasTopLevelJobs;
 22   
 import org.jbind.xml.schema.instantiation.IJobRefs;
 23   
 
 24   
 public class AttributesModelGroupCreator implements IComponentJobHelper {
 25   
 
 26   
   private IAttributeInfos myAttributeInfos;
 27   
 
 28  485
   public AttributesModelGroupCreator(IAttributeInfos anAttributeInfos) {
 29  485
     myAttributeInfos = anAttributeInfos;
 30   
   }
 31   
 
 32  485
   public void collectRefsForCreation(IJobRefs aJobRefs) {
 33  485
     myAttributeInfos.collectRefsForCreation(aJobRefs);
 34   
   }
 35  970
   public void collectRefsForCompletion(IElementHelper anElementHelper, IJobRefs aJobRefs) {}
 36  0
   public void collectRefsForValidation(IElementHelper anElementHelper, IJobRefs aJobRefs) {}
 37   
 
 38  485
   public IComponent createComponent(IElementHelper anElementHelper, IConstraintViolations aViolations) {
 39  485
     AttrGroupDecl res = new AttrGroupDecl(myAttributeInfos.getSourceInfo(), null, null);
 40  485
     myAttributeInfos.applyAttributes(anElementHelper, res, aViolations);
 41  485
     return res;
 42   
   }
 43  485
   public void completeComponent(IElementHelper anElementHelper, IComponent aComponent, IConstraintViolations aViolations) {}
 44   
 
 45  451
   public void addSchemaData(IComponentStore aComponentStore, IComponent aComponent, IConstraintViolations aViolations) {}
 46   
 
 47  0
   public void createAndAddJob(IHasTopLevelJobs aHasTopLevelJobs) {}
 48   
 
 49  0
   public IAttribute getBindingAttribute(String aName) {
 50  0
     return null;
 51   
   }
 52  0
   public IAttribute getLocalBindingAttribute(String aName) {
 53  0
     return null;
 54   
   }
 55  0
   public IAttribute getDefaultedLocalBindingAttribute(String aName) {
 56  0
     return null;
 57   
   }
 58  0
   public String getLocalStringBindingAttribute(String aName) {
 59  0
     return null;
 60   
   }
 61  0
   public String getDefaultedLocalStringBindingAttribute(String aName) {
 62  0
     return null;
 63   
   }
 64  0
   public ILocation getLocation() {
 65  0
     return myAttributeInfos.getSourceInfo().getLocation();
 66   
   }
 67  0
   public String getName() {
 68  0
     return null;
 69   
   }
 70  0
   public String getStringBindingAttribute(String aName) {
 71  0
     return null;
 72   
   }
 73  0
   public ISymbolspace getSymbolSpace() {
 74  0
     return null;
 75   
   }
 76  0
   public boolean isTopLevelComponent() {
 77  0
     return false;
 78   
   }
 79   
 
 80   
 }
 81