Clover coverage report - JBind Project
Coverage timestamp: Fr Mai 28 2004 11:17:36 CEST
file stats: LOC: 63   Methods: 11
NCLOC: 40   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
DomDocumentFragment.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.dom3.types.IDomDocument;
 13   
 import org.jbind.xml.dom3.types.IDomDocumentFragment;
 14   
 import org.jbind.xml.dom3.types.IDomNodeList;
 15   
 import org.jbind.xml.dom3.types.IDomVisitor;
 16   
 import org.w3c.dom.Node;
 17   
 
 18   
 public class DomDocumentFragment extends DomNonAttrOrElm implements IDomDocumentFragment {
 19   
 
 20  0
   public DomDocumentFragment(IDomDocument aDomDocument) {
 21  0
     super(aDomDocument);
 22   
   }
 23   
 
 24  0
   public DomDocumentFragment(IDomDocumentFragment aDomDocumentFragment, boolean aDeep) {
 25  0
     super(aDomDocumentFragment, aDeep);
 26   
   }
 27   
 
 28  0
   public String getNodeName() {
 29  0
     return "document-fragment";
 30   
   }
 31   
 
 32  0
   public short getNodeType() {
 33  0
     return DOCUMENT_FRAGMENT_NODE;
 34   
   }
 35   
 
 36  0
   public Node cloneNode(boolean aDeep) {
 37  0
     return new DomDocumentFragment(this, aDeep);
 38   
   }
 39   
 
 40  0
   public IDomNodeList doCloneChildNodes(IDomNodeList aDomNodeList, boolean aDeep) {
 41  0
     return new DomNodeList(aDomNodeList, aDeep);
 42   
   }
 43   
 
 44  0
   public String getNodeValue() throws DomException {
 45  0
     return null;
 46   
   }
 47   
 
 48  0
   public String getTextContent() {
 49  0
     return collectTextContent(myChildNodes);
 50   
   }
 51   
 
 52  0
   public void setNodeValue(String aString) throws DomException {
 53   
     // The specification says that setting the node value of a document fragment has no effect
 54   
   }
 55   
 
 56  0
   protected void doBeforeAccept(IDomVisitor aDomVisitor) {
 57  0
     aDomVisitor.visitDocumentFragmentStart(this);
 58   
   }
 59  0
   protected void doAfterAccept(IDomVisitor aDomVisitor) {
 60  0
     aDomVisitor.visitDocumentFragmentEnd(this);
 61   
   }
 62   
 }
 63