001 /*
002 * Copyright 2007 - 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 package org.w3c.dom.mathml;
017
018 /*
019 * Please note: This file was automatically generated from the source of the
020 * MathML specification. Do not edit it. If there are errors or missing
021 * elements, please correct the stylesheet instead.
022 */
023
024 /**
025 * This interface extends the MathMLTableRowElement interface to represent the
026 * mlabeledtr element . Note that the presence of a label causes the indexth
027 * child node to differ from the index-th cell!
028 *
029 *
030 */
031 public interface MathMLLabeledRowElement extends MathMLTableRowElement {
032 /**
033 * A MathMLElement representing the label of this row. Note that
034 * retrieving this should have the same effect as a call to
035 * Node::getfirstChild(), while setting it should have the same effect as
036 * Node::replaceChild(Node::getfirstChild()).
037 *
038 * @return value of the label attribute.
039 */
040 MathMLElement getLabel();
041
042 /**
043 * setter for the label attribute.
044 *
045 * @param label
046 * new value for label.
047 * @see #getLabel()
048 * @throws DOMException
049 * NO_MODIFICATION_ALLOWED_ERR: Raised if this MathMLElement
050 * or the new MathMLElement is read-only.
051 */
052 void setLabel(MathMLElement label);
053 };