org.w3c.dom.mathml
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.


Field Summary
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Method Summary
 MathMLContentElement getCaseCondition()
          Accesses the MathMLContentElement representing the condition to be satisfied in order for this branch of the piecewise definition to be used.
 MathMLContentElement getCaseValue()
          Accesses the MathMLContentElement representing the value to be taken by the piecewise function when the condition described by caseCondition is true.
 void setCaseCondition(MathMLContentElement caseCondition)
          setter for the caseCondition attribute.
 void setCaseValue(MathMLContentElement caseValue)
          setter for the caseValue attribute.
 
Methods inherited from interface org.w3c.dom.mathml.MathMLElement
getClassName, getHref, getId, getMathElementStyle, getOwnerMathElement, getXref, setClassName, setHref, setId, setMathElementStyle, setXref
 
Methods inherited from interface org.w3c.dom.Element
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS
 
Methods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
 

Method Detail

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:
getCaseCondition()

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:
getCaseValue()


Copyright © 2002-2010 The JEuclid project. All Rights Reserved.