Class ManifestElement

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

public class ManifestElement extends OdfElement
Manifest implementation of OpenDocument element <manifest:manifest>.
See Also:
  • Field Details

    • ELEMENT_NAME

      public static final OdfName ELEMENT_NAME
  • Constructor Details

    • ManifestElement

      public ManifestElement(OdfFileDom ownerDoc)
      Create the instance of ManifestElement
      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 <manifest:manifest>.
    • getVersionAttribute

      public String getVersionAttribute()
      Receives the value of the ODFDOM attribute representation VersionAttribute , See @manifest:version

      Attribute is mandatory.

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

      public void setVersionAttribute(String versionValue)
      Sets the value of ODFDOM attribute representation VersionAttribute , See @manifest:version
      Parameters:
      versionValue - The type is String
    • newFileEntryElement

      public FileEntryElement newFileEntryElement(String fullPathValue, String mediaTypeValue)
      Create child element <manifest:file-entry>.
      Parameters:
      fullPathValue - the String value of FullPathAttribute, see @manifest:full-path at specification
      mediaTypeValue - the String value of MediaTypeAttribute, see @manifest:media-type at specification Child element is mandatory.
      Returns:
      the element <manifest:file-entry>