Package org.apache.fop.util.text
Class ChoiceFieldPart
java.lang.Object
org.apache.fop.util.text.ChoiceFieldPart
- All Implemented Interfaces:
org.apache.fop.util.text.AdvancedMessageFormat.Part
public class ChoiceFieldPart
extends Object
implements org.apache.fop.util.text.AdvancedMessageFormat.Part
Defines a "choice" field part that works like
ChoiceFormat
.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Factory for ChoiceFieldPart. -
Constructor Summary
ConstructorDescriptionChoiceFieldPart
(String fieldName, String choicesPattern) Creates a new choice part. -
Method Summary
Modifier and TypeMethodDescriptionboolean
isGenerated
(Map params) toString()
void
write
(StringBuffer sb, Map params)
-
Constructor Details
-
ChoiceFieldPart
Creates a new choice part.- Parameters:
fieldName
- the field name to work onchoicesPattern
- the choices pattern (as used byChoiceFormat
)
-
-
Method Details