| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| MathMLElement |
|
| 1.0;1 |
| 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 | import org.w3c.dom.Element; | |
| 19 | ||
| 20 | /* | |
| 21 | * Please note: This file was automatically generated from the source of the | |
| 22 | * MathML specification. Do not edit it. If there are errors or missing | |
| 23 | * elements, please correct the stylesheet instead. | |
| 24 | */ | |
| 25 | ||
| 26 | /** | |
| 27 | * All MathML element interfaces derive from this object, which derives from | |
| 28 | * the basic DOM interface Element. | |
| 29 | * | |
| 30 | */ | |
| 31 | public interface MathMLElement extends Element { | |
| 32 | /** | |
| 33 | * The class attribute of the element. See the discussion elsewhere in | |
| 34 | * this document of the class attribute; see also the HTML definition of | |
| 35 | * this attribute. | |
| 36 | * | |
| 37 | * @return value of the className attribute. | |
| 38 | */ | |
| 39 | String getClassName(); | |
| 40 | ||
| 41 | /** | |
| 42 | * setter for the className attribute. | |
| 43 | * | |
| 44 | * @param className | |
| 45 | * new value for className. | |
| 46 | * @see #getClassName() | |
| 47 | */ | |
| 48 | void setClassName(String className); | |
| 49 | ||
| 50 | /** | |
| 51 | * A string identifying the element's style attribute. | |
| 52 | * | |
| 53 | * @return value of the mathElementStyle attribute. | |
| 54 | */ | |
| 55 | String getMathElementStyle(); | |
| 56 | ||
| 57 | /** | |
| 58 | * setter for the mathElementStyle attribute. | |
| 59 | * | |
| 60 | * @param mathElementStyle | |
| 61 | * new value for mathElementStyle. | |
| 62 | * @see #getMathElementStyle() | |
| 63 | */ | |
| 64 | void setMathElementStyle(String mathElementStyle); | |
| 65 | ||
| 66 | /** | |
| 67 | * The element's identifier. See the discussion elsewhere in this document | |
| 68 | * of the id attribute; see also the HTML definition. | |
| 69 | * | |
| 70 | * @return value of the id attribute. | |
| 71 | */ | |
| 72 | String getId(); | |
| 73 | ||
| 74 | /** | |
| 75 | * setter for the id attribute. | |
| 76 | * | |
| 77 | * @param id | |
| 78 | * new value for id. | |
| 79 | * @see #getId() | |
| 80 | */ | |
| 81 | void setId(String id); | |
| 82 | ||
| 83 | /** | |
| 84 | * The xref attribute of the element. See the discussion elsewhere in this | |
| 85 | * document of the xref attribute. | |
| 86 | * | |
| 87 | * @return value of the xref attribute. | |
| 88 | */ | |
| 89 | String getXref(); | |
| 90 | ||
| 91 | /** | |
| 92 | * setter for the xref attribute. | |
| 93 | * | |
| 94 | * @param xref | |
| 95 | * new value for xref. | |
| 96 | * @see #getXref() | |
| 97 | */ | |
| 98 | void setXref(String xref); | |
| 99 | ||
| 100 | /** | |
| 101 | * The xlink:href attribute of the element. See the discussion elsewhere | |
| 102 | * in this document of the xlink:href attribute; see also the definition | |
| 103 | * of this attribute in the XLink specification. | |
| 104 | * | |
| 105 | * @return value of the href attribute. | |
| 106 | */ | |
| 107 | String getHref(); | |
| 108 | ||
| 109 | /** | |
| 110 | * setter for the href attribute. | |
| 111 | * | |
| 112 | * @param href | |
| 113 | * new value for href. | |
| 114 | * @see #getHref() | |
| 115 | */ | |
| 116 | void setHref(String href); | |
| 117 | ||
| 118 | /** | |
| 119 | * The MathMLMathElement corresponding to the nearest math element | |
| 120 | * ancestor of this element. Should be null if this element is a top-level | |
| 121 | * math element. | |
| 122 | * | |
| 123 | * @return value of the ownerMathElement attribute. | |
| 124 | */ | |
| 125 | MathMLMathElement getOwnerMathElement(); | |
| 126 | }; |