Class InterchangeSet

java.lang.Object
org.apache.fop.afp.modca.InterchangeSet

public class InterchangeSet extends Object
MO:DCA Interchange Set
  • Field Details

    • MODCA_PRESENTATION_INTERCHANGE_SET_1

      public static final String MODCA_PRESENTATION_INTERCHANGE_SET_1
      interchange set 1 string value
      See Also:
    • MODCA_PRESENTATION_INTERCHANGE_SET_2

      public static final String MODCA_PRESENTATION_INTERCHANGE_SET_2
      interchange set 2 string value
      See Also:
    • MODCA_RESOURCE_INTERCHANGE_SET

      public static final String MODCA_RESOURCE_INTERCHANGE_SET
      resource interchange set string value
      See Also:
  • Constructor Details

    • InterchangeSet

      public InterchangeSet(int value)
      Main constructor
      Parameters:
      value - the interchange set value
  • Method Details

    • valueOf

      public static InterchangeSet valueOf(String str)
      Returns the interchange set value of a given string
      Parameters:
      str - an interchange set value
      Returns:
      an interchange set
    • is1

      protected boolean is1()
      Returns true if complies with MOD:CA interchange set 1
      Returns:
      true if complies with MOD:CA interchange set 1
    • is2

      public boolean is2()
      Returns true if complies with MOD:CA interchange set 2
      Returns:
      true if complies with MOD:CA interchange set 2
    • isResource

      public boolean isResource()
      Returns true if complies with MOD:CA resource set
      Returns:
      true if complies with MOD:CA resource set
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • supportsLevel2

      public boolean supportsLevel2()
      Returns true if MOD:CA interchange set 2 (resource groups) is supported
      Returns:
      true if MOD:CA interchange set 2 (resource groups) is supported