Lines Matching refs:pattern
79 * specify the message pattern, you can either pass it to the
87 * The pattern text defines the message output for each plural case of the
88 * used locale. The pattern is a sequence of
112 * <code>MessageFormat</code> pattern, <code>MessageFormat</code> will
113 * automatically evaluate the resulting format pattern.<br>
115 * in message texts to define a nested format pattern.<br>
155 * <code>MessageFormat</code> unquotes this pattern and passes the unquoted
156 * pattern to <code>PluralFormat</code>. It's a bit trickier if you use
158 * <code>'</code> in the number format pattern. Since
161 * pattern before it gets passed to <code>PluralFormat</code>, we have to
228 * Creates a new <code>PluralFormat</code> for a given pattern string.
231 * @param pattern the pattern for this <code>PluralFormat</code>.
232 * errors are returned to status if the pattern is invalid.
237 PluralFormat(const UnicodeString& pattern, UErrorCode& status);
240 * Creates a new <code>PluralFormat</code> for a given pattern string and
247 * @param pattern the pattern for this <code>PluralFormat</code>.
248 * errors are returned to status if the pattern is invalid.
253 PluralFormat(const Locale& locale, const UnicodeString& pattern, UErrorCode& status);
257 * pattern and a locale.
260 * @param pattern the pattern for this <code>PluralFormat</code>.
261 * errors are returned to status if the pattern is invalid.
267 const UnicodeString& pattern,
272 * pattern and a locale.
278 * @param pattern the pattern for this <code>PluralFormat</code>.
279 * errors are returned to status if the pattern is invalid.
286 const UnicodeString& pattern,
302 * Sets the pattern used by this plural format.
303 * The method parses the pattern and creates a map of format strings
307 * @param pattern the pattern for this plural format
308 * errors are returned to status if the pattern is invalid.
313 void applyPattern(const UnicodeString& pattern, UErrorCode& status);
322 * for. If no pattern has been applied to this
336 * for. If no pattern has been applied to this
350 * for. If no pattern has been applied to this
371 * for. If no pattern has been applied to this
391 * i.e., a pattern that was applied previously will be removed,
464 * Returns the pattern from applyPattern() or constructor().
468 * @return the UnicodeString with inserted pattern.
527 UnicodeString pattern;