Interface MathMLSetElement
- All Superinterfaces:
Element, MathMLContainer, MathMLContentContainer, MathMLContentElement, MathMLElement, Node
- All Known Implementing Classes:
MathMLSetElementImpl
This interface represents the
set element in MathML Content.
A set is a collection of distinct elements.- 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 TypeMethodDescriptionbooleanReturnstrueif the set is defined by the explicit listing of its elements.getType()Returns thetypeattribute of this element.voidSets thetypeattribute of this 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 MathMLContainer
deleteArgument, deleteDeclaration, getArgument, getArguments, getDeclaration, getDeclarations, getNArguments, insertArgument, insertDeclaration, removeArgument, removeDeclaration, setArgument, setDeclarationMethods inherited from interface MathMLContentContainer
deleteBoundVariable, getBoundVariable, getCondition, getDomainOfApplication, getMomentAbout, getNBoundVariables, getOpDegree, insertBoundVariable, removeBoundVariable, setBoundVariable, setCondition, setDomainOfApplication, setMomentAbout, setOpDegreeMethods 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
-
getIsExplicit
boolean getIsExplicit()Returnstrueif the set is defined by the explicit listing of its elements.- Returns:
trueif explicit,falseotherwise (e.g., defined by properties).
-
getType
String getType()Returns thetypeattribute of this element.- Returns:
- the type (e.g., "set" or "multiset").
-
setType
Sets thetypeattribute of this element.- Parameters:
type- the type to set.
-