001 /* 002 * Copyright 2002 - 2007 JEuclid, http://jeuclid.sf.net 003 * 004 * Licensed under the Apache License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.apache.org/licenses/LICENSE-2.0 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016 017 /* $Id: Mtr.java,v bc1d5fde7b73 2009/06/01 14:40:54 maxberger $ */ 018 019 package net.sourceforge.jeuclid.elements.presentation.table; 020 021 import org.apache.batik.dom.AbstractDocument; 022 import org.w3c.dom.Node; 023 024 /** 025 * This class presents a row in MathTable. 026 * 027 * @version $Revision: bc1d5fde7b73 $ 028 */ 029 public final class Mtr extends AbstractTableRow { 030 031 /** 032 * The XML element from this class. 033 */ 034 public static final String ELEMENT = "mtr"; 035 036 private static final long serialVersionUID = 1L; 037 038 /** 039 * Default constructor. Sets MathML Namespace. 040 * 041 * @param qname 042 * Qualified name. 043 * @param odoc 044 * Owner Document. 045 */ 046 public Mtr(final String qname, final AbstractDocument odoc) { 047 super(qname, odoc); 048 } 049 050 /** {@inheritDoc} */ 051 @Override 052 protected Node newNode() { 053 return new Mtr(this.nodeName, this.ownerDocument); 054 } 055 056 }