Package org.w3c.dom.mathml
Interface MathMLIntervalElement
- All Superinterfaces:
Element,MathMLContentElement,MathMLElement,Node
The interval element is used to represent simple mathematical intervals on
the real number line. It contains either two child elements that evaluate
to real numbers or one child element that is a condition for defining
membership in the interval.
-
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 TypeMethodDescriptionA string with value open, closed, open-closed or closed-open.getEnd()A MathMLContentElement representing the real number defining the end of the interval.getStart()A MathMLContentElement representing the real number defining the start of the interval.voidsetClosure(String closure) setter for the closure attribute.voidsetter for the end attribute.voidsetStart(MathMLContentElement start) setter for the start 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
-
getClosure
String getClosure()A string with value open, closed, open-closed or closed-open. The default value is closed.- Returns:
- value of the closure attribute.
-
setClosure
setter for the closure attribute.- Parameters:
closure- new value for closure.- See Also:
-
getStart
MathMLContentElement getStart()A MathMLContentElement representing the real number defining the start of the interval. If end has not already been set, it becomes the same as start until set otherwise.- Returns:
- value of the start attribute.
-
setStart
setter for the start attribute.- Parameters:
start- new value for start.- See Also:
-
getEnd
MathMLContentElement getEnd()A MathMLContentElement representing the real number defining the end of the interval. If start has not already been set, it becomes the same as end until set otherwise.- Returns:
- value of the end attribute.
-
setEnd
setter for the end attribute.- Parameters:
end- new value for end.- See Also:
-