001 /* 002 * Copyright 2007 - 2007 JEuclid, http://jeuclid.sf.net 003 * 004 * Licensed under the Apache License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.apache.org/licenses/LICENSE-2.0 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016 package org.w3c.dom.mathml; 017 018 import org.w3c.dom.Element; 019 020 /* 021 * Please note: This file was automatically generated from the source of the 022 * MathML specification. Do not edit it. If there are errors or missing 023 * elements, please correct the stylesheet instead. 024 */ 025 026 /** 027 * All MathML element interfaces derive from this object, which derives from 028 * the basic DOM interface Element. 029 * 030 */ 031 public interface MathMLElement extends Element { 032 /** 033 * The class attribute of the element. See the discussion elsewhere in 034 * this document of the class attribute; see also the HTML definition of 035 * this attribute. 036 * 037 * @return value of the className attribute. 038 */ 039 String getClassName(); 040 041 /** 042 * setter for the className attribute. 043 * 044 * @param className 045 * new value for className. 046 * @see #getClassName() 047 */ 048 void setClassName(String className); 049 050 /** 051 * A string identifying the element's style attribute. 052 * 053 * @return value of the mathElementStyle attribute. 054 */ 055 String getMathElementStyle(); 056 057 /** 058 * setter for the mathElementStyle attribute. 059 * 060 * @param mathElementStyle 061 * new value for mathElementStyle. 062 * @see #getMathElementStyle() 063 */ 064 void setMathElementStyle(String mathElementStyle); 065 066 /** 067 * The element's identifier. See the discussion elsewhere in this document 068 * of the id attribute; see also the HTML definition. 069 * 070 * @return value of the id attribute. 071 */ 072 String getId(); 073 074 /** 075 * setter for the id attribute. 076 * 077 * @param id 078 * new value for id. 079 * @see #getId() 080 */ 081 void setId(String id); 082 083 /** 084 * The xref attribute of the element. See the discussion elsewhere in this 085 * document of the xref attribute. 086 * 087 * @return value of the xref attribute. 088 */ 089 String getXref(); 090 091 /** 092 * setter for the xref attribute. 093 * 094 * @param xref 095 * new value for xref. 096 * @see #getXref() 097 */ 098 void setXref(String xref); 099 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 };