Class DrawGluePointElement

All Implemented Interfaces:
Serializable, Cloneable, Element, ElementTraversal, EventTarget, Node, NodeList, TypeInfo

public class DrawGluePointElement extends OdfElement
DOM implementation of OpenDocument element <draw:glue-point>.
See Also:
  • Field Details

    • ELEMENT_NAME

      public static final OdfName ELEMENT_NAME
  • Constructor Details

    • DrawGluePointElement

      public DrawGluePointElement(OdfFileDom ownerDoc)
      Create the instance of DrawGluePointElement
      Parameters:
      ownerDoc - The type is OdfFileDom
  • Method Details

    • getOdfName

      public OdfName getOdfName()
      Get the element name
      Specified by:
      getOdfName in class OdfElement
      Returns:
      return OdfName the name of element <draw:glue-point>.
    • getDrawAlignAttribute

      public String getDrawAlignAttribute()
      Receives the value of the ODFDOM attribute representation DrawAlignAttribute , See @draw:align
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDrawAlignAttribute

      public void setDrawAlignAttribute(String drawAlignValue)
      Sets the value of ODFDOM attribute representation DrawAlignAttribute , See @draw:align
      Parameters:
      drawAlignValue - The type is String
    • getDrawEscapeDirectionAttribute

      public String getDrawEscapeDirectionAttribute()
      Receives the value of the ODFDOM attribute representation DrawEscapeDirectionAttribute , See @draw:escape-direction

      Attribute is mandatory.

      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDrawEscapeDirectionAttribute

      public void setDrawEscapeDirectionAttribute(String drawEscapeDirectionValue)
      Sets the value of ODFDOM attribute representation DrawEscapeDirectionAttribute , See @draw:escape-direction
      Parameters:
      drawEscapeDirectionValue - The type is String
    • getDrawIdAttribute

      public String getDrawIdAttribute()
      Receives the value of the ODFDOM attribute representation DrawIdAttribute , See @draw:id

      Attribute is mandatory.

      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDrawIdAttribute

      public void setDrawIdAttribute(String drawIdValue)
      Sets the value of ODFDOM attribute representation DrawIdAttribute , See @draw:id
      Parameters:
      drawIdValue - The type is String
    • getSvgXAttribute

      public String getSvgXAttribute()
      Receives the value of the ODFDOM attribute representation SvgXAttribute , See @svg:x

      Attribute is mandatory.

      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setSvgXAttribute

      public void setSvgXAttribute(String svgXValue)
      Sets the value of ODFDOM attribute representation SvgXAttribute , See @svg:x
      Parameters:
      svgXValue - The type is String
    • getSvgYAttribute

      public String getSvgYAttribute()
      Receives the value of the ODFDOM attribute representation SvgYAttribute , See @svg:y

      Attribute is mandatory.

      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setSvgYAttribute

      public void setSvgYAttribute(String svgYValue)
      Sets the value of ODFDOM attribute representation SvgYAttribute , See @svg:y
      Parameters:
      svgYValue - The type is String
    • accept

      public void accept(ElementVisitor visitor)
      Accept an visitor instance to allow the visitor to do some operations. Refer to visitor design pattern to get a better understanding.
      Overrides:
      accept in class OdfElement
      Parameters:
      visitor - an instance of DefaultElementVisitor