Package org.w3c.dom.mathml
Interface MathMLPresentationToken
-
- All Superinterfaces:
org.w3c.dom.Element,MathMLElement,MathMLPresentationElement,org.w3c.dom.Node
- All Known Subinterfaces:
MathMLOperatorElement,MathMLStringLitElement
public interface MathMLPresentationToken extends MathMLPresentationElement
This interface extends the MathMLElement interface to include access for attributes specific to text presentation. It serves as the base class for all MathML presentation token elements. Access to the body of the element is via the nodeValue attribute inherited from Node. Elements that expose only the core presentation token attributes are directly supported by this object. These elements are: mi mn mtext
-
-
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 MathMLNodeListgetContents()Returns the child Nodes of the element.java.lang.StringgetMathbackground()The mathbackground attribute for the element, if specified.java.lang.StringgetMathcolor()The mathcolor attribute for the element, if specified.java.lang.StringgetMathsize()The mathsize attribute for the element, if specified.java.lang.StringgetMathvariant()The mathvariant attribute for the element, if specified.voidsetMathbackground(java.lang.String mathbackground)setter for the mathbackground attribute.voidsetMathcolor(java.lang.String mathcolor)setter for the mathcolor attribute.voidsetMathsize(java.lang.String mathsize)setter for the mathsize attribute.voidsetMathvariant(java.lang.String mathvariant)setter for the mathvariant 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.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
-
getMathvariant
java.lang.String getMathvariant()
The mathvariant attribute for the element, if specified. One of the values normal, bold, italic, bold-italic, double-struck, bold-fraktur, script, bold-script, fraktur, sans-serif, bold-sans-serif, sans-serif-italic, sans-serif-bold-italic, or monospace.- Returns:
- value of the mathvariant attribute.
-
setMathvariant
void setMathvariant(java.lang.String mathvariant)
setter for the mathvariant attribute.- Parameters:
mathvariant- new value for mathvariant.- See Also:
getMathvariant()
-
getMathsize
java.lang.String getMathsize()
The mathsize attribute for the element, if specified. Either small, normal or big, or of the form number v-unit.- Returns:
- value of the mathsize attribute.
-
setMathsize
void setMathsize(java.lang.String mathsize)
setter for the mathsize attribute.- Parameters:
mathsize- new value for mathsize.- See Also:
getMathsize()
-
getMathcolor
java.lang.String getMathcolor()
The mathcolor attribute for the element, if specified. The DOMString returned should be in one of the forms "#rgb" or "#rrggbb", or should be an html-color-name, as specified in .- Returns:
- value of the mathcolor attribute.
-
setMathcolor
void setMathcolor(java.lang.String mathcolor)
setter for the mathcolor attribute.- Parameters:
mathcolor- new value for mathcolor.- See Also:
getMathcolor()
-
getMathbackground
java.lang.String getMathbackground()
The mathbackground attribute for the element, if specified. The DOMString returned should be in one of the forms "#rgb" or "#rrggbb", or an html-color-name, as specified in , or the keyword "transparent".- Returns:
- value of the mathbackground attribute.
-
setMathbackground
void setMathbackground(java.lang.String mathbackground)
setter for the mathbackground attribute.- Parameters:
mathbackground- new value for mathbackground.- See Also:
getMathbackground()
-
getContents
MathMLNodeList getContents()
Returns the child Nodes of the element. These should consist only of Text nodes, MathMLGlyphElements, and MathMLAlignMarkElements. Should behave the same as the base class's Node::childNodes attribute; however, it is provided here for clarity.- Returns:
- value of the contents attribute.
-
-