Enum Class AltChunkType

java.lang.Object
java.lang.Enum<AltChunkType>
org.docx4j.openpackaging.parts.WordprocessingML.AltChunkType
All Implemented Interfaces:
Serializable, Comparable<AltChunkType>, Constable

public enum AltChunkType extends Enum<AltChunkType>
  • Enum Constant Details

  • Field Details

    • extension

      private String extension
    • contentType

      private String contentType
  • Constructor Details

    • AltChunkType

      private AltChunkType(String extension, String contentType)
  • Method Details

    • values

      public static AltChunkType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AltChunkType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getExtension

      public String getExtension()
    • getContentType

      public String getContentType()