1 /*
2 * Copyright 2007 - 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 package org.w3c.dom.mathml;
17
18 /*
19 * Please note: This file was automatically generated from the source of the
20 * MathML specification. Do not edit it. If there are errors or missing
21 * elements, please correct the stylesheet instead.
22 */
23
24 /**
25 * This interface extends the MathMLTableRowElement interface to represent the
26 * mlabeledtr element . Note that the presence of a label causes the indexth
27 * child node to differ from the index-th cell!
28 *
29 *
30 */
31 public interface MathMLLabeledRowElement extends MathMLTableRowElement {
32 /**
33 * A MathMLElement representing the label of this row. Note that
34 * retrieving this should have the same effect as a call to
35 * Node::getfirstChild(), while setting it should have the same effect as
36 * Node::replaceChild(Node::getfirstChild()).
37 *
38 * @return value of the label attribute.
39 */
40 MathMLElement getLabel();
41
42 /**
43 * setter for the label attribute.
44 *
45 * @param label
46 * new value for label.
47 * @see #getLabel()
48 * @throws DOMException
49 * NO_MODIFICATION_ALLOWED_ERR: Raised if this MathMLElement
50 * or the new MathMLElement is read-only.
51 */
52 void setLabel(MathMLElement label);
53 };