@ -750,7 +750,7 @@ public final class CustomPropertyEditorRegistrar implements PropertyEditorRegist
</section>
</section>
</section>
</section>
<sectionid="core.convert">
<sectionid="core-convert">
<title>Spring 3 Type Conversion</title>
<title>Spring 3 Type Conversion</title>
<para>
<para>
Spring 3 introduces a <filename>core.convert</filename> package that provides a general type conversion system.
Spring 3 introduces a <filename>core.convert</filename> package that provides a general type conversion system.
@ -983,7 +983,7 @@ public class MyService {
<sectionid="format">
<sectionid="format">
<title>Spring 3 Field Formatting</title>
<title>Spring 3 Field Formatting</title>
<para>
<para>
As discussed in the previous section, <linklinkend="core.convert"><filename>core.convert</filename></link> is a general-purpose type conversion system.
As discussed in the previous section, <linklinkend="core-convert"><filename>core.convert</filename></link> is a general-purpose type conversion system.
It provides a unified ConversionService API as well as a strongly-typed Converter SPI for implementing conversion logic from one type to another.
It provides a unified ConversionService API as well as a strongly-typed Converter SPI for implementing conversion logic from one type to another.
A Spring Container uses this system to bind bean property values.
A Spring Container uses this system to bind bean property values.
In addition, both the Spring Expression Language (SpEL) and DataBinder use this system to bind field values.
In addition, both the Spring Expression Language (SpEL) and DataBinder use this system to bind field values.
@ -1152,7 +1152,7 @@ public class MyModel {
}]]>
}]]>
</programlisting>
</programlisting>
<sectionid="format.annotations.api">
<sectionid="format-annotations-api">
<title>Format Annotation API</title>
<title>Format Annotation API</title>
<para>
<para>
A portable format annotation API exists in the <filename>org.springframework.format.annotation</filename> package.
A portable format annotation API exists in the <filename>org.springframework.format.annotation</filename> package.
@ -1259,7 +1259,7 @@ public interface FormatterRegistry {
</para>
</para>
</section>
</section>
</section>
</section>
<sectionid="validation.beanvalidation">
<sectionid="validation-beanvalidation">
<title>Spring 3 Validation</title>
<title>Spring 3 Validation</title>
<para>
<para>
Spring 3 introduces several enhancements to its validation support.
Spring 3 introduces several enhancements to its validation support.
@ -1267,7 +1267,7 @@ public interface FormatterRegistry {
Second, when used programatically, Spring's DataBinder can now validate objects as well as bind to them.
Second, when used programatically, Spring's DataBinder can now validate objects as well as bind to them.
Third, Spring MVC now has support for declaratively validating @Controller inputs.
Third, Spring MVC now has support for declaratively validating @Controller inputs.
</para>
</para>
<sectionid="validation.beanvalidation.overview">
<sectionid="validation-beanvalidation-overview">
<title>Overview of the JSR-303 Bean Validation API</title>
<title>Overview of the JSR-303 Bean Validation API</title>
<para>
<para>
JSR-303 standardizes validation constraint declaration and metadata for the Java platform.
JSR-303 standardizes validation constraint declaration and metadata for the Java platform.
@ -1306,7 +1306,7 @@ public class PersonForm {
To learn how to setup a JSR-303 implementation as a Spring bean, keep reading.
To learn how to setup a JSR-303 implementation as a Spring bean, keep reading.
</para>
</para>
</section>
</section>
<sectionid="validation.beanvalidation.spring">
<sectionid="validation-beanvalidation-spring">
<title>Configuring a Bean Validation Implementation</title>
<title>Configuring a Bean Validation Implementation</title>
<para>
<para>
Spring provides full support for the JSR-303 Bean Validation API.
Spring provides full support for the JSR-303 Bean Validation API.
@ -1323,7 +1323,7 @@ public class PersonForm {
The basic configuration above will trigger JSR-303 to initialize using its default bootstrap mechanism.
The basic configuration above will trigger JSR-303 to initialize using its default bootstrap mechanism.
A JSR-303 provider, such as Hibernate Validator, is expected to be present in the classpath and will be detected automatically.
A JSR-303 provider, such as Hibernate Validator, is expected to be present in the classpath and will be detected automatically.
<classname>LocalValidatorFactoryBean</classname> implements both <code>javax.validation.Validator</code> and <code>org.springframework.validation.Validator</code>.
<classname>LocalValidatorFactoryBean</classname> implements both <code>javax.validation.Validator</code> and <code>org.springframework.validation.Validator</code>.
To trigger validation of a @Controller input, simply annotate the input argument as @Valid:
To trigger validation of a @Controller input, simply annotate the input argument as @Valid:
@ -1450,7 +1450,7 @@ public class MyController {
</para>
</para>
</note>
</note>
</section>
</section>
<sectionid="validation.mvc.configuring">
<sectionid="validation-mvc-configuring">
<title>Configuring a Validator for use by Spring MVC</title>
<title>Configuring a Validator for use by Spring MVC</title>
<para>
<para>
The Validator instance invoked when a @Valid method argument is encountered may be configured in two ways.
The Validator instance invoked when a @Valid method argument is encountered may be configured in two ways.
@ -1492,7 +1492,7 @@ public class MyController {
]]>
]]>
</programlisting>
</programlisting>
</section>
</section>
<sectionid="validation.mvc.jsr303">
<sectionid="validation-mvc-jsr303">
<title>Configuring a JSR-303 Validator for use by Spring MVC</title>
<title>Configuring a JSR-303 Validator for use by Spring MVC</title>
<para>
<para>
With JSR-303, a single <code>javax.validation.Validator</code> instance typically validates <emphasis>all</emphasis> model objects that declare validation constraints.
With JSR-303, a single <code>javax.validation.Validator</code> instance typically validates <emphasis>all</emphasis> model objects that declare validation constraints.