Coverage Report - org.w3c.dom.mathml.MathMLCaseElement
 
Classes in this File Line Coverage Branch Coverage Complexity
MathMLCaseElement
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  
  * The piece element represents one of a sequence of cases used in the
 26  
  * piecewise definition of a function. It contains two child elements, each
 27  
  * represented by a MathMLContentElement. The first child determines the
 28  
  * subset of the domain affected, normally by giving a condition to be
 29  
  * satisfied. The second gives the value of the function over the indicated
 30  
  * subset of its domain.
 31  
  * 
 32  
  */
 33  
 public interface MathMLCaseElement extends MathMLContentElement {
 34  
     /**
 35  
      * Accesses the MathMLContentElement representing the condition to be
 36  
      * satisfied in order for this branch of the piecewise definition to be
 37  
      * used.
 38  
      * 
 39  
      * @return value of the caseCondition attribute.
 40  
      */
 41  
     MathMLContentElement getCaseCondition();
 42  
 
 43  
     /**
 44  
      * setter for the caseCondition attribute.
 45  
      * 
 46  
      * @param caseCondition
 47  
      *            new value for caseCondition.
 48  
      * @see #getCaseCondition()
 49  
      */
 50  
     void setCaseCondition(MathMLContentElement caseCondition);
 51  
 
 52  
     /**
 53  
      * Accesses the MathMLContentElement representing the value to be taken by
 54  
      * the piecewise function when the condition described by caseCondition is
 55  
      * true.
 56  
      * 
 57  
      * @return value of the caseValue attribute.
 58  
      */
 59  
     MathMLContentElement getCaseValue();
 60  
 
 61  
     /**
 62  
      * setter for the caseValue attribute.
 63  
      * 
 64  
      * @param caseValue
 65  
      *            new value for caseValue.
 66  
      * @see #getCaseValue()
 67  
      */
 68  
     void setCaseValue(MathMLContentElement caseValue);
 69  
 };