Lines Matching refs:pattern
77 * specify the message pattern, you can either pass it to the
85 * The pattern text defines the message output for each plural case of the
86 * used locale. The pattern is a sequence of
109 * <code>MessageFormat</code> pattern, <code>MessageFormat</code> will
110 * automatically evaluate the resulting format pattern.<br/>
112 * in message texts to define a nested format pattern.<br/>
150 * <code>MessageFormat</code> unquotes this pattern and passes the unquoted
151 * pattern to <code>PluralFormat</code>. It's a bit trickier if you use
153 * "<code>'</code>" in the number format pattern. Since
156 * pattern before it gets passed to <code>PluralFormat</code>, we have to
223 * Creates a new <code>PluralFormat</code> for a given pattern string.
226 * @param pattern the pattern for this <code>PluralFormat</code>.
227 * errors are returned to status if the pattern is invalid.
232 PluralFormat(const UnicodeString& pattern, UErrorCode& status);
235 * Creates a new <code>PluralFormat</code> for a given pattern string and
242 * @param pattern the pattern for this <code>PluralFormat</code>.
243 * errors are returned to status if the pattern is invalid.
248 PluralFormat(const Locale& locale, const UnicodeString& pattern, UErrorCode& status);
252 * pattern and a locale.
255 * @param pattern the pattern for this <code>PluralFormat</code>.
256 * errors are returned to status if the pattern is invalid.
262 const UnicodeString& pattern,
267 * pattern and a locale.
273 * @param pattern the pattern for this <code>PluralFormat</code>.
274 * errors are returned to status if the pattern is invalid.
281 const UnicodeString& pattern,
297 * Sets the pattern used by this plural format.
298 * The method parses the pattern and creates a map of format strings
302 * @param pattern the pattern for this plural format
303 * errors are returned to status if the pattern is invalid.
308 void applyPattern(const UnicodeString& pattern, UErrorCode& status);
314 * for. If no pattern has been applied to this
328 * for. If no pattern has been applied to this
342 * for. If no pattern has been applied to this
363 * for. If no pattern has been applied to this
383 * i.e., a pattern that was applied previously will be removed,
456 * Returns the pattern from applyPattern() or constructor().
460 * @return the UnicodeString with inserted pattern.
519 UnicodeString pattern;