Class AnimCommandElement

    • Field Detail

      • ELEMENT_NAME

        public static final OdfName ELEMENT_NAME
    • Constructor Detail

      • AnimCommandElement

        public AnimCommandElement​(OdfFileDom ownerDoc)
        Create the instance of AnimCommandElement
        Parameters:
        ownerDoc - The type is OdfFileDom
    • Method Detail

      • getAnimCommandAttribute

        public String getAnimCommandAttribute()
        Receives the value of the ODFDOM attribute representation AnimCommandAttribute , See @anim:command

        Attribute is mandatory.

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

        public void setAnimCommandAttribute​(String animCommandValue)
        Sets the value of ODFDOM attribute representation AnimCommandAttribute , See @anim:command
        Parameters:
        animCommandValue - The type is String
      • 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
      • getAnimSubItemAttribute

        public String getAnimSubItemAttribute()
        Receives the value of the ODFDOM attribute representation AnimSubItemAttribute , See @anim:sub-item
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setAnimSubItemAttribute

        public void setAnimSubItemAttribute​(String animSubItemValue)
        Sets the value of ODFDOM attribute representation AnimSubItemAttribute , See @anim:sub-item
        Parameters:
        animSubItemValue - 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
      • 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
      • getSmilTargetElementAttribute

        public String getSmilTargetElementAttribute()
        Receives the value of the ODFDOM attribute representation SmilTargetElementAttribute , See @smil:targetElement
        Returns:
        - the String , the value or null, if the attribute is not set and no default value defined.
      • setSmilTargetElementAttribute

        public void setSmilTargetElementAttribute​(String smilTargetElementValue)
        Sets the value of ODFDOM attribute representation SmilTargetElementAttribute , See @smil:targetElement
        Parameters:
        smilTargetElementValue - 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
      • newAnimParamElement

        public AnimParamElement newAnimParamElement​(String animNameValue,
                                                    String animValueValue)
        Create child element <anim:param>.
        Parameters:
        animNameValue - the String value of AnimNameAttribute, see @anim:name at specification
        animValueValue - the String value of AnimValueAttribute, see @anim:value at specification
        Returns:
        the element <anim:param>
      • 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