Class DrawStrokeDashElement

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

public class DrawStrokeDashElement extends OdfElement
DOM implementation of OpenDocument element <draw:stroke-dash>.
See Also:
  • Field Details

    • ELEMENT_NAME

      public static final OdfName ELEMENT_NAME
  • Constructor Details

    • DrawStrokeDashElement

      public DrawStrokeDashElement(OdfFileDom ownerDoc)
      Create the instance of DrawStrokeDashElement
      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:stroke-dash>.
    • 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
    • getDrawDistanceAttribute

      public String getDrawDistanceAttribute()
      Receives the value of the ODFDOM attribute representation DrawDistanceAttribute , See @draw:distance
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDrawDistanceAttribute

      public void setDrawDistanceAttribute(String drawDistanceValue)
      Sets the value of ODFDOM attribute representation DrawDistanceAttribute , See @draw:distance
      Parameters:
      drawDistanceValue - The type is String
    • getDrawDots1Attribute

      public Integer getDrawDots1Attribute()
      Receives the value of the ODFDOM attribute representation DrawDots1Attribute , See @draw:dots1
      Returns:
      - the Integer , the value or null, if the attribute is not set and no default value defined.
    • setDrawDots1Attribute

      public void setDrawDots1Attribute(Integer drawDots1Value)
      Sets the value of ODFDOM attribute representation DrawDots1Attribute , See @draw:dots1
      Parameters:
      drawDots1Value - The type is Integer
    • getDrawDots1LengthAttribute

      public String getDrawDots1LengthAttribute()
      Receives the value of the ODFDOM attribute representation DrawDots1LengthAttribute , See @draw:dots1-length
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDrawDots1LengthAttribute

      public void setDrawDots1LengthAttribute(String drawDots1LengthValue)
      Sets the value of ODFDOM attribute representation DrawDots1LengthAttribute , See @draw:dots1-length
      Parameters:
      drawDots1LengthValue - The type is String
    • getDrawDots2Attribute

      public Integer getDrawDots2Attribute()
      Receives the value of the ODFDOM attribute representation DrawDots2Attribute , See @draw:dots2
      Returns:
      - the Integer , the value or null, if the attribute is not set and no default value defined.
    • setDrawDots2Attribute

      public void setDrawDots2Attribute(Integer drawDots2Value)
      Sets the value of ODFDOM attribute representation DrawDots2Attribute , See @draw:dots2
      Parameters:
      drawDots2Value - The type is Integer
    • getDrawDots2LengthAttribute

      public String getDrawDots2LengthAttribute()
      Receives the value of the ODFDOM attribute representation DrawDots2LengthAttribute , See @draw:dots2-length
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDrawDots2LengthAttribute

      public void setDrawDots2LengthAttribute(String drawDots2LengthValue)
      Sets the value of ODFDOM attribute representation DrawDots2LengthAttribute , See @draw:dots2-length
      Parameters:
      drawDots2LengthValue - 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
    • getDrawStyleAttribute

      public String getDrawStyleAttribute()
      Receives the value of the ODFDOM attribute representation DrawStyleAttribute , See @draw:style
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setDrawStyleAttribute

      public void setDrawStyleAttribute(String drawStyleValue)
      Sets the value of ODFDOM attribute representation DrawStyleAttribute , See @draw:style
      Parameters:
      drawStyleValue - 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