Interface MathMLDeclareElement

  • All Superinterfaces:
    org.w3c.dom.Element, MathMLContentElement, MathMLElement, org.w3c.dom.Node

    public interface MathMLDeclareElement
    extends MathMLContentElement
    The declare construct has two primary roles. The first is to change or set the default attribute values for a specific mathematical object. The second is to establish an association between a name and an object.
    • 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
      MathMLElement getConstructor()
      An optional MathMLElement providing an initial value for the object being declared.
      java.lang.String getDefinitionURL()
      A URI specifying the detailed semantics of the element.
      java.lang.String getEncoding()
      A description of the syntax used in definitionURL.
      MathMLCiElement getIdentifier()
      A MathMLCiElement representing the name being declared.
      int getNargs()
      If the identifier is a function, this attribute specifies the number of arguments the function takes.
      java.lang.String getOccurrence()
      A string with the values prefix, infix, postfix, or function-model.
      java.lang.String getType()
      A string indicating the type of the identifier.
      void setConstructor​(MathMLElement constructor)
      setter for the constructor attribute.
      void setDefinitionURL​(java.lang.String definitionURL)
      setter for the definitionURL attribute.
      void setEncoding​(java.lang.String encoding)
      setter for the encoding attribute.
      void setIdentifier​(MathMLCiElement identifier)
      setter for the identifier attribute.
      void setNargs​(int nargs)
      setter for the nargs attribute.
      void setOccurrence​(java.lang.String occurrence)
      setter for the occurrence attribute.
      void setType​(java.lang.String type)
      setter 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, setIdAttributeNS
      • 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

      • getType

        java.lang.String getType()
        A string indicating the type of the identifier. It must be compatible with the type of the constructor, if a constructor is present. The type is inferred from the constructor if present, otherwise it must be specified.
        Returns:
        value of the type attribute.
      • setType

        void setType​(java.lang.String type)
        setter for the type attribute.
        Parameters:
        type - new value for type.
        See Also:
        getType()
      • getNargs

        int getNargs()
        If the identifier is a function, this attribute specifies the number of arguments the function takes. This represents the declare element's nargs attribute; see .
        Returns:
        value of the nargs attribute.
      • setNargs

        void setNargs​(int nargs)
        setter for the nargs attribute.
        Parameters:
        nargs - new value for nargs.
        See Also:
        getNargs()
      • getOccurrence

        java.lang.String getOccurrence()
        A string with the values prefix, infix, postfix, or function-model.
        Returns:
        value of the occurrence attribute.
      • setOccurrence

        void setOccurrence​(java.lang.String occurrence)
        setter for the occurrence attribute.
        Parameters:
        occurrence - new value for occurrence.
        See Also:
        getOccurrence()
      • getDefinitionURL

        java.lang.String getDefinitionURL()
        A URI specifying the detailed semantics of the element.
        Returns:
        value of the definitionURL attribute.
      • setDefinitionURL

        void setDefinitionURL​(java.lang.String definitionURL)
        setter for the definitionURL attribute.
        Parameters:
        definitionURL - new value for definitionURL.
        See Also:
        getDefinitionURL()
      • getEncoding

        java.lang.String getEncoding()
        A description of the syntax used in definitionURL.
        Returns:
        value of the encoding attribute.
      • setEncoding

        void setEncoding​(java.lang.String encoding)
        setter for the encoding attribute.
        Parameters:
        encoding - new value for encoding.
        See Also:
        getEncoding()
      • getIdentifier

        MathMLCiElement getIdentifier()
        A MathMLCiElement representing the name being declared.
        Returns:
        value of the identifier attribute.
      • setIdentifier

        void setIdentifier​(MathMLCiElement identifier)
        setter for the identifier attribute.
        Parameters:
        identifier - new value for identifier.
        See Also:
        getIdentifier()
      • getConstructor

        MathMLElement getConstructor()
        An optional MathMLElement providing an initial value for the object being declared.
        Returns:
        value of the constructor attribute.
      • setConstructor

        void setConstructor​(MathMLElement constructor)
        setter for the constructor attribute.
        Parameters:
        constructor - new value for constructor.
        See Also:
        getConstructor()