Uses of Class
com.ibm.icu.text.MessagePattern
Packages that use MessagePattern
-
Uses of MessagePattern in com.ibm.icu.samples.text.messagepattern
Fields in com.ibm.icu.samples.text.messagepattern declared as MessagePatternMethods in com.ibm.icu.samples.text.messagepattern that return MessagePatternMethods in com.ibm.icu.samples.text.messagepattern with parameters of type MessagePatternModifier and TypeMethodDescriptionprivate static final void
MessagePatternDemo.printParts
(MessagePattern msg) Constructors in com.ibm.icu.samples.text.messagepattern with parameters of type MessagePattern -
Uses of MessagePattern in com.ibm.icu.text
Fields in com.ibm.icu.text declared as MessagePatternModifier and TypeFieldDescriptionprivate MessagePattern
MessageFormat.msgPattern
The MessagePattern which contains the parsed structure of the pattern string.private MessagePattern
PluralFormat.msgPattern
The MessagePattern which contains the parsed structure of the pattern string.private MessagePattern
SelectFormat.msgPattern
The MessagePattern which contains the parsed structure of the pattern string.Methods in com.ibm.icu.text that return MessagePatternModifier and TypeMethodDescriptionMessagePattern.cloneAsThawed()
Creates and returns an unfrozen copy of this object.MessagePattern.freeze()
Freezes this object, making it immutable and thread-safe.Parses a MessageFormat pattern string.MessagePattern.parseChoiceStyle
(String pattern) Parses a ChoiceFormat pattern string.MessagePattern.parsePluralStyle
(String pattern) Parses a PluralFormat pattern string.MessagePattern.parseSelectStyle
(String pattern) Parses a SelectFormat pattern string.Methods in com.ibm.icu.text with parameters of type MessagePatternModifier and TypeMethodDescriptionprivate static MessagePatternUtil.ArgNode
MessagePatternUtil.buildArgNode
(MessagePattern pattern, int start, int limit) private static MessagePatternUtil.ComplexArgStyleNode
MessagePatternUtil.buildChoiceStyleNode
(MessagePattern pattern, int start, int limit) MessagePatternUtil.buildMessageNode
(MessagePattern pattern) Factory method, builds and returns a MessageNode from a MessagePattern.private static MessagePatternUtil.MessageNode
MessagePatternUtil.buildMessageNode
(MessagePattern pattern, int start, int limit) private static MessagePatternUtil.ComplexArgStyleNode
MessagePatternUtil.buildPluralStyleNode
(MessagePattern pattern, int start, int limit, MessagePattern.ArgType argType) private static MessagePatternUtil.ComplexArgStyleNode
MessagePatternUtil.buildSelectStyleNode
(MessagePattern pattern, int start, int limit) private static int
MessageFormat.findChoiceSubMessage
(MessagePattern pattern, int partIndex, double number) Finds the ChoiceFormat sub-message for the given number.(package private) static int
PluralFormat.findSubMessage
(MessagePattern pattern, int partIndex, PluralFormat.PluralSelector selector, Object context, double number) Finds the PluralFormat sub-message for the given number, or the "other" sub-message.(package private) static int
SelectFormat.findSubMessage
(MessagePattern pattern, int partIndex, String keyword) Finds the SelectFormat sub-message for the given keyword, or the "other" sub-message.private static int
MessageFormat.matchStringUntilLimitPart
(MessagePattern pattern, int partIndex, int limitPartIndex, String source, int sourceOffset) Matches the pattern string from the end of the partIndex to the beginning of the limitPartIndex, including all syntax except SKIP_SYNTAX, against the source string starting at sourceOffset.private static double
MessageFormat.parseChoiceArgument
(MessagePattern pattern, int partIndex, String source, ParsePosition pos)