Clover coverage report - JBind Project
Coverage timestamp: Fr Mai 28 2004 11:17:36 CEST
file stats: LOC: 36   Methods: 3
NCLOC: 19   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
DomDataFactory.java - 0% 0% 0%
 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.dom3.core;
 11   
 
 12   
 import org.jbind.xml.core.bridge.IDataImplFactory;
 13   
 import org.jbind.xml.core.bridge.IDocumentImpl;
 14   
 import org.jbind.xml.core.bridge.IElementImpl;
 15   
 import org.jbind.xml.dom3.types.IDomDocument;
 16   
 import org.jbind.xml.dom3.types.IDomImplementation;
 17   
 
 18   
 public class DomDataFactory implements IDataImplFactory {
 19   
 
 20   
   private IElementImpl myElementFactoryImpl = new ElementFactoryImpl();
 21   
 
 22  0
   public DomDataFactory() {}
 23   
 
 24  0
   public IDocumentImpl createDocumentImpl() {
 25  0
     IDomDocument res = null;
 26  0
     IDomImplementation domImplementation = (IDomImplementation)new DomImplementationSource().getDOMImplementation(null);
 27  0
     res = (IDomDocument)domImplementation.createDocument(null, null, null);
 28  0
     return res;
 29   
   }
 30   
 
 31  0
   public IElementImpl getElementFactoryImpl() {
 32  0
     return myElementFactoryImpl;
 33   
   }
 34   
 
 35   
 }
 36