Package org.w3c.dom.mathml
Interface MathMLElement
- All Known Subinterfaces:
JEuclidElement,MathMLActionElement,MathMLAlignGroupElement,MathMLAlignMarkElement,MathMLAnnotationElement,MathMLApplyElement,MathMLBvarElement,MathMLCaseElement,MathMLCiElement,MathMLCnElement,MathMLConditionElement,MathMLContentContainer,MathMLContentElement,MathMLContentToken,MathMLCsymbolElement,MathMLDeclareElement,MathMLEncloseElement,MathMLFencedElement,MathMLFnElement,MathMLFractionElement,MathMLGlyphElement,MathMLIntervalElement,MathMLLabeledRowElement,MathMLLambdaElement,MathMLListElement,MathMLMathElement,MathMLMatrixElement,MathMLMatrixrowElement,MathMLMultiScriptsElement,MathMLOperatorElement,MathMLPaddedElement,MathMLPiecewiseElement,MathMLPredefinedSymbol,MathMLPresentationContainer,MathMLPresentationElement,MathMLPresentationToken,MathMLRadicalElement,MathMLScriptElement,MathMLSemanticsElement,MathMLSetElement,MathMLSpaceElement,MathMLStringLitElement,MathMLStyleElement,MathMLTableCellElement,MathMLTableElement,MathMLTableRowElement,MathMLTendsToElement,MathMLUnderOverElement,MathMLVectorElement,MathMLXMLAnnotationElement
- All Known Implementing Classes:
AbstractContainer,AbstractElementWithDelegates,AbstractInvisibleJEuclidElement,AbstractJEuclidElement,AbstractRoot,AbstractScriptElement,AbstractSubSuper,AbstractTableElement,AbstractTableRow,AbstractTokenWithTextLayout,AbstractUnderOver,Annotation,ForeignElement,Maction,Maligngroup,Malignmark,MathImpl,Menclose,Merror,Mfenced,Mfrac,Mglyph,Mi,Mlabeledtr,Mmultiscripts,Mn,Mo,Mover,Mpadded,Mphantom,Mprescripts,Mroot,Mrow,Ms,Mspace,Msqrt,Mstyle,Msub,Msubsup,Msup,Mtable,Mtd,Mtext,Mtr,Munder,Munderover,None,Semantics
All MathML element interfaces derive from this object, which derives from
the basic DOM interface Element.
-
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
Modifier and TypeMethodDescriptionThe class attribute of the element.getHref()The xlink:href attribute of the element.getId()The element's identifier.A string identifying the element's style attribute.The MathMLMathElement corresponding to the nearest math element ancestor of this element.getXref()The xref attribute of the element.voidsetClassName(String className) setter for the className attribute.voidsetter for the href attribute.voidsetter for the id attribute.voidsetMathElementStyle(String mathElementStyle) setter for the mathElementStyle attribute.voidsetter for the xref attribute.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, setIdAttributeNSMethods 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 Details
-
getClassName
String getClassName()The class attribute of the element. See the discussion elsewhere in this document of the class attribute; see also the HTML definition of this attribute.- Returns:
- value of the className attribute.
-
setClassName
setter for the className attribute.- Parameters:
className- new value for className.- See Also:
-
getMathElementStyle
String getMathElementStyle()A string identifying the element's style attribute.- Returns:
- value of the mathElementStyle attribute.
-
setMathElementStyle
setter for the mathElementStyle attribute.- Parameters:
mathElementStyle- new value for mathElementStyle.- See Also:
-
getId
String getId()The element's identifier. See the discussion elsewhere in this document of the id attribute; see also the HTML definition.- Returns:
- value of the id attribute.
-
setId
setter for the id attribute.- Parameters:
id- new value for id.- See Also:
-
getXref
String getXref()The xref attribute of the element. See the discussion elsewhere in this document of the xref attribute.- Returns:
- value of the xref attribute.
-
setXref
setter for the xref attribute.- Parameters:
xref- new value for xref.- See Also:
-
getHref
String getHref()The xlink:href attribute of the element. See the discussion elsewhere in this document of the xlink:href attribute; see also the definition of this attribute in the XLink specification.- Returns:
- value of the href attribute.
-
setHref
setter for the href attribute.- Parameters:
href- new value for href.- See Also:
-
getOwnerMathElement
MathMLMathElement getOwnerMathElement()The MathMLMathElement corresponding to the nearest math element ancestor of this element. Should be null if this element is a top-level math element.- Returns:
- value of the ownerMathElement attribute.
-