Coverage Report - net.sourceforge.jeuclid.elements.presentation.script.None
 
Classes in this File Line Coverage Branch Coverage Complexity
None
66%
2/3
N/A
1
 
 1  
 /*
 2  
  * Copyright 2002 - 2007 JEuclid, http://jeuclid.sf.net
 3  
  * 
 4  
  * Licensed under the Apache License, Version 2.0 (the "License");
 5  
  * you may not use this file except in compliance with the License.
 6  
  * You may obtain a copy of the License at
 7  
  *
 8  
  *      http://www.apache.org/licenses/LICENSE-2.0
 9  
  *
 10  
  * Unless required by applicable law or agreed to in writing, software
 11  
  * distributed under the License is distributed on an "AS IS" BASIS,
 12  
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 13  
  * See the License for the specific language governing permissions and
 14  
  * limitations under the License.
 15  
  */
 16  
 
 17  
 /* $Id: None.java,v bc1d5fde7b73 2009/06/01 14:40:54 maxberger $ */
 18  
 
 19  
 package net.sourceforge.jeuclid.elements.presentation.script;
 20  
 
 21  
 import net.sourceforge.jeuclid.elements.AbstractInvisibleJEuclidElement;
 22  
 
 23  
 import org.apache.batik.dom.AbstractDocument;
 24  
 import org.w3c.dom.Node;
 25  
 
 26  
 /**
 27  
  * This class represent the empty elements none.
 28  
  * 
 29  
  * @version $Revision: bc1d5fde7b73 $
 30  
  */
 31  
 public final class None extends AbstractInvisibleJEuclidElement {
 32  
 
 33  
     /**
 34  
      * The XML element from this class.
 35  
      */
 36  
     public static final String ELEMENT = "none";
 37  
 
 38  
     private static final long serialVersionUID = 1L;
 39  
 
 40  
     /**
 41  
      * Default constructor. Sets MathML Namespace.
 42  
      * 
 43  
      * @param qname
 44  
      *            Qualified name.
 45  
      * @param odoc
 46  
      *            Owner Document.
 47  
      */
 48  
     public None(final String qname, final AbstractDocument odoc) {
 49  2717
         super(qname, odoc);
 50  2717
     }
 51  
 
 52  
     /** {@inheritDoc} */
 53  
     @Override
 54  
     protected Node newNode() {
 55  0
         return new None(this.nodeName, this.ownerDocument);
 56  
     }
 57  
 }