Interface MathMLCaseElement

All Superinterfaces:
Element, MathMLContentElement, MathMLElement, Node

public interface MathMLCaseElement extends MathMLContentElement
The piece element represents one of a sequence of cases used in the piecewise definition of a function. It contains two child elements, each represented by a MathMLContentElement. The first child determines the subset of the domain affected, normally by giving a condition to be satisfied. The second gives the value of the function over the indicated subset of its domain.
  • Method Details

    • getCaseCondition

      MathMLContentElement getCaseCondition()
      Accesses the MathMLContentElement representing the condition to be satisfied in order for this branch of the piecewise definition to be used.
      Returns:
      value of the caseCondition attribute.
    • setCaseCondition

      void setCaseCondition(MathMLContentElement caseCondition)
      setter for the caseCondition attribute.
      Parameters:
      caseCondition - new value for caseCondition.
      See Also:
    • getCaseValue

      MathMLContentElement getCaseValue()
      Accesses the MathMLContentElement representing the value to be taken by the piecewise function when the condition described by caseCondition is true.
      Returns:
      value of the caseValue attribute.
    • setCaseValue

      void setCaseValue(MathMLContentElement caseValue)
      setter for the caseValue attribute.
      Parameters:
      caseValue - new value for caseValue.
      See Also: