Package org.apache.fop.afp.modca
Class InterchangeSet
java.lang.Object
org.apache.fop.afp.modca.InterchangeSet
MO:DCA Interchange Set
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanis1()Returns true if complies with MOD:CA interchange set 1booleanis2()Returns true if complies with MOD:CA interchange set 2booleanReturns true if complies with MOD:CA resource setbooleanReturns true if MOD:CA interchange set 2 (resource groups) is supportedtoString()static InterchangeSetReturns the interchange set value of a given string
-
Field Details
-
MODCA_PRESENTATION_INTERCHANGE_SET_1
interchange set 1 string value- See Also:
-
MODCA_PRESENTATION_INTERCHANGE_SET_2
interchange set 2 string value- See Also:
-
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
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
-
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
-