Enum HdrFtrRef

java.lang.Object
java.lang.Enum<HdrFtrRef>
org.docx4j.wml.HdrFtrRef
All Implemented Interfaces:
Serializable, Comparable<HdrFtrRef>, java.lang.constant.Constable

public enum HdrFtrRef extends Enum<HdrFtrRef>

Java class for HdrFtrRef.

The following schema fragment specifies the expected content contained within this class.

 <simpleType name="HdrFtrRef">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="even"/>
     <enumeration value="default"/>
     <enumeration value="first"/>
   </restriction>
 </simpleType>
 
  • Enum Constant Details

    • EVEN

      public static final HdrFtrRef EVEN
      Even Numbered Pages Only
    • DEFAULT

      public static final HdrFtrRef DEFAULT
      Default Header or Footer
    • FIRST

      public static final HdrFtrRef FIRST
      First Page Only
  • Method Details

    • values

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

      public static HdrFtrRef valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • value

      public String value()
    • fromValue

      public static HdrFtrRef fromValue(String v)