Package org.apache.fop.afp.modca
Class InterchangeSet
- java.lang.Object
-
- org.apache.fop.afp.modca.InterchangeSet
-
public class InterchangeSet extends java.lang.Object
MO:DCA Interchange Set
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
MODCA_PRESENTATION_INTERCHANGE_SET_1
interchange set 1 string valuestatic java.lang.String
MODCA_PRESENTATION_INTERCHANGE_SET_2
interchange set 2 string valuestatic java.lang.String
MODCA_RESOURCE_INTERCHANGE_SET
resource interchange set string value
-
Constructor Summary
Constructors Constructor Description InterchangeSet(int value)
Main constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
is1()
Returns true if complies with MOD:CA interchange set 1boolean
is2()
Returns true if complies with MOD:CA interchange set 2boolean
isResource()
Returns true if complies with MOD:CA resource setboolean
supportsLevel2()
Returns true if MOD:CA interchange set 2 (resource groups) is supportedjava.lang.String
toString()
static InterchangeSet
valueOf(java.lang.String str)
Returns the interchange set value of a given string
-
-
-
Field Detail
-
MODCA_PRESENTATION_INTERCHANGE_SET_1
public static final java.lang.String MODCA_PRESENTATION_INTERCHANGE_SET_1
interchange set 1 string value- See Also:
- Constant Field Values
-
MODCA_PRESENTATION_INTERCHANGE_SET_2
public static final java.lang.String MODCA_PRESENTATION_INTERCHANGE_SET_2
interchange set 2 string value- See Also:
- Constant Field Values
-
MODCA_RESOURCE_INTERCHANGE_SET
public static final java.lang.String MODCA_RESOURCE_INTERCHANGE_SET
resource interchange set string value- See Also:
- Constant Field Values
-
-
Method Detail
-
valueOf
public static InterchangeSet valueOf(java.lang.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 java.lang.String toString()
- Overrides:
toString
in classjava.lang.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
-
-