3737 *
3838 * <pre class="code">
3939 * <bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource">
40- * <property name="driverClassName" value="${driver}" />
41- * <property name="url" value="jdbc:${dbname}" />
40+ * <property name="driverClassName" value="${jdbc. driver}" />
41+ * <property name="url" value="jdbc:${jdbc. dbname}" />
4242 * </bean>
4343 * </pre>
4444 *
4545 * Example properties file:
4646 *
4747 * <pre class="code">
48- * driver=com.mysql.jdbc.Driver
49- * dbname=mysql:mydb</pre>
48+ * jdbc. driver=com.mysql.jdbc.Driver
49+ * jdbc. dbname=mysql:mydb</pre>
5050 *
5151 * Annotated bean definitions may take advantage of property replacement using
5252 * the {@link org.springframework.beans.factory.annotation.Value @Value} annotation:
7979 * <p>Example XML property with default value:
8080 *
8181 * <pre class="code">
82- * <property name="url" value="jdbc:${dbname:defaultdb}" />
82+ * <property name="url" value="jdbc:${jdbc. dbname:defaultdb}" />
8383 * </pre>
8484 *
8585 * @author Chris Beams
@@ -103,6 +103,7 @@ public abstract class PlaceholderConfigurerSupport extends PropertyResourceConfi
103103 /** Default escape character: {@code '\'}. */
104104 public static final Character DEFAULT_ESCAPE_CHARACTER = '\\' ;
105105
106+
106107 /** Defaults to {@value #DEFAULT_PLACEHOLDER_PREFIX}. */
107108 protected String placeholderPrefix = DEFAULT_PLACEHOLDER_PREFIX ;
108109
@@ -133,34 +134,33 @@ public abstract class PlaceholderConfigurerSupport extends PropertyResourceConfi
133134
134135 /**
135136 * Set the prefix that a placeholder string starts with.
136- * The default is {@value #DEFAULT_PLACEHOLDER_PREFIX}.
137+ * <p> The default is {@value #DEFAULT_PLACEHOLDER_PREFIX}.
137138 */
138139 public void setPlaceholderPrefix (String placeholderPrefix ) {
139140 this .placeholderPrefix = placeholderPrefix ;
140141 }
141142
142143 /**
143144 * Set the suffix that a placeholder string ends with.
144- * The default is {@value #DEFAULT_PLACEHOLDER_SUFFIX}.
145+ * <p> The default is {@value #DEFAULT_PLACEHOLDER_SUFFIX}.
145146 */
146147 public void setPlaceholderSuffix (String placeholderSuffix ) {
147148 this .placeholderSuffix = placeholderSuffix ;
148149 }
149150
150151 /**
151- * Specify the separating character between the placeholder variable
152- * and the associated default value, or {@code null} if no such
153- * special character should be processed as a value separator.
154- * The default is {@value #DEFAULT_VALUE_SEPARATOR}.
152+ * Specify the separating character between the placeholder variable and the
153+ * associated default value, or {@code null} if no such special character
154+ * should be processed as a value separator.
155+ * <p> The default is {@value #DEFAULT_VALUE_SEPARATOR}.
155156 */
156157 public void setValueSeparator (@ Nullable String valueSeparator ) {
157158 this .valueSeparator = valueSeparator ;
158159 }
159160
160161 /**
161- * Specify the escape character to use to ignore placeholder prefix
162- * or value separator, or {@code null} if no escaping should take
163- * place.
162+ * Specify the escape character to use to ignore the placeholder prefix or
163+ * value separator, or {@code null} if no escaping should take place.
164164 * <p>Default is {@link #DEFAULT_ESCAPE_CHARACTER}.
165165 * @since 6.2
166166 */
0 commit comments