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 cn element is used to specify actual numeric constants.
26 *
27 *
28 */
29 public interface MathMLCnElement extends MathMLContentToken {
30 /**
31 * Values include, but are not restricted to, e-notation, integer,
32 * rational, real, float, complex, complex-polar, complex-cartesian, and
33 * constant.
34 *
35 * @return value of the type attribute.
36 */
37 String getType();
38
39 /**
40 * setter for the type attribute.
41 *
42 * @param type
43 * new value for type.
44 * @see #getType()
45 */
46 void setType(String type);
47
48 /**
49 * A string representing an integer between 2 and 36; the base of the
50 * numerical representation.
51 *
52 * @return value of the base attribute.
53 */
54 String getBase();
55
56 /**
57 * setter for the base attribute.
58 *
59 * @param base
60 * new value for base.
61 * @see #getBase()
62 */
63 void setBase(String base);
64
65 /**
66 * The number of sep-separated arguments.
67 *
68 * @return value of the nargs attribute.
69 */
70 int getNargs();
71 };