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 /* 019 * Please note: This file was automatically generated from the source of the 020 * MathML specification. Do not edit it. If there are errors or missing 021 * elements, please correct the stylesheet instead. 022 */ 023 024 /** 025 * This interface represents the top-level MathML math element. It may become 026 * useful for interfacing between the Document Object Model objects encoding 027 * an enclosing document and the MathML DOM elements that are its children. It 028 * could also be used for some purposes as a MathML DOM surrogate for a 029 * Document object. For instance, MathML-specific factory methods could be 030 * placed here, as could methods for creating MathML-specific Iterators or 031 * TreeWalkers. However, this functionality is as yet undefined. 032 */ 033 public interface MathMLMathElement extends MathMLElement, MathMLContainer { 034 /** 035 * Represents the macros attribute of the math element. See . 036 * 037 * @return value of the macros attribute. 038 */ 039 String getMacros(); 040 041 /** 042 * setter for the macros attribute. 043 * 044 * @param macros 045 * new value for macros. 046 * @see #getMacros() 047 */ 048 void setMacros(String macros); 049 050 /** 051 * Represents the display attribute of the math element. This value is 052 * either block or inline. See . 053 * 054 * @return value of the display attribute. 055 */ 056 String getDisplay(); 057 058 /** 059 * setter for the display attribute. 060 * 061 * @param display 062 * new value for display. 063 * @see #getDisplay() 064 */ 065 void setDisplay(String display); 066 };