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 java.lang.Object implements org.apache.fop.util.text.AdvancedMessageFormat.PartDefines a "choice" field part that works likeChoiceFormat.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classChoiceFieldPart.FactoryFactory for ChoiceFieldPart.
-
Constructor Summary
Constructors Constructor Description ChoiceFieldPart(java.lang.String fieldName, java.lang.String choicesPattern)Creates a new choice part.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisGenerated(java.util.Map params)java.lang.StringtoString()voidwrite(java.lang.StringBuffer sb, java.util.Map params)
-
-
-
Method Detail
-
isGenerated
public boolean isGenerated(java.util.Map params)
- Specified by:
isGeneratedin interfaceorg.apache.fop.util.text.AdvancedMessageFormat.Part
-
write
public void write(java.lang.StringBuffer sb, java.util.Map params)- Specified by:
writein interfaceorg.apache.fop.util.text.AdvancedMessageFormat.Part
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-