Package org.w3c.dom.mathml
Interface MathMLCnElement
- All Superinterfaces:
Element,MathMLContentElement,MathMLContentToken,MathMLElement,Node
The cn element is used to specify actual numeric constants.
-
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 TypeMethodDescriptiongetBase()A string representing an integer between 2 and 36; the base of the numerical representation.intgetNargs()The number of sep-separated arguments.getType()Values include, but are not restricted to, e-notation, integer, rational, real, float, complex, complex-polar, complex-cartesian, and constant.voidsetter for the base attribute.voidsetter for the type 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.MathMLContentToken
deleteArgument, getArgument, getArguments, getDefinitionURL, getEncoding, insertArgument, removeArgument, setArgument, setDefinitionURL, setEncodingMethods 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
-
getType
String getType()Values include, but are not restricted to, e-notation, integer, rational, real, float, complex, complex-polar, complex-cartesian, and constant.- Returns:
- value of the type attribute.
-
setType
setter for the type attribute.- Parameters:
type- new value for type.- See Also:
-
getBase
String getBase()A string representing an integer between 2 and 36; the base of the numerical representation.- Returns:
- value of the base attribute.
-
setBase
setter for the base attribute.- Parameters:
base- new value for base.- See Also:
-
getNargs
int getNargs()The number of sep-separated arguments.- Returns:
- value of the nargs attribute.
-