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 represents the top-level MathML math element. It may become 26 * useful for interfacing between the Document Object Model objects encoding 27 * an enclosing document and the MathML DOM elements that are its children. It 28 * could also be used for some purposes as a MathML DOM surrogate for a 29 * Document object. For instance, MathML-specific factory methods could be 30 * placed here, as could methods for creating MathML-specific Iterators or 31 * TreeWalkers. However, this functionality is as yet undefined. 32 */ 33 public interface MathMLMathElement extends MathMLElement, MathMLContainer { 34 /** 35 * Represents the macros attribute of the math element. See . 36 * 37 * @return value of the macros attribute. 38 */ 39 String getMacros(); 40 41 /** 42 * setter for the macros attribute. 43 * 44 * @param macros 45 * new value for macros. 46 * @see #getMacros() 47 */ 48 void setMacros(String macros); 49 50 /** 51 * Represents the display attribute of the math element. This value is 52 * either block or inline. See . 53 * 54 * @return value of the display attribute. 55 */ 56 String getDisplay(); 57 58 /** 59 * setter for the display attribute. 60 * 61 * @param display 62 * new value for display. 63 * @see #getDisplay() 64 */ 65 void setDisplay(String display); 66 };