Interface MathMLSemanticsElement

All Superinterfaces:
Element, MathMLElement, Node

public interface MathMLSemanticsElement extends MathMLElement
This interface represents the MathML MathMLSemanticsElement element.
Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Method Details

    • getBody

      MathMLElement getBody()
      This interface represents the MathML MathMLSemanticsElement element.
      Returns:
      the requested attribute or element
    • setBody

      void setBody(MathMLElement body)
      This interface represents the MathML MathMLSemanticsElement element.
      Parameters:
      body - the value to set
    • getNAnnotations

      int getNAnnotations()
      This interface represents the MathML MathMLSemanticsElement element.
      Returns:
      the requested attribute or element
    • getAnnotation

      MathMLElement getAnnotation(int index)
      This interface represents the MathML MathMLSemanticsElement element.
      Parameters:
      index - the value to set
      Returns:
      the requested attribute or element
    • insertAnnotation

      MathMLElement insertAnnotation(MathMLElement newAnnotation, int index) throws DOMException
      This interface represents the MathML MathMLSemanticsElement element.
      Parameters:
      newAnnotation - the value to set
      index - the value to set
      Returns:
      the requested attribute or element
      Throws:
      DOMException - if an error occurs
    • setAnnotation

      MathMLElement setAnnotation(MathMLElement newAnnotation, int index) throws DOMException
      This interface represents the MathML MathMLSemanticsElement element.
      Parameters:
      newAnnotation - the value to set
      index - the value to set
      Returns:
      the requested attribute or element
      Throws:
      DOMException - if an error occurs
    • deleteAnnotation

      void deleteAnnotation(int index)
      This interface represents the MathML MathMLSemanticsElement element.
      Parameters:
      index - the value to set
    • removeAnnotation

      MathMLElement removeAnnotation(int index)
      This interface represents the MathML MathMLSemanticsElement element.
      Parameters:
      index - the value to set
      Returns:
      the requested attribute or element