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 MathMLPresentationElement interface for the
026     * MathML radical and square root elements mroot and msqrt.
027     * 
028     * 
029     */
030    public interface MathMLRadicalElement extends MathMLPresentationElement {
031        /**
032         * The first child MathMLElement of the MathMLRadicalElement; represents
033         * the base of the represented radical.
034         * 
035         * @return value of the radicand attribute.
036         */
037        MathMLElement getRadicand();
038    
039        /**
040         * setter for the radicand attribute.
041         * 
042         * @param radicand
043         *            new value for radicand.
044         * @see #getRadicand()
045         */
046        void setRadicand(MathMLElement radicand);
047    
048        /**
049         * The second child MathMLElement of the MathMLRadicalElement; represents
050         * the index of the represented radical. This must be null for msqrt
051         * elements.
052         * 
053         * @return value of the index attribute.
054         */
055        MathMLElement getIndex();
056    
057        /**
058         * setter for the index attribute.
059         * 
060         * @param index
061         *            new value for index.
062         * @see #getIndex()
063         */
064        void setIndex(MathMLElement index);
065    };