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
org.apache.batik.dom.GenericElementNS
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, MathMLPaddedElement, MathMLPresentationContainer, MathMLPresentationElement, Node

public final class Mpadded extends AbstractContainer implements MathMLPaddedElement
This class implements the mpadded element.

TODO: none of the attributes are actually implemented yet.

Version:
$Revision: 2986a8eeaebc $
See Also:
  • Field Details

  • Constructor Details

    • Mpadded

      public Mpadded(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
    • getDepth

      public String getDepth()
      A string representing the depth beneath the baseline of the mpadded element, if specified. See also the discussion of this attribute.
      Specified by:
      getDepth in interface MathMLPaddedElement
      Returns:
      value of the depth attribute.
    • getHeight

      public String getHeight()
      A string representing the height above the baseline of the mpadded element, if specified. See also the discussion of this attribute.
      Specified by:
      getHeight in interface MathMLPaddedElement
      Returns:
      value of the height attribute.
    • getLspace

      public String getLspace()
      A string representing the lspace attribute - the additional space to the left - of the mpadded element, if specified. See also the discussion of this attribute.
      Specified by:
      getLspace in interface MathMLPaddedElement
      Returns:
      value of the lspace attribute.
    • getWidth

      public String getWidth()
      A string representing the total width of the mpadded element, if specified. See also the discussion of this attribute.
      Specified by:
      getWidth in interface MathMLPaddedElement
      Returns:
      value of the width attribute.
    • setDepth

      public void setDepth(String depth)
      setter for the depth attribute.
      Specified by:
      setDepth in interface MathMLPaddedElement
      Parameters:
      depth - new value for depth.
      See Also:
    • setHeight

      public void setHeight(String height)
      setter for the height attribute.
      Specified by:
      setHeight in interface MathMLPaddedElement
      Parameters:
      height - new value for height.
      See Also:
    • setLspace

      public void setLspace(String lspace)
      setter for the lspace attribute.
      Specified by:
      setLspace in interface MathMLPaddedElement
      Parameters:
      lspace - new value for lspace.
      See Also:
    • setWidth

      public void setWidth(String width)
      setter for the width attribute.
      Specified by:
      setWidth in interface MathMLPaddedElement
      Parameters:
      width - new value for width.
      See Also: