View Javadoc

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 MathMLPresentationElement interface for the
26   * MathML radical and square root elements mroot and msqrt.
27   * 
28   * 
29   */
30  public interface MathMLRadicalElement extends MathMLPresentationElement {
31      /**
32       * The first child MathMLElement of the MathMLRadicalElement; represents
33       * the base of the represented radical.
34       * 
35       * @return value of the radicand attribute.
36       */
37      MathMLElement getRadicand();
38  
39      /**
40       * setter for the radicand attribute.
41       * 
42       * @param radicand
43       *            new value for radicand.
44       * @see #getRadicand()
45       */
46      void setRadicand(MathMLElement radicand);
47  
48      /**
49       * The second child MathMLElement of the MathMLRadicalElement; represents
50       * the index of the represented radical. This must be null for msqrt
51       * elements.
52       * 
53       * @return value of the index attribute.
54       */
55      MathMLElement getIndex();
56  
57      /**
58       * setter for the index attribute.
59       * 
60       * @param index
61       *            new value for index.
62       * @see #getIndex()
63       */
64      void setIndex(MathMLElement index);
65  };