Package org.w3c.dom.mathml
Interface MathMLFractionElement
- All Superinterfaces:
Element,MathMLElement,MathMLPresentationElement,Node
- All Known Implementing Classes:
Mfrac
This interface extends the MathMLPresentationElement interface for the
MathML fraction element mfrac.
-
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 TypeMethodDescriptionOne of the strings true and false.One of the strings left, center and right.The second child MathMLElement of the MathMLFractionElement; represents the denominator of the represented fraction.A string representing the linethickness attribute of the mfrac, if specified.One of the strings left, center and right.The first child MathMLElement of the MathMLFractionElement; represents the numerator of the represented fraction.voidsetBevelled(String bevelled) setter for the bevelled attribute.voidsetDenomalign(String denomalign) setter for the denomalign attribute.voidsetDenominator(MathMLElement denominator) setter for the denominator attribute.voidsetLinethickness(String linethickness) setter for the linethickness attribute.voidsetNumalign(String numalign) setter for the numalign attribute.voidsetNumerator(MathMLElement numerator) setter for the numerator 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.mathml.MathMLElement
getClassName, getHref, getId, getMathElementStyle, getOwnerMathElement, getXref, setClassName, setHref, setId, setMathElementStyle, setXrefMethods 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
-
getLinethickness
String getLinethickness()A string representing the linethickness attribute of the mfrac, if specified.- Returns:
- value of the linethickness attribute.
-
setLinethickness
setter for the linethickness attribute.- Parameters:
linethickness- new value for linethickness.- See Also:
-
getNumalign
String getNumalign()One of the strings left, center and right. Represents the numalign attribute of the mfrac, if specified.- Returns:
- value of the numalign attribute.
-
setNumalign
setter for the numalign attribute.- Parameters:
numalign- new value for numalign.- See Also:
-
getDenomalign
String getDenomalign()One of the strings left, center and right. Represents the denomalign attribute of the mfrac, if specified.- Returns:
- value of the denomalign attribute.
-
setDenomalign
setter for the denomalign attribute.- Parameters:
denomalign- new value for denomalign.- See Also:
-
getBevelled
String getBevelled()One of the strings true and false. Represents the bevelled attribute of the mfrac, if specified.- Returns:
- value of the bevelled attribute.
-
setBevelled
setter for the bevelled attribute.- Parameters:
bevelled- new value for bevelled.- See Also:
-
getNumerator
MathMLElement getNumerator()The first child MathMLElement of the MathMLFractionElement; represents the numerator of the represented fraction.- Returns:
- value of the numerator attribute.
-
setNumerator
setter for the numerator attribute.- Parameters:
numerator- new value for numerator.- See Also:
-
getDenominator
MathMLElement getDenominator()The second child MathMLElement of the MathMLFractionElement; represents the denominator of the represented fraction.- Returns:
- value of the denominator attribute.
-
setDenominator
setter for the denominator attribute.- Parameters:
denominator- new value for denominator.- See Also:
-