Coverage Report - org.w3c.dom.mathml.MathMLPresentationToken
 
Classes in this File Line Coverage Branch Coverage Complexity
MathMLPresentationToken
N/A
N/A
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  
 /*
 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 extends the MathMLElement interface to include access for
 26  
  * attributes specific to text presentation. It serves as the base class for
 27  
  * all MathML presentation token elements. Access to the body of the element
 28  
  * is via the nodeValue attribute inherited from Node. Elements that expose
 29  
  * only the core presentation token attributes are directly supported by this
 30  
  * object. These elements are:
 31  
  * 
 32  
  * mi
 33  
  * 
 34  
  * 
 35  
  * mn
 36  
  * 
 37  
  * 
 38  
  * mtext
 39  
  * 
 40  
  * 
 41  
  * 
 42  
  * 
 43  
  * 
 44  
  */
 45  
 public interface MathMLPresentationToken extends MathMLPresentationElement {
 46  
     /**
 47  
      * The mathvariant attribute for the element, if specified. One of the
 48  
      * values normal, bold, italic, bold-italic, double-struck, bold-fraktur,
 49  
      * script, bold-script, fraktur, sans-serif, bold-sans-serif,
 50  
      * sans-serif-italic, sans-serif-bold-italic, or monospace.
 51  
      * 
 52  
      * @return value of the mathvariant attribute.
 53  
      */
 54  
     String getMathvariant();
 55  
 
 56  
     /**
 57  
      * setter for the mathvariant attribute.
 58  
      * 
 59  
      * @param mathvariant
 60  
      *            new value for mathvariant.
 61  
      * @see #getMathvariant()
 62  
      */
 63  
     void setMathvariant(String mathvariant);
 64  
 
 65  
     /**
 66  
      * The mathsize attribute for the element, if specified. Either small,
 67  
      * normal or big, or of the form number v-unit.
 68  
      * 
 69  
      * @return value of the mathsize attribute.
 70  
      */
 71  
     String getMathsize();
 72  
 
 73  
     /**
 74  
      * setter for the mathsize attribute.
 75  
      * 
 76  
      * @param mathsize
 77  
      *            new value for mathsize.
 78  
      * @see #getMathsize()
 79  
      */
 80  
     void setMathsize(String mathsize);
 81  
 
 82  
     /**
 83  
      * The mathcolor attribute for the element, if specified. The DOMString
 84  
      * returned should be in one of the forms "#rgb" or "#rrggbb", or should
 85  
      * be an html-color-name, as specified in .
 86  
      * 
 87  
      * @return value of the mathcolor attribute.
 88  
      */
 89  
     String getMathcolor();
 90  
 
 91  
     /**
 92  
      * setter for the mathcolor attribute.
 93  
      * 
 94  
      * @param mathcolor
 95  
      *            new value for mathcolor.
 96  
      * @see #getMathcolor()
 97  
      */
 98  
     void setMathcolor(String mathcolor);
 99  
 
 100  
     /**
 101  
      * The mathbackground attribute for the element, if specified. The
 102  
      * DOMString returned should be in one of the forms "#rgb" or "#rrggbb",
 103  
      * or an html-color-name, as specified in , or the keyword "transparent".
 104  
      * 
 105  
      * @return value of the mathbackground attribute.
 106  
      */
 107  
     String getMathbackground();
 108  
 
 109  
     /**
 110  
      * setter for the mathbackground attribute.
 111  
      * 
 112  
      * @param mathbackground
 113  
      *            new value for mathbackground.
 114  
      * @see #getMathbackground()
 115  
      */
 116  
     void setMathbackground(String mathbackground);
 117  
 
 118  
     /**
 119  
      * Returns the child Nodes of the element. These should consist only of
 120  
      * Text nodes, MathMLGlyphElements, and MathMLAlignMarkElements. Should
 121  
      * behave the same as the base class's Node::childNodes attribute;
 122  
      * however, it is provided here for clarity.
 123  
      * 
 124  
      * @return value of the contents attribute.
 125  
      */
 126  
     MathMLNodeList getContents();
 127  
 };