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 fraction element mfrac.
027     * 
028     * 
029     */
030    public interface MathMLFractionElement extends MathMLPresentationElement {
031        /**
032         * A string representing the linethickness attribute of the mfrac, if
033         * specified.
034         * 
035         * @return value of the linethickness attribute.
036         */
037        String getLinethickness();
038    
039        /**
040         * setter for the linethickness attribute.
041         * 
042         * @param linethickness
043         *            new value for linethickness.
044         * @see #getLinethickness()
045         */
046        void setLinethickness(String linethickness);
047    
048        /**
049         * One of the strings left, center and right. Represents the numalign
050         * attribute of the mfrac, if specified.
051         * 
052         * @return value of the numalign attribute.
053         */
054        String getNumalign();
055    
056        /**
057         * setter for the numalign attribute.
058         * 
059         * @param numalign
060         *            new value for numalign.
061         * @see #getNumalign()
062         */
063        void setNumalign(String numalign);
064    
065        /**
066         * One of the strings left, center and right. Represents the denomalign
067         * attribute of the mfrac, if specified.
068         * 
069         * @return value of the denomalign attribute.
070         */
071        String getDenomalign();
072    
073        /**
074         * setter for the denomalign attribute.
075         * 
076         * @param denomalign
077         *            new value for denomalign.
078         * @see #getDenomalign()
079         */
080        void setDenomalign(String denomalign);
081    
082        /**
083         * One of the strings true and false. Represents the bevelled attribute of
084         * the mfrac, if specified.
085         * 
086         * @return value of the bevelled attribute.
087         */
088        String getBevelled();
089    
090        /**
091         * setter for the bevelled attribute.
092         * 
093         * @param bevelled
094         *            new value for bevelled.
095         * @see #getBevelled()
096         */
097        void setBevelled(String bevelled);
098    
099        /**
100         * The first child MathMLElement of the MathMLFractionElement; represents
101         * the numerator of the represented fraction.
102         * 
103         * @return value of the numerator attribute.
104         */
105        MathMLElement getNumerator();
106    
107        /**
108         * setter for the numerator attribute.
109         * 
110         * @param numerator
111         *            new value for numerator.
112         * @see #getNumerator()
113         */
114        void setNumerator(MathMLElement numerator);
115    
116        /**
117         * The second child MathMLElement of the MathMLFractionElement; represents
118         * the denominator of the represented fraction.
119         * 
120         * @return value of the denominator attribute.
121         */
122        MathMLElement getDenominator();
123    
124        /**
125         * setter for the denominator attribute.
126         * 
127         * @param denominator
128         *            new value for denominator.
129         * @see #getDenominator()
130         */
131        void setDenominator(MathMLElement denominator);
132    };