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 supports the mglyph element .
26 *
27 *
28 */
29 public interface MathMLGlyphElement extends MathMLPresentationElement {
30 /**
31 * A string giving an alternate name for the character. Represents the
32 * mglyph's alt attribute.
33 *
34 * @return value of the alt attribute.
35 */
36 String getAlt();
37
38 /**
39 * setter for the alt attribute.
40 *
41 * @param alt
42 * new value for alt.
43 * @see #getAlt()
44 */
45 void setAlt(String alt);
46
47 /**
48 * A string representing the font family.
49 *
50 * @return value of the fontfamily attribute.
51 */
52 String getFontfamily();
53
54 /**
55 * setter for the fontfamily attribute.
56 *
57 * @param fontfamily
58 * new value for fontfamily.
59 * @see #getFontfamily()
60 */
61 void setFontfamily(String fontfamily);
62
63 /**
64 * An unsigned integer giving the glyph's position within the font.
65 *
66 * @return value of the index attribute.
67 */
68 int getIndex();
69
70 /**
71 * setter for the index attribute.
72 *
73 * @param index
74 * new value for index.
75 * @see #getIndex()
76 */
77 void setIndex(int index);
78 };