Coverage Report - net.sourceforge.jeuclid.elements.presentation.token.Mn
 
Classes in this File Line Coverage Branch Coverage Complexity
Mn
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: Mn.java,v 923658a2b249 2009/09/11 09:57:31 max $ */
 18  
 
 19  
 package net.sourceforge.jeuclid.elements.presentation.token;
 20  
 
 21  
 import org.apache.batik.dom.AbstractDocument;
 22  
 import org.w3c.dom.Node;
 23  
 
 24  
 /**
 25  
  * This class presents numbers in a equation.
 26  
  * 
 27  
  * @version $Revision: 923658a2b249 $
 28  
  */
 29  
 public final class Mn extends AbstractTokenWithTextLayout {
 30  
 
 31  
     /**
 32  
      * The XML element from this class.
 33  
      */
 34  
     public static final String ELEMENT = "mn";
 35  
 
 36  
     private static final long serialVersionUID = 1L;
 37  
 
 38  
     /**
 39  
      * Default constructor. Sets MathML Namespace.
 40  
      * 
 41  
      * @param qname
 42  
      *            Qualified name.
 43  
      * @param odoc
 44  
      *            Owner Document.
 45  
      */
 46  
     public Mn(final String qname, final AbstractDocument odoc) {
 47  16575
         super(qname, odoc);
 48  16575
     }
 49  
 
 50  
     /** {@inheritDoc} */
 51  
     @Override
 52  
     protected Node newNode() {
 53  0
         return new Mn(this.nodeName, this.ownerDocument);
 54  
     }
 55  
 
 56  
 }