Author: mbenson Date: Tue Feb 26 14:24:34 2008 New Revision: 631405 URL: http://svn.apache.org/viewvc?rev=631405&view=rev Log: refine (?) javadoc
Modified: commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/ExtendedMessageFormat.java Modified: commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/ExtendedMessageFormat.java URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/ExtendedMessageFormat.java?rev=631405&r1=631404&r2=631405&view=diff ============================================================================== --- commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/ExtendedMessageFormat.java (original) +++ commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/ExtendedMessageFormat.java Tue Feb 26 14:24:34 2008 @@ -34,29 +34,24 @@ * 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 <code>java.text.MessageFormat</code> 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 (<b>()?</b> signifies optionality):<br /> - * <pre> - * <code>{</code - * <i>argument-number</i> - * <b>(</b> - * <code>,</code><i>format-name</i> - * <b>(</b><code>,</code><i>format-style</i><b>)?</b> - * <b>)?</b> - * <code>}</code> - * </pre> + * <code>{</code<i>argument-number</i><b>(</b><code>,</code><i>format-name</i><b>(</b><code>,</code><i>format-style</i><b>)?</b><b>)?</b><code>}</code> * + * <p> * <i>format-name</i> and <i>format-style</i> values are trimmed of surrounding whitespace * in the manner of <code>java.text.MessageFormat</code>. If <i>format-name</i> denotes * <code>FormatFactory formatFactoryInstance</code> in <code>registry</code>, a <code>Format</code> * matching <i>format-name</i> and <i>format-style</i> is requested from * <code>formatFactoryInstance</code>. If this is successful, the <code>Format</code> * found is used for this format element. + * </p> * * <p>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 - * <code>UnsupportedOperationException</code>s if called.</p> + * <code>UnsupportedOperationException</code> if called. + * </p> * * @author Matt Benson * @author Niall Pemberton