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: Mrow.java,v bc1d5fde7b73 2009/06/01 14:40:54 maxberger $ */ 018 019 package net.sourceforge.jeuclid.elements.presentation.general; 020 021 import net.sourceforge.jeuclid.elements.presentation.AbstractContainer; 022 023 import org.apache.batik.dom.AbstractDocument; 024 import org.w3c.dom.Node; 025 026 /** 027 * This class presents a row. 028 * 029 * @version $Revision: bc1d5fde7b73 $ 030 */ 031 public final class Mrow extends AbstractContainer { 032 033 /** 034 * The XML element from this class. 035 */ 036 public static final String ELEMENT = "mrow"; 037 038 private static final long serialVersionUID = 1L; 039 040 /** 041 * Default constructor. Sets MathML Namespace. 042 * 043 * @param qname 044 * Qualified name. 045 * @param odoc 046 * Owner Document. 047 */ 048 public Mrow(final String qname, final AbstractDocument odoc) { 049 super(qname, odoc); 050 } 051 052 /** {@inheritDoc} */ 053 @Override 054 protected Node newNode() { 055 return new Mrow(this.nodeName, this.ownerDocument); 056 } 057 058 }