java.lang.Object
org.apache.batik.dom.AbstractNode
org.apache.batik.dom.AbstractParentNode
org.apache.batik.dom.AbstractParentChildNode
org.apache.batik.dom.AbstractElement
org.apache.batik.dom.AbstractElementNS
All Implemented Interfaces:
Serializable, JEuclidElement, JEuclidNode, LayoutableNode, org.apache.batik.dom.events.NodeEventTarget, org.apache.batik.dom.ExtendedNode, org.apache.batik.dom.xbl.NodeXBL, org.apache.batik.dom.xbl.XBLManagerData, org.apache.batik.w3c.dom.ElementTraversal, Element, EventTarget, MathMLContainer, MathMLElement, MathMLEncloseElement, MathMLPresentationContainer, MathMLPresentationElement, Node

public final class Menclose extends AbstractElementWithDelegates implements MathMLEncloseElement
Class for supporting "menclose" elements.
Version:
$Revision: 353eda94b8dd $
See Also:
  • Field Details

  • Constructor Details

    • Menclose

      public Menclose(String qname, org.apache.batik.dom.AbstractDocument odoc)
      Default constructor. Sets MathML Namespace.
      Parameters:
      qname - Qualified name.
      odoc - Owner Document.
  • Method Details

    • newNode

      protected Node newNode()
      Overrides:
      newNode in class org.apache.batik.dom.GenericElementNS
    • getNotation

      public String getNotation()
      Description copied from interface: MathMLEncloseElement
      A string giving a name for the notation enclosing the element's contents. Represents the notation attribute of the menclose. Any string is allowed as a value; predefined values include longdiv, actuarial, radical, box, roundedbox, circle, left, right, top, bottom, updiagonalstrike, downdiagonalstrike, verticalstrike, horizontalstrike, or combinations of these strings separated by whitespace (see ).
      Specified by:
      getNotation in interface MathMLEncloseElement
      Returns:
      notation of menclose element
    • setNotation

      public void setNotation(String notation)
      Sets notation for menclose element.
      Specified by:
      setNotation in interface MathMLEncloseElement
      Parameters:
      notation - Notation
      See Also:
    • createDelegates

      protected List<LayoutableNode> createDelegates()
      Overwrite this function in your implementation.
      Specified by:
      createDelegates in class AbstractElementWithDelegates
      Returns:
      a MathObject representing the real contents.