Class FileEntryElement

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

public class FileEntryElement extends OdfElement
Manifest implementation of OpenDocument element <manifest:file-entry>.
See Also:
  • Field Details

    • ELEMENT_NAME

      public static final OdfName ELEMENT_NAME
  • Constructor Details

    • FileEntryElement

      public FileEntryElement(OdfFileDom ownerDoc)
      Create the instance of FileEntryElement
      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:file-entry>.
    • getFullPathAttribute

      public String getFullPathAttribute()
      Receives the value of the ODFDOM attribute representation FullPathAttribute , See @manifest:full-path

      Attribute is mandatory.

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

      public void setFullPathAttribute(String fullPathValue)
      Sets the value of ODFDOM attribute representation FullPathAttribute , See @manifest:full-path
      Parameters:
      fullPathValue - The type is String
    • getMediaTypeAttribute

      public String getMediaTypeAttribute()
      Receives the value of the ODFDOM attribute representation MediaTypeAttribute , See @manifest:media-type

      Attribute is mandatory.

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

      public void setMediaTypeAttribute(String mediaTypeValue)
      Sets the value of ODFDOM attribute representation MediaTypeAttribute , See @manifest:media-type
      Parameters:
      mediaTypeValue - The type is String
    • getPreferredViewModeAttribute

      public String getPreferredViewModeAttribute()
      Receives the value of the ODFDOM attribute representation PreferredViewModeAttribute , See @manifest:preferred-view-mode
      Returns:
      - the String , the value or null, if the attribute is not set and no default value defined.
    • setPreferredViewModeAttribute

      public void setPreferredViewModeAttribute(String preferredViewModeValue)
      Sets the value of ODFDOM attribute representation PreferredViewModeAttribute , See @manifest:preferred-view-mode
      Parameters:
      preferredViewModeValue - The type is String
    • getSizeAttribute

      public Integer getSizeAttribute()
      Receives the value of the ODFDOM attribute representation SizeAttribute , See @manifest:size
      Returns:
      - the Integer , the value or null, if the attribute is not set and no default value defined.
    • setSizeAttribute

      public void setSizeAttribute(Integer sizeValue)
      Sets the value of ODFDOM attribute representation SizeAttribute , See @manifest:size
      Parameters:
      sizeValue - The type is Integer
    • getVersionAttribute

      public String getVersionAttribute()
      Receives the value of the ODFDOM attribute representation VersionAttribute , See @manifest:version
      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
    • newEncryptionDataElement

      public EncryptionDataElement newEncryptionDataElement(String checksumValue, String checksumTypeValue)
      Create child element <manifest:encryption-data>.
      Parameters:
      checksumValue - the String value of ChecksumAttribute, see @manifest:checksum at specification
      checksumTypeValue - the String value of ChecksumTypeAttribute, see @manifest:checksum-type at specification
      Returns:
      the element <manifest:encryption-data>