Package org.w3c.dom.mathml
Interface MathMLStyleElement
-
- All Superinterfaces:
org.w3c.dom.Element,MathMLContainer,MathMLElement,MathMLPresentationContainer,MathMLPresentationElement,org.w3c.dom.Node
- All Known Implementing Classes:
Mstyle
public interface MathMLStyleElement extends MathMLPresentationContainer
This interface extends the MathMLElement interface for the MathML style element mstyle. While the mstyle element may contain any attributes allowable on any MathML presentation element, only attributes specific to the mstyle element are included in the interface below. Other attributes should be accessed using the methods on the base Element class, particularly the Element::getAttribute and Element::setAttribute methods, or even the Node::attributes attribute to access all of them at once. Not only does this obviate a lengthy list below, but it seems likely that most implementations will find this a considerably more useful interface to a MathMLStyleElement.
-
-
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetBackground()A string representation of a color or the string transparent; represents the background attribute for the mstyle element, if specified.java.lang.StringgetDisplaystyle()Either true or false; a string representing the displaystyle attribute for the mstyle element, if specified.java.lang.StringgetMediummathspace()A string of the form number h-unit; represents the mediummathspace attribute for the mstyle element, if specified.java.lang.StringgetNegativemediummathspace()A string of the form number h-unit; represents the negativemediummathspace attribute for the mstyle element, if specified.java.lang.StringgetNegativethickmathspace()A string of the form number h-unit; represents the negativethickmathspace attribute for the mstyle element, if specified.java.lang.StringgetNegativethinmathspace()A string of the form number h-unit; represents the negativethinmathspace attribute for the mstyle element, if specified.java.lang.StringgetNegativeverythickmathspace()A string of the form number h-unit; represents the negativeverythickmathspace attribute for the mstyle element, if specified.java.lang.StringgetNegativeverythinmathspace()A string of the form number h-unit; represents the negativeverythinmathspace attribute for the mstyle element, if specified.java.lang.StringgetNegativeveryverythickmathspace()A string of the form number h-unit; represents the negativeveryverythickmathspace attribute for the mstyle element, if specified.java.lang.StringgetNegativeveryverythinmathspace()A string of the form number h-unit; represents the negativeveryverythinmathspace attribute for the mstyle element, if specified.java.lang.StringgetScriptlevel()A string of the form +/- unsigned integer; represents the scriptlevel attribute for the mstyle element, if specified.java.lang.StringgetScriptminsize()A string of the form number v-unit; represents the scriptminsize attribute for the mstyle element, if specified.java.lang.StringgetScriptsizemultiplier()A string of the form number; represents the scriptsizemultiplier attribute for the mstyle element, if specified.java.lang.StringgetThickmathspace()A string of the form number h-unit; represents the thickmathspace attribute for the mstyle element, if specified.java.lang.StringgetThinmathspace()A string of the form number h-unit; represents the thinmathspace attribute for the mstyle element, if specified.java.lang.StringgetVerythickmathspace()A string of the form number h-unit; represents the verythickmathspace attribute for the mstyle element, if specified.java.lang.StringgetVerythinmathspace()A string of the form number h-unit; represents the verythinmathspace attribute for the mstyle element, if specified.java.lang.StringgetVeryverythickmathspace()A string of the form number h-unit; represents the veryverythickmathspace attribute for the mstyle element, if specified.java.lang.StringgetVeryverythinmathspace()A string of the form number h-unit; represents the veryverythinmathspace attribute for the mstyle element, if specified.voidsetBackground(java.lang.String background)setter for the background attribute.voidsetDisplaystyle(java.lang.String displaystyle)setter for the displaystyle attribute.voidsetMediummathspace(java.lang.String mediummathspace)setter for the mediummathspace attribute.voidsetNegativemediummathspace(java.lang.String negativemediummathspace)setter for the negativemediummathspace attribute.voidsetNegativethickmathspace(java.lang.String negativethickmathspace)setter for the negativethickmathspace attribute.voidsetNegativethinmathspace(java.lang.String negativethinmathspace)setter for the negativethinmathspace attribute.voidsetNegativeverythickmathspace(java.lang.String negativeverythickmathspace)setter for the negativeverythickmathspace attribute.voidsetNegativeverythinmathspace(java.lang.String negativeverythinmathspace)setter for the negativeverythinmathspace attribute.voidsetNegativeveryverythickmathspace(java.lang.String negativeveryverythickmathspace)setter for the negativeveryverythickmathspace attribute.voidsetNegativeveryverythinmathspace(java.lang.String negativeveryverythinmathspace)setter for the negativeveryverythinmathspace attribute.voidsetScriptlevel(java.lang.String scriptlevel)setter for the scriptlevel attribute.voidsetScriptminsize(java.lang.String scriptminsize)setter for the scriptminsize attribute.voidsetScriptsizemultiplier(java.lang.String scriptsizemultiplier)setter for the scriptsizemultiplier attribute.voidsetThickmathspace(java.lang.String thickmathspace)setter for the thickmathspace attribute.voidsetThinmathspace(java.lang.String thinmathspace)setter for the thinmathspace attribute.voidsetVerythickmathspace(java.lang.String verythickmathspace)setter for the verythickmathspace attribute.voidsetVerythinmathspace(java.lang.String verythinmathspace)setter for the verythinmathspace attribute.voidsetVeryverythickmathspace(java.lang.String veryverythickmathspace)setter for the veryverythickmathspace attribute.voidsetVeryverythinmathspace(java.lang.String veryverythinmathspace)setter for the veryverythinmathspace 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, setIdAttributeNS
-
Methods inherited from interface org.w3c.dom.mathml.MathMLContainer
deleteArgument, deleteDeclaration, getArgument, getArguments, getDeclaration, getDeclarations, getNArguments, insertArgument, insertDeclaration, removeArgument, removeDeclaration, setArgument, setDeclaration
-
Methods inherited from interface org.w3c.dom.mathml.MathMLElement
getClassName, getHref, getId, getMathElementStyle, getOwnerMathElement, getXref, setClassName, setHref, setId, setMathElementStyle, setXref
-
Methods 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 Detail
-
getScriptlevel
java.lang.String getScriptlevel()
A string of the form +/- unsigned integer; represents the scriptlevel attribute for the mstyle element, if specified. See also the discussion of this attribute.- Returns:
- value of the scriptlevel attribute.
-
setScriptlevel
void setScriptlevel(java.lang.String scriptlevel)
setter for the scriptlevel attribute.- Parameters:
scriptlevel- new value for scriptlevel.- See Also:
getScriptlevel()
-
getDisplaystyle
java.lang.String getDisplaystyle()
Either true or false; a string representing the displaystyle attribute for the mstyle element, if specified. See also the discussion of this attribute.- Returns:
- value of the displaystyle attribute.
-
setDisplaystyle
void setDisplaystyle(java.lang.String displaystyle)
setter for the displaystyle attribute.- Parameters:
displaystyle- new value for displaystyle.- See Also:
getDisplaystyle()
-
getScriptsizemultiplier
java.lang.String getScriptsizemultiplier()
A string of the form number; represents the scriptsizemultiplier attribute for the mstyle element, if specified. See also the discussion of this attribute.- Returns:
- value of the scriptsizemultiplier attribute.
-
setScriptsizemultiplier
void setScriptsizemultiplier(java.lang.String scriptsizemultiplier)
setter for the scriptsizemultiplier attribute.- Parameters:
scriptsizemultiplier- new value for scriptsizemultiplier.- See Also:
getScriptsizemultiplier()
-
getScriptminsize
java.lang.String getScriptminsize()
A string of the form number v-unit; represents the scriptminsize attribute for the mstyle element, if specified. See also the discussion of this attribute.- Returns:
- value of the scriptminsize attribute.
-
setScriptminsize
void setScriptminsize(java.lang.String scriptminsize)
setter for the scriptminsize attribute.- Parameters:
scriptminsize- new value for scriptminsize.- See Also:
getScriptminsize()
-
getBackground
java.lang.String getBackground()
A string representation of a color or the string transparent; represents the background attribute for the mstyle element, if specified. See also the discussion of this attribute.- Returns:
- value of the background attribute.
-
setBackground
void setBackground(java.lang.String background)
setter for the background attribute.- Parameters:
background- new value for background.- See Also:
getBackground()
-
getVeryverythinmathspace
java.lang.String getVeryverythinmathspace()
A string of the form number h-unit; represents the veryverythinmathspace attribute for the mstyle element, if specified. See also the discussion of this attribute.- Returns:
- value of the veryverythinmathspace attribute.
-
setVeryverythinmathspace
void setVeryverythinmathspace(java.lang.String veryverythinmathspace)
setter for the veryverythinmathspace attribute.- Parameters:
veryverythinmathspace- new value for veryverythinmathspace.- See Also:
getVeryverythinmathspace()
-
getVerythinmathspace
java.lang.String getVerythinmathspace()
A string of the form number h-unit; represents the verythinmathspace attribute for the mstyle element, if specified. See also the discussion of this attribute.- Returns:
- value of the verythinmathspace attribute.
-
setVerythinmathspace
void setVerythinmathspace(java.lang.String verythinmathspace)
setter for the verythinmathspace attribute.- Parameters:
verythinmathspace- new value for verythinmathspace.- See Also:
getVerythinmathspace()
-
getThinmathspace
java.lang.String getThinmathspace()
A string of the form number h-unit; represents the thinmathspace attribute for the mstyle element, if specified. See also the discussion of this attribute.- Returns:
- value of the thinmathspace attribute.
-
setThinmathspace
void setThinmathspace(java.lang.String thinmathspace)
setter for the thinmathspace attribute.- Parameters:
thinmathspace- new value for thinmathspace.- See Also:
getThinmathspace()
-
getMediummathspace
java.lang.String getMediummathspace()
A string of the form number h-unit; represents the mediummathspace attribute for the mstyle element, if specified. See also the discussion of this attribute.- Returns:
- value of the mediummathspace attribute.
-
setMediummathspace
void setMediummathspace(java.lang.String mediummathspace)
setter for the mediummathspace attribute.- Parameters:
mediummathspace- new value for mediummathspace.- See Also:
getMediummathspace()
-
getThickmathspace
java.lang.String getThickmathspace()
A string of the form number h-unit; represents the thickmathspace attribute for the mstyle element, if specified. See also the discussion of this attribute.- Returns:
- value of the thickmathspace attribute.
-
setThickmathspace
void setThickmathspace(java.lang.String thickmathspace)
setter for the thickmathspace attribute.- Parameters:
thickmathspace- new value for thickmathspace.- See Also:
getThickmathspace()
-
getVerythickmathspace
java.lang.String getVerythickmathspace()
A string of the form number h-unit; represents the verythickmathspace attribute for the mstyle element, if specified. See also the discussion of this attribute.- Returns:
- value of the verythickmathspace attribute.
-
setVerythickmathspace
void setVerythickmathspace(java.lang.String verythickmathspace)
setter for the verythickmathspace attribute.- Parameters:
verythickmathspace- new value for verythickmathspace.- See Also:
getVerythickmathspace()
-
getVeryverythickmathspace
java.lang.String getVeryverythickmathspace()
A string of the form number h-unit; represents the veryverythickmathspace attribute for the mstyle element, if specified. See also the discussion of this attribute.- Returns:
- value of the veryverythickmathspace attribute.
-
setVeryverythickmathspace
void setVeryverythickmathspace(java.lang.String veryverythickmathspace)
setter for the veryverythickmathspace attribute.- Parameters:
veryverythickmathspace- new value for veryverythickmathspace.- See Also:
getVeryverythickmathspace()
-
getNegativeveryverythinmathspace
java.lang.String getNegativeveryverythinmathspace()
A string of the form number h-unit; represents the negativeveryverythinmathspace attribute for the mstyle element, if specified. See also the discussion of this attribute.- Returns:
- value of the negativeveryverythinmathspace attribute.
-
setNegativeveryverythinmathspace
void setNegativeveryverythinmathspace(java.lang.String negativeveryverythinmathspace)
setter for the negativeveryverythinmathspace attribute.- Parameters:
negativeveryverythinmathspace- new value for negativeveryverythinmathspace.- See Also:
getNegativeveryverythinmathspace()
-
getNegativeverythinmathspace
java.lang.String getNegativeverythinmathspace()
A string of the form number h-unit; represents the negativeverythinmathspace attribute for the mstyle element, if specified. See also the discussion of this attribute.- Returns:
- value of the negativeverythinmathspace attribute.
-
setNegativeverythinmathspace
void setNegativeverythinmathspace(java.lang.String negativeverythinmathspace)
setter for the negativeverythinmathspace attribute.- Parameters:
negativeverythinmathspace- new value for negativeverythinmathspace.- See Also:
getNegativeverythinmathspace()
-
getNegativethinmathspace
java.lang.String getNegativethinmathspace()
A string of the form number h-unit; represents the negativethinmathspace attribute for the mstyle element, if specified. See also the discussion of this attribute.- Returns:
- value of the negativethinmathspace attribute.
-
setNegativethinmathspace
void setNegativethinmathspace(java.lang.String negativethinmathspace)
setter for the negativethinmathspace attribute.- Parameters:
negativethinmathspace- new value for negativethinmathspace.- See Also:
getNegativethinmathspace()
-
getNegativemediummathspace
java.lang.String getNegativemediummathspace()
A string of the form number h-unit; represents the negativemediummathspace attribute for the mstyle element, if specified. See also the discussion of this attribute.- Returns:
- value of the negativemediummathspace attribute.
-
setNegativemediummathspace
void setNegativemediummathspace(java.lang.String negativemediummathspace)
setter for the negativemediummathspace attribute.- Parameters:
negativemediummathspace- new value for negativemediummathspace.- See Also:
getNegativemediummathspace()
-
getNegativethickmathspace
java.lang.String getNegativethickmathspace()
A string of the form number h-unit; represents the negativethickmathspace attribute for the mstyle element, if specified. See also the discussion of this attribute.- Returns:
- value of the negativethickmathspace attribute.
-
setNegativethickmathspace
void setNegativethickmathspace(java.lang.String negativethickmathspace)
setter for the negativethickmathspace attribute.- Parameters:
negativethickmathspace- new value for negativethickmathspace.- See Also:
getNegativethickmathspace()
-
getNegativeverythickmathspace
java.lang.String getNegativeverythickmathspace()
A string of the form number h-unit; represents the negativeverythickmathspace attribute for the mstyle element, if specified. See also the discussion of this attribute.- Returns:
- value of the negativeverythickmathspace attribute.
-
setNegativeverythickmathspace
void setNegativeverythickmathspace(java.lang.String negativeverythickmathspace)
setter for the negativeverythickmathspace attribute.- Parameters:
negativeverythickmathspace- new value for negativeverythickmathspace.- See Also:
getNegativeverythickmathspace()
-
getNegativeveryverythickmathspace
java.lang.String getNegativeveryverythickmathspace()
A string of the form number h-unit; represents the negativeveryverythickmathspace attribute for the mstyle element, if specified. See also the discussion of this attribute.- Returns:
- value of the negativeveryverythickmathspace attribute.
-
setNegativeveryverythickmathspace
void setNegativeveryverythickmathspace(java.lang.String negativeveryverythickmathspace)
setter for the negativeveryverythickmathspace attribute.- Parameters:
negativeveryverythickmathspace- new value for negativeveryverythickmathspace.- See Also:
getNegativeveryverythickmathspace()
-
-