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 fraction element mfrac.
27 *
28 *
29 */
30 public interface MathMLFractionElement extends MathMLPresentationElement {
31 /**
32 * A string representing the linethickness attribute of the mfrac, if
33 * specified.
34 *
35 * @return value of the linethickness attribute.
36 */
37 String getLinethickness();
38
39 /**
40 * setter for the linethickness attribute.
41 *
42 * @param linethickness
43 * new value for linethickness.
44 * @see #getLinethickness()
45 */
46 void setLinethickness(String linethickness);
47
48 /**
49 * One of the strings left, center and right. Represents the numalign
50 * attribute of the mfrac, if specified.
51 *
52 * @return value of the numalign attribute.
53 */
54 String getNumalign();
55
56 /**
57 * setter for the numalign attribute.
58 *
59 * @param numalign
60 * new value for numalign.
61 * @see #getNumalign()
62 */
63 void setNumalign(String numalign);
64
65 /**
66 * One of the strings left, center and right. Represents the denomalign
67 * attribute of the mfrac, if specified.
68 *
69 * @return value of the denomalign attribute.
70 */
71 String getDenomalign();
72
73 /**
74 * setter for the denomalign attribute.
75 *
76 * @param denomalign
77 * new value for denomalign.
78 * @see #getDenomalign()
79 */
80 void setDenomalign(String denomalign);
81
82 /**
83 * One of the strings true and false. Represents the bevelled attribute of
84 * the mfrac, if specified.
85 *
86 * @return value of the bevelled attribute.
87 */
88 String getBevelled();
89
90 /**
91 * setter for the bevelled attribute.
92 *
93 * @param bevelled
94 * new value for bevelled.
95 * @see #getBevelled()
96 */
97 void setBevelled(String bevelled);
98
99 /**
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 };