Interface MathMLPiecewiseElement

All Superinterfaces:
Element, MathMLContentElement, MathMLElement, Node

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

    • getPieces

      MathMLNodeList getPieces()
      This interface represents the MathML MathMLPiecewiseElement element.
      Returns:
      the requested attribute or element
    • getOtherwise

      MathMLContentElement getOtherwise()
      This interface represents the MathML MathMLPiecewiseElement element.
      Returns:
      the requested attribute or element
    • setOtherwise

      void setOtherwise(MathMLContentElement otherwise)
      This interface represents the MathML MathMLPiecewiseElement element.
      Parameters:
      otherwise - the value to set
    • getCase

      MathMLCaseElement getCase(int index)
      This interface represents the MathML MathMLPiecewiseElement element.
      Parameters:
      index - the value to set
      Returns:
      the requested attribute or element
    • setCase

      MathMLCaseElement setCase(int index, MathMLCaseElement newCase) throws DOMException
      This interface represents the MathML MathMLPiecewiseElement element.
      Parameters:
      index - the index of the case to set.
      newCase - the value to set
      Returns:
      the requested attribute or element
      Throws:
      DOMException - if an error occurs
    • deleteCase

      void deleteCase(int index) throws DOMException
      This interface represents the MathML MathMLPiecewiseElement element.
      Parameters:
      index - the value to set
      Throws:
      DOMException - if an error occurs
    • removeCase

      MathMLCaseElement removeCase(int index) throws DOMException
      This interface represents the MathML MathMLPiecewiseElement element.
      Parameters:
      index - the value to set
      Returns:
      the requested attribute or element
      Throws:
      DOMException - if an error occurs
    • insertCase

      MathMLCaseElement insertCase(int index, MathMLCaseElement newCase) throws DOMException
      This interface represents the MathML MathMLPiecewiseElement element.
      Parameters:
      index - the index of the case to insert before.
      newCase - the value to set
      Returns:
      the requested attribute or element
      Throws:
      DOMException - if an error occurs
    • getCaseValue

      MathMLContentElement getCaseValue(int index) throws DOMException
      This interface represents the MathML MathMLPiecewiseElement element.
      Parameters:
      index - the value to set
      Returns:
      the requested attribute or element
      Throws:
      DOMException - if an error occurs
    • setCaseValue

      MathMLContentElement setCaseValue(int index, MathMLContentElement value) throws DOMException
      This interface represents the MathML MathMLPiecewiseElement element.
      Parameters:
      index - the value to set
      value - the value to set
      Returns:
      the requested attribute or element
      Throws:
      DOMException - if an error occurs
    • getCaseCondition

      MathMLContentElement getCaseCondition(int index) throws DOMException
      This interface represents the MathML MathMLPiecewiseElement element.
      Parameters:
      index - the value to set
      Returns:
      the requested attribute or element
      Throws:
      DOMException - if an error occurs
    • setCaseCondition

      MathMLContentElement setCaseCondition(int index, MathMLContentElement condition) throws DOMException
      This interface represents the MathML MathMLPiecewiseElement element.
      Parameters:
      index - the index of the case condition to set.
      condition - the value to set
      Returns:
      the requested attribute or element
      Throws:
      DOMException - if an error occurs