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 space element mspace. Note that this is not derived from
27 * MathMLPresentationToken, despite the fact that mspace is classified as a
28 * token element, since it does not carry the attributes declared for
29 * MathMLPresentationToken.
30 *
31 *
32 */
33 public interface MathMLSpaceElement extends MathMLPresentationElement {
34 /**
35 * A string of the form number h-unit; represents the width attribute for
36 * the mspace element, if specified.
37 *
38 * @return value of the width attribute.
39 */
40 String getWidth();
41
42 /**
43 * setter for the width attribute.
44 *
45 * @param width
46 * new value for width.
47 * @see #getWidth()
48 */
49 void setWidth(String width);
50
51 /**
52 * A string of the form number v-unit; represents the height attribute for
53 * the mspace element, if specified.
54 *
55 * @return value of the height attribute.
56 */
57 String getHeight();
58
59 /**
60 * setter for the height attribute.
61 *
62 * @param height
63 * new value for height.
64 * @see #getHeight()
65 */
66 void setHeight(String height);
67
68 /**
69 * A string of the form number v-unit; represents the depth attribute for
70 * the mspace element, if specified.
71 *
72 * @return value of the depth attribute.
73 */
74 String getDepth();
75
76 /**
77 * setter for the depth attribute.
78 *
79 * @param depth
80 * new value for depth.
81 * @see #getDepth()
82 */
83 void setDepth(String depth);
84
85 /**
86 * One of the strings auto, newline, indentingnewline, nobreak, goodbreak
87 * and badbreak. This attribute gives a linebreaking hint to the renderer.
88 *
89 * @return value of the linebreak attribute.
90 */
91 String getLinebreak();
92
93 /**
94 * setter for the linebreak attribute.
95 *
96 * @param linebreak
97 * new value for linebreak.
98 * @see #getLinebreak()
99 */
100 void setLinebreak(String linebreak);
101 };