Class MathMLSpaceElementImpl

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
org.episteme.core.mathematics.loaders.mathml.MathMLElementImpl
org.episteme.core.mathematics.loaders.mathml.MathMLSpaceElementImpl
All Implemented Interfaces:
Serializable, Cloneable, Element, ElementTraversal, EventTarget, MathMLElement, MathMLNodeList, MathMLPresentationElement, MathMLSpaceElement, Node, NodeList, TypeInfo

public class MathMLSpaceElementImpl extends MathMLElementImpl implements MathMLSpaceElement
Implements a MathML space element.
Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
See Also:
  • Constructor Details

    • MathMLSpaceElementImpl

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

    • getWidth

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

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

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

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

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

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