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 * The interval element is used to represent simple mathematical intervals on
26 * the real number line. It contains either two child elements that evaluate
27 * to real numbers or one child element that is a condition for defining
28 * membership in the interval.
29 *
30 *
31 */
32 public interface MathMLIntervalElement extends MathMLContentElement {
33 /**
34 * A string with value open, closed, open-closed or closed-open. The
35 * default value is closed.
36 *
37 * @return value of the closure attribute.
38 */
39 String getClosure();
40
41 /**
42 * setter for the closure attribute.
43 *
44 * @param closure
45 * new value for closure.
46 * @see #getClosure()
47 */
48 void setClosure(String closure);
49
50 /**
51 * A MathMLContentElement representing the real number defining the start
52 * of the interval. If end has not already been set, it becomes the same
53 * as start until set otherwise.
54 *
55 * @return value of the start attribute.
56 */
57 MathMLContentElement getStart();
58
59 /**
60 * setter for the start attribute.
61 *
62 * @param start
63 * new value for start.
64 * @see #getStart()
65 */
66 void setStart(MathMLContentElement start);
67
68 /**
69 * A MathMLContentElement representing the real number defining the end of
70 * the interval. If start has not already been set, it becomes the same as
71 * end until set otherwise.
72 *
73 * @return value of the end attribute.
74 */
75 MathMLContentElement getEnd();
76
77 /**
78 * setter for the end attribute.
79 *
80 * @param end
81 * new value for end.
82 * @see #getEnd()
83 */
84 void setEnd(MathMLContentElement end);
85 };