From b3883c4dc30d8a22dbea6caaa6e7d11c4b688503 Mon Sep 17 00:00:00 2001 From: Matthew Jason Benson Date: Tue, 26 Feb 2008 22:24:34 +0000 Subject: [PATCH] refine (?) javadoc git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@631405 13f79535-47bb-0310-9956-ffa450edef68 --- .../lang/text/ExtendedMessageFormat.java | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/src/java/org/apache/commons/lang/text/ExtendedMessageFormat.java b/src/java/org/apache/commons/lang/text/ExtendedMessageFormat.java index e576a92b6..6a02ab927 100644 --- a/src/java/org/apache/commons/lang/text/ExtendedMessageFormat.java +++ b/src/java/org/apache/commons/lang/text/ExtendedMessageFormat.java @@ -34,29 +34,24 @@ import org.apache.commons.lang.Validate; * format names. This registry will be consulted when the format elements are * parsed from the message pattern. In this way custom patterns can be specified, * and the formats supported by java.text.MessageFormat can be overridden - * at the format and/or format style level (@see MessageFormat). A "format element" + * at the format and/or format style level (see MessageFormat). A "format element" * embedded in the message pattern is specified (()? signifies optionality):
- *
- * {argument-number
- * (
- *     ,format-name
- *     (,format-style)?
- * )?
- * }
- * 
+ * {argument-number(,format-name(,format-style)?)?} * + *

* format-name and format-style values are trimmed of surrounding whitespace * in the manner of java.text.MessageFormat. If format-name denotes * FormatFactory formatFactoryInstance in registry, a Format * matching format-name and format-style is requested from * formatFactoryInstance. If this is successful, the Format * found is used for this format element. + *

* *

NOTICE: The various subformat mutator methods are considered unnecessary; they exist on the parent * class to allow the type of customization which it is the job of this class to provide in * a configurable fashion. These methods have thus been disabled and will throw - * UnsupportedOperationExceptions if called.

+ * UnsupportedOperationException if called. + *

* * @author Matt Benson * @author Niall Pemberton