Interface MathMLPiecewiseElement
- All Superinterfaces:
Element, MathMLContentElement, MathMLElement, Node
This interface represents the MathML MathMLPiecewiseElement element.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Field Summary
Fields inherited from interface 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
Modifier and TypeMethodDescriptionvoiddeleteCase(int index) This interface represents the MathML MathMLPiecewiseElement element.getCase(int index) This interface represents the MathML MathMLPiecewiseElement element.getCaseCondition(int index) This interface represents the MathML MathMLPiecewiseElement element.getCaseValue(int index) This interface represents the MathML MathMLPiecewiseElement element.This interface represents the MathML MathMLPiecewiseElement element.This interface represents the MathML MathMLPiecewiseElement element.insertCase(int index, MathMLCaseElement newCase) This interface represents the MathML MathMLPiecewiseElement element.removeCase(int index) This interface represents the MathML MathMLPiecewiseElement element.setCase(int index, MathMLCaseElement newCase) This interface represents the MathML MathMLPiecewiseElement element.setCaseCondition(int index, MathMLContentElement condition) This interface represents the MathML MathMLPiecewiseElement element.setCaseValue(int index, MathMLContentElement value) This interface represents the MathML MathMLPiecewiseElement element.voidsetOtherwise(MathMLContentElement otherwise) This interface represents the MathML MathMLPiecewiseElement element.Methods inherited from interface Element
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNSMethods inherited from interface MathMLElement
getClassName, getHref, getId, getMathElementStyle, getOwnerMathElement, getXref, setClassName, setHref, setId, setMathElementStyle, setXrefMethods inherited from interface 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 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
This interface represents the MathML MathMLPiecewiseElement element.- Parameters:
otherwise- the value to set
-
getCase
This interface represents the MathML MathMLPiecewiseElement element.- Parameters:
index- the value to set- Returns:
- the requested attribute or element
-
setCase
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
This interface represents the MathML MathMLPiecewiseElement element.- Parameters:
index- the value to set- Throws:
DOMException- if an error occurs
-
removeCase
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
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
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
This interface represents the MathML MathMLPiecewiseElement element.- Parameters:
index- the value to setvalue- the value to set- Returns:
- the requested attribute or element
- Throws:
DOMException- if an error occurs
-
getCaseCondition
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
-