Class AnimAudioElement

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

public class AnimAudioElement extends OdfElement
DOM implementation of OpenDocument element <anim:audio>.
See Also:
  • Field Details

    • ELEMENT_NAME

      public static final OdfName ELEMENT_NAME
  • Constructor Details

    • AnimAudioElement

      public AnimAudioElement(OdfFileDom ownerDoc)
      Create the instance of AnimAudioElement
      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 <anim:audio>.
    • getAnimAudioLevelAttribute

      public Double getAnimAudioLevelAttribute()
      Receives the value of the ODFDOM attribute representation AnimAudioLevelAttribute , See @anim:audio-level
      Returns:
      - the Double , the value or null, if the attribute is not set and no default value defined.
    • setAnimAudioLevelAttribute

      public void setAnimAudioLevelAttribute(Double animAudioLevelValue)
      Sets the value of ODFDOM attribute representation AnimAudioLevelAttribute , See @anim:audio-level
      Parameters:
      animAudioLevelValue - The type is Double
    • getAnimIdAttribute

      public String getAnimIdAttribute()
      Receives the value of the ODFDOM attribute representation AnimIdAttribute , See @anim:id
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setAnimIdAttribute

      public void setAnimIdAttribute(String animIdValue)
      Sets the value of ODFDOM attribute representation AnimIdAttribute , See @anim:id
      Parameters:
      animIdValue - The type is String
    • getPresentationGroupIdAttribute

      public String getPresentationGroupIdAttribute()
      Receives the value of the ODFDOM attribute representation PresentationGroupIdAttribute , See @presentation:group-id
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setPresentationGroupIdAttribute

      public void setPresentationGroupIdAttribute(String presentationGroupIdValue)
      Sets the value of ODFDOM attribute representation PresentationGroupIdAttribute , See @presentation:group-id
      Parameters:
      presentationGroupIdValue - The type is String
    • getPresentationMasterElementAttribute

      public String getPresentationMasterElementAttribute()
      Receives the value of the ODFDOM attribute representation PresentationMasterElementAttribute , See @presentation:master-element
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setPresentationMasterElementAttribute

      public void setPresentationMasterElementAttribute(String presentationMasterElementValue)
      Sets the value of ODFDOM attribute representation PresentationMasterElementAttribute , See @presentation:master-element
      Parameters:
      presentationMasterElementValue - The type is String
    • getPresentationNodeTypeAttribute

      public String getPresentationNodeTypeAttribute()
      Receives the value of the ODFDOM attribute representation PresentationNodeTypeAttribute , See @presentation:node-type
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setPresentationNodeTypeAttribute

      public void setPresentationNodeTypeAttribute(String presentationNodeTypeValue)
      Sets the value of ODFDOM attribute representation PresentationNodeTypeAttribute , See @presentation:node-type
      Parameters:
      presentationNodeTypeValue - The type is String
    • getPresentationPresetClassAttribute

      public String getPresentationPresetClassAttribute()
      Receives the value of the ODFDOM attribute representation PresentationPresetClassAttribute , See @presentation:preset-class
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setPresentationPresetClassAttribute

      public void setPresentationPresetClassAttribute(String presentationPresetClassValue)
      Sets the value of ODFDOM attribute representation PresentationPresetClassAttribute , See @presentation:preset-class
      Parameters:
      presentationPresetClassValue - The type is String
    • getPresentationPresetIdAttribute

      public String getPresentationPresetIdAttribute()
      Receives the value of the ODFDOM attribute representation PresentationPresetIdAttribute , See @presentation:preset-id
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setPresentationPresetIdAttribute

      public void setPresentationPresetIdAttribute(String presentationPresetIdValue)
      Sets the value of ODFDOM attribute representation PresentationPresetIdAttribute , See @presentation:preset-id
      Parameters:
      presentationPresetIdValue - The type is String
    • getPresentationPresetSubTypeAttribute

      public String getPresentationPresetSubTypeAttribute()
      Receives the value of the ODFDOM attribute representation PresentationPresetSubTypeAttribute , See @presentation:preset-sub-type
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setPresentationPresetSubTypeAttribute

      public void setPresentationPresetSubTypeAttribute(String presentationPresetSubTypeValue)
      Sets the value of ODFDOM attribute representation PresentationPresetSubTypeAttribute , See @presentation:preset-sub-type
      Parameters:
      presentationPresetSubTypeValue - The type is String
    • getSmilBeginAttribute

      public String getSmilBeginAttribute()
      Receives the value of the ODFDOM attribute representation SmilBeginAttribute , See @smil:begin
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setSmilBeginAttribute

      public void setSmilBeginAttribute(String smilBeginValue)
      Sets the value of ODFDOM attribute representation SmilBeginAttribute , See @smil:begin
      Parameters:
      smilBeginValue - The type is String
    • getSmilDurAttribute

      public String getSmilDurAttribute()
      Receives the value of the ODFDOM attribute representation SmilDurAttribute , See @smil:dur
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setSmilDurAttribute

      public void setSmilDurAttribute(String smilDurValue)
      Sets the value of ODFDOM attribute representation SmilDurAttribute , See @smil:dur
      Parameters:
      smilDurValue - The type is String
    • getSmilEndAttribute

      public String getSmilEndAttribute()
      Receives the value of the ODFDOM attribute representation SmilEndAttribute , See @smil:end
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setSmilEndAttribute

      public void setSmilEndAttribute(String smilEndValue)
      Sets the value of ODFDOM attribute representation SmilEndAttribute , See @smil:end
      Parameters:
      smilEndValue - The type is String
    • getSmilFillAttribute

      public String getSmilFillAttribute()
      Receives the value of the ODFDOM attribute representation SmilFillAttribute , See @smil:fill
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setSmilFillAttribute

      public void setSmilFillAttribute(String smilFillValue)
      Sets the value of ODFDOM attribute representation SmilFillAttribute , See @smil:fill
      Parameters:
      smilFillValue - The type is String
    • getSmilFillDefaultAttribute

      public String getSmilFillDefaultAttribute()
      Receives the value of the ODFDOM attribute representation SmilFillDefaultAttribute , See @smil:fillDefault
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setSmilFillDefaultAttribute

      public void setSmilFillDefaultAttribute(String smilFillDefaultValue)
      Sets the value of ODFDOM attribute representation SmilFillDefaultAttribute , See @smil:fillDefault
      Parameters:
      smilFillDefaultValue - The type is String
    • getSmilRepeatCountAttribute

      public String getSmilRepeatCountAttribute()
      Receives the value of the ODFDOM attribute representation SmilRepeatCountAttribute , See @smil:repeatCount
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setSmilRepeatCountAttribute

      public void setSmilRepeatCountAttribute(String smilRepeatCountValue)
      Sets the value of ODFDOM attribute representation SmilRepeatCountAttribute , See @smil:repeatCount
      Parameters:
      smilRepeatCountValue - The type is String
    • getSmilRepeatDurAttribute

      public String getSmilRepeatDurAttribute()
      Receives the value of the ODFDOM attribute representation SmilRepeatDurAttribute , See @smil:repeatDur
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setSmilRepeatDurAttribute

      public void setSmilRepeatDurAttribute(String smilRepeatDurValue)
      Sets the value of ODFDOM attribute representation SmilRepeatDurAttribute , See @smil:repeatDur
      Parameters:
      smilRepeatDurValue - The type is String
    • getSmilRestartAttribute

      public String getSmilRestartAttribute()
      Receives the value of the ODFDOM attribute representation SmilRestartAttribute , See @smil:restart
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setSmilRestartAttribute

      public void setSmilRestartAttribute(String smilRestartValue)
      Sets the value of ODFDOM attribute representation SmilRestartAttribute , See @smil:restart
      Parameters:
      smilRestartValue - The type is String
    • getSmilRestartDefaultAttribute

      public String getSmilRestartDefaultAttribute()
      Receives the value of the ODFDOM attribute representation SmilRestartDefaultAttribute , See @smil:restartDefault
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setSmilRestartDefaultAttribute

      public void setSmilRestartDefaultAttribute(String smilRestartDefaultValue)
      Sets the value of ODFDOM attribute representation SmilRestartDefaultAttribute , See @smil:restartDefault
      Parameters:
      smilRestartDefaultValue - The type is String
    • getXlinkHrefAttribute

      public String getXlinkHrefAttribute()
      Receives the value of the ODFDOM attribute representation XlinkHrefAttribute , See @xlink:href
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setXlinkHrefAttribute

      public void setXlinkHrefAttribute(String xlinkHrefValue)
      Sets the value of ODFDOM attribute representation XlinkHrefAttribute , See @xlink:href
      Parameters:
      xlinkHrefValue - The type is String
    • getXmlIdAttribute

      public String getXmlIdAttribute()
      Receives the value of the ODFDOM attribute representation XmlIdAttribute , See @xml:id
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setXmlIdAttribute

      public void setXmlIdAttribute(String xmlIdValue)
      Sets the value of ODFDOM attribute representation XmlIdAttribute , See @xml:id
      Parameters:
      xmlIdValue - 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