Class DrawMarkerElement

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

public class DrawMarkerElement extends OdfElement
DOM implementation of OpenDocument element <draw:marker>.
See Also:
  • Field Details

    • ELEMENT_NAME

      public static final OdfName ELEMENT_NAME
  • Constructor Details

    • DrawMarkerElement

      public DrawMarkerElement(OdfFileDom ownerDoc)
      Create the instance of DrawMarkerElement
      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:marker>.
    • getDrawDisplayNameAttribute

      public String getDrawDisplayNameAttribute()
      Receives the value of the ODFDOM attribute representation DrawDisplayNameAttribute , See @draw:display-name
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDrawDisplayNameAttribute

      public void setDrawDisplayNameAttribute(String drawDisplayNameValue)
      Sets the value of ODFDOM attribute representation DrawDisplayNameAttribute , See @draw:display-name
      Parameters:
      drawDisplayNameValue - The type is String
    • getDrawNameAttribute

      public String getDrawNameAttribute()
      Receives the value of the ODFDOM attribute representation DrawNameAttribute , See @draw:name

      Attribute is mandatory.

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

      public void setDrawNameAttribute(String drawNameValue)
      Sets the value of ODFDOM attribute representation DrawNameAttribute , See @draw:name
      Parameters:
      drawNameValue - The type is String
    • getSvgDAttribute

      public String getSvgDAttribute()
      Receives the value of the ODFDOM attribute representation SvgDAttribute , See @svg:d

      Attribute is mandatory.

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

      public void setSvgDAttribute(String svgDValue)
      Sets the value of ODFDOM attribute representation SvgDAttribute , See @svg:d
      Parameters:
      svgDValue - The type is String
    • getSvgViewBoxAttribute

      public Integer getSvgViewBoxAttribute()
      Receives the value of the ODFDOM attribute representation SvgViewBoxAttribute , See @svg:viewBox

      Attribute is mandatory.

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

      public void setSvgViewBoxAttribute(Integer svgViewBoxValue)
      Sets the value of ODFDOM attribute representation SvgViewBoxAttribute , See @svg:viewBox
      Parameters:
      svgViewBoxValue - The type is Integer
    • 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