Interface MathMLSemanticsElement
- All Superinterfaces:
Element, MathMLElement, Node
This interface represents the MathML MathMLSemanticsElement 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 TypeMethodDescriptionvoiddeleteAnnotation(int index) This interface represents the MathML MathMLSemanticsElement element.getAnnotation(int index) This interface represents the MathML MathMLSemanticsElement element.getBody()This interface represents the MathML MathMLSemanticsElement element.intThis interface represents the MathML MathMLSemanticsElement element.insertAnnotation(MathMLElement newAnnotation, int index) This interface represents the MathML MathMLSemanticsElement element.removeAnnotation(int index) This interface represents the MathML MathMLSemanticsElement element.setAnnotation(MathMLElement newAnnotation, int index) This interface represents the MathML MathMLSemanticsElement element.voidsetBody(MathMLElement body) This interface represents the MathML MathMLSemanticsElement 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
-
getBody
MathMLElement getBody()This interface represents the MathML MathMLSemanticsElement element.- Returns:
- the requested attribute or element
-
setBody
This interface represents the MathML MathMLSemanticsElement element.- Parameters:
body- the value to set
-
getNAnnotations
int getNAnnotations()This interface represents the MathML MathMLSemanticsElement element.- Returns:
- the requested attribute or element
-
getAnnotation
This interface represents the MathML MathMLSemanticsElement element.- Parameters:
index- the value to set- Returns:
- the requested attribute or element
-
insertAnnotation
This interface represents the MathML MathMLSemanticsElement element.- Parameters:
newAnnotation- the value to setindex- the value to set- Returns:
- the requested attribute or element
- Throws:
DOMException- if an error occurs
-
setAnnotation
This interface represents the MathML MathMLSemanticsElement element.- Parameters:
newAnnotation- the value to setindex- the value to set- Returns:
- the requested attribute or element
- Throws:
DOMException- if an error occurs
-
deleteAnnotation
void deleteAnnotation(int index) This interface represents the MathML MathMLSemanticsElement element.- Parameters:
index- the value to set
-
removeAnnotation
This interface represents the MathML MathMLSemanticsElement element.- Parameters:
index- the value to set- Returns:
- the requested attribute or element
-