Coverage Report - net.sourceforge.jeuclid.elements.presentation.table.AbstractTableRow
 
Classes in this File Line Coverage Branch Coverage Complexity
AbstractTableRow
37%
3/8
N/A
1,833
 
 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: AbstractTableRow.java,v bc1d5fde7b73 2009/06/01 14:40:54 maxberger $ */
 18  
 
 19  
 package net.sourceforge.jeuclid.elements.presentation.table;
 20  
 
 21  
 import org.apache.batik.dom.AbstractDocument;
 22  
 import org.w3c.dom.mathml.MathMLNodeList;
 23  
 import org.w3c.dom.mathml.MathMLTableCellElement;
 24  
 import org.w3c.dom.mathml.MathMLTableRowElement;
 25  
 
 26  
 /**
 27  
  * Abstract class for table rows with and without label.
 28  
  * 
 29  
  * @version $Revision: bc1d5fde7b73 $
 30  
  */
 31  
 public abstract class AbstractTableRow extends AbstractTableElement implements
 32  
         MathMLTableRowElement {
 33  
 
 34  
     /**
 35  
      * Default constructor. Sets MathML Namespace.
 36  
      * 
 37  
      * @param qname
 38  
      *            Qualified name.
 39  
      * @param odoc
 40  
      *            Owner Document.
 41  
      */
 42  
     public AbstractTableRow(final String qname, final AbstractDocument odoc) {
 43  8569
         super(qname, odoc);
 44  8569
         this.setDefaultMathAttribute(Mtable.ATTR_GROUPALIGN, "");
 45  8569
     }
 46  
 
 47  
     /** {@inheritDoc} */
 48  
     public void deleteCell(final int index) {
 49  0
         throw new UnsupportedOperationException();
 50  
     }
 51  
 
 52  
     /** {@inheritDoc} */
 53  
     public MathMLNodeList getCells() {
 54  0
         throw new UnsupportedOperationException();
 55  
     }
 56  
 
 57  
     /** {@inheritDoc} */
 58  
     public MathMLTableCellElement insertCell(
 59  
             final MathMLTableCellElement newCell, final int index) {
 60  0
         throw new UnsupportedOperationException();
 61  
     }
 62  
 
 63  
     /** {@inheritDoc} */
 64  
     public MathMLTableCellElement insertEmptyCell(final int index) {
 65  0
         throw new UnsupportedOperationException();
 66  
     }
 67  
 
 68  
     /** {@inheritDoc} */
 69  
     public MathMLTableCellElement setCell(final MathMLTableCellElement newCell,
 70  
             final int index) {
 71  0
         throw new UnsupportedOperationException();
 72  
     }
 73  
 
 74  
 }