|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.icu.text.MessagePatternUtil.Node
com.ibm.icu.text.MessagePatternUtil.ComplexArgStyleNode
public static class MessagePatternUtil.ComplexArgStyleNode
A Node representing details of the argument style of a complex argument. (Which is a choice/plural/select argument which selects among nested messages.)
| Method Summary | |
|---|---|
MessagePattern.ArgType |
getArgType()
|
double |
getOffset()
|
List<MessagePatternUtil.VariantNode> |
getVariants()
|
MessagePatternUtil.VariantNode |
getVariantsByType(List<MessagePatternUtil.VariantNode> numericVariants,
List<MessagePatternUtil.VariantNode> keywordVariants)
Separates the variants by type. |
boolean |
hasExplicitOffset()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public MessagePattern.ArgType getArgType()
public boolean hasExplicitOffset()
public double getOffset()
public List<MessagePatternUtil.VariantNode> getVariants()
public MessagePatternUtil.VariantNode getVariantsByType(List<MessagePatternUtil.VariantNode> numericVariants,
List<MessagePatternUtil.VariantNode> keywordVariants)
Both parameters are used only for output, and are first cleared.
numericVariants - Variants with numeric-value selectors (if any) are added here.
Can be null for a select argument style.keywordVariants - Variants with keyword selectors, except "other", are added here.
For a plural argument, if this list is empty after the call, then
all variants except "other" have explicit values
and PluralRules need not be called.
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||