Class MathMLPaddedElementImpl

java.lang.Object
org.apache.xerces.dom.NodeImpl
org.apache.xerces.dom.ChildNode
org.apache.xerces.dom.ParentNode
org.apache.xerces.dom.ElementImpl
org.apache.xerces.dom.ElementNSImpl
All Implemented Interfaces:
Serializable, Cloneable, Element, ElementTraversal, EventTarget, MathMLContainer, MathMLElement, MathMLNodeList, MathMLPaddedElement, MathMLPresentationContainer, MathMLPresentationElement, Node, NodeList, TypeInfo

public class MathMLPaddedElementImpl extends MathMLPresentationContainerImpl implements MathMLPaddedElement
Implements a MathML padded element.
Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
See Also:
  • Constructor Details

    • MathMLPaddedElementImpl

      public MathMLPaddedElementImpl(MathMLDocumentImpl owner, String qualifiedName)
      Constructs a MathML padded element.
      Parameters:
      owner - the MathML document that owns this element
      qualifiedName - the qualified name of the element type
  • Method Details

    • getWidth

      public String getWidth()
      Returns the value of the width attribute.
      Specified by:
      getWidth in interface MathMLPaddedElement
      Returns:
      the width
    • setWidth

      public void setWidth(String width)
      Sets the value of the width attribute.
      Specified by:
      setWidth in interface MathMLPaddedElement
      Parameters:
      width - the width to set
    • getLspace

      public String getLspace()
      Returns the value of the lspace attribute.
      Specified by:
      getLspace in interface MathMLPaddedElement
      Returns:
      the left space
    • setLspace

      public void setLspace(String lspace)
      Sets the value of the lspace attribute.
      Specified by:
      setLspace in interface MathMLPaddedElement
      Parameters:
      lspace - the left space to set
    • getHeight

      public String getHeight()
      Returns the value of the height attribute.
      Specified by:
      getHeight in interface MathMLPaddedElement
      Returns:
      the height
    • setHeight

      public void setHeight(String height)
      Sets the value of the height attribute.
      Specified by:
      setHeight in interface MathMLPaddedElement
      Parameters:
      height - the height to set
    • getDepth

      public String getDepth()
      Returns the value of the depth attribute.
      Specified by:
      getDepth in interface MathMLPaddedElement
      Returns:
      the depth
    • setDepth

      public void setDepth(String depth)
      Sets the value of the depth attribute.
      Specified by:
      setDepth in interface MathMLPaddedElement
      Parameters:
      depth - the depth to set