From b5763fe32628af72310585ef296e087e7908659e Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Wed, 20 Aug 2014 16:36:12 +0200 Subject: [PATCH] Consistent attribute documentation/formatting in spring-context and spring-mvc schemas --- .../context/config/spring-context-3.2.xsd | 59 +++---- .../context/config/spring-context-4.0.xsd | 59 +++---- .../context/config/spring-context-4.1.xsd | 59 +++---- .../web/servlet/config/spring-mvc-3.2.xsd | 43 +++-- .../web/servlet/config/spring-mvc-4.0.xsd | 167 +++++++++--------- .../web/servlet/config/spring-mvc-4.1.xsd | 62 ++++--- 6 files changed, 218 insertions(+), 231 deletions(-) diff --git a/spring-context/src/main/resources/org/springframework/context/config/spring-context-3.2.xsd b/spring-context/src/main/resources/org/springframework/context/config/spring-context-3.2.xsd index d650f07135..6ad5298417 100644 --- a/spring-context/src/main/resources/org/springframework/context/config/spring-context-3.2.xsd +++ b/spring-context/src/main/resources/org/springframework/context/config/spring-context-3.2.xsd @@ -25,24 +25,25 @@ @@ -50,39 +51,36 @@ - + - + - + @@ -104,12 +102,11 @@ traditional PropertyPlaceholderConfigurer component will be registered instead of the new PropertySourcesPlaceholderConfigurer. - See ConfigurableEnvironment Javadoc for more information on using. + See ConfigurableEnvironment javadoc for more information on using. ]]> - + @@ -130,7 +127,7 @@ newer PropertySourcesPlaceholderConfigurer variant. In this case, the Spring Environment and its property sources are not interrogated when resolving placeholders. Users are encouraged to consider this attribute deprecated, and to take advantage of - Environment/PropertySource mechanisms. See ConfigurableEnvironment Javadoc for examples. + Environment/PropertySource mechanisms. See ConfigurableEnvironment javadoc for examples. "ENVIRONMENT" indicates placeholders should be resolved against the current Environment and against any local properties; "NEVER" indicates placeholders should be resolved only against local properties and never against system properties; @@ -184,7 +181,7 @@ @TransactionAttribute annotation. Consider the use of the tag for that purpose. - See Javadoc for org.springframework.context.annotation.AnnotationConfigApplicationContext + See javadoc for org.springframework.context.annotation.AnnotationConfigApplicationContext for information on code-based alternatives to bootstrapping annotation-driven support. from XML. ]]> @@ -211,7 +208,7 @@ definitions just like to regular bean definitions, but it won't apply to the component scan settings themselves. - See Javadoc for org.springframework.context.annotation.ComponentScan for information + See javadoc for org.springframework.context.annotation.ComponentScan for information on code-based alternatives to bootstrapping component-scanning. ]]> @@ -336,7 +333,7 @@ This will only happen if the AnnotationBeanConfigurerAspect is on the classpath (i.e. spring-aspects.jar), effectively activating "spring-configured" by default. - See Javadoc for org.springframework.context.annotation.EnableLoadTimeWeaving + See javadoc for org.springframework.context.annotation.EnableLoadTimeWeaving for information on code-based alternatives to bootstrapping load-time weaving support. ]]> diff --git a/spring-context/src/main/resources/org/springframework/context/config/spring-context-4.0.xsd b/spring-context/src/main/resources/org/springframework/context/config/spring-context-4.0.xsd index 6b69546f54..10bce2d33a 100644 --- a/spring-context/src/main/resources/org/springframework/context/config/spring-context-4.0.xsd +++ b/spring-context/src/main/resources/org/springframework/context/config/spring-context-4.0.xsd @@ -25,24 +25,25 @@ @@ -50,39 +51,36 @@ - + - + - + @@ -104,12 +102,11 @@ traditional PropertyPlaceholderConfigurer component will be registered instead of the new PropertySourcesPlaceholderConfigurer. - See ConfigurableEnvironment Javadoc for more information on using. + See ConfigurableEnvironment javadoc for more information on using. ]]> - + @@ -130,7 +127,7 @@ newer PropertySourcesPlaceholderConfigurer variant. In this case, the Spring Environment and its property sources are not interrogated when resolving placeholders. Users are encouraged to consider this attribute deprecated, and to take advantage of - Environment/PropertySource mechanisms. See ConfigurableEnvironment Javadoc for examples. + Environment/PropertySource mechanisms. See ConfigurableEnvironment javadoc for examples. "ENVIRONMENT" indicates placeholders should be resolved against the current Environment and against any local properties; "NEVER" indicates placeholders should be resolved only against local properties and never against system properties; @@ -184,7 +181,7 @@ @TransactionAttribute annotation. Consider the use of the tag for that purpose. - See Javadoc for org.springframework.context.annotation.AnnotationConfigApplicationContext + See javadoc for org.springframework.context.annotation.AnnotationConfigApplicationContext for information on code-based alternatives to bootstrapping annotation-driven support. from XML. ]]> @@ -211,7 +208,7 @@ definitions just like to regular bean definitions, but it won't apply to the component scan settings themselves. - See Javadoc for org.springframework.context.annotation.ComponentScan for information + See javadoc for org.springframework.context.annotation.ComponentScan for information on code-based alternatives to bootstrapping component-scanning. ]]> @@ -334,7 +331,7 @@ This will only happen if the AnnotationBeanConfigurerAspect is on the classpath (i.e. spring-aspects.jar), effectively activating "spring-configured" by default. - See Javadoc for org.springframework.context.annotation.EnableLoadTimeWeaving + See javadoc for org.springframework.context.annotation.EnableLoadTimeWeaving for information on code-based alternatives to bootstrapping load-time weaving support. ]]> diff --git a/spring-context/src/main/resources/org/springframework/context/config/spring-context-4.1.xsd b/spring-context/src/main/resources/org/springframework/context/config/spring-context-4.1.xsd index 7b1468eece..fa3dde8666 100644 --- a/spring-context/src/main/resources/org/springframework/context/config/spring-context-4.1.xsd +++ b/spring-context/src/main/resources/org/springframework/context/config/spring-context-4.1.xsd @@ -25,24 +25,25 @@ @@ -50,39 +51,36 @@ - + - + - + @@ -104,12 +102,11 @@ traditional PropertyPlaceholderConfigurer component will be registered instead of the new PropertySourcesPlaceholderConfigurer. - See ConfigurableEnvironment Javadoc for more information on using. + See ConfigurableEnvironment javadoc for more information on using. ]]> - + @@ -130,7 +127,7 @@ newer PropertySourcesPlaceholderConfigurer variant. In this case, the Spring Environment and its property sources are not interrogated when resolving placeholders. Users are encouraged to consider this attribute deprecated, and to take advantage of - Environment/PropertySource mechanisms. See ConfigurableEnvironment Javadoc for examples. + Environment/PropertySource mechanisms. See ConfigurableEnvironment javadoc for examples. "ENVIRONMENT" indicates placeholders should be resolved against the current Environment and against any local properties; "NEVER" indicates placeholders should be resolved only against local properties and never against system properties; @@ -184,7 +181,7 @@ @TransactionAttribute annotation. Consider the use of the tag for that purpose. - See Javadoc for org.springframework.context.annotation.AnnotationConfigApplicationContext + See javadoc for org.springframework.context.annotation.AnnotationConfigApplicationContext for information on code-based alternatives to bootstrapping annotation-driven support. from XML. ]]> @@ -211,7 +208,7 @@ definitions just like to regular bean definitions, but it won't apply to the component scan settings themselves. - See Javadoc for org.springframework.context.annotation.ComponentScan for information + See javadoc for org.springframework.context.annotation.ComponentScan for information on code-based alternatives to bootstrapping component-scanning. ]]> @@ -334,7 +331,7 @@ This will only happen if the AnnotationBeanConfigurerAspect is on the classpath (i.e. spring-aspects.jar), effectively activating "spring-configured" by default. - See Javadoc for org.springframework.context.annotation.EnableLoadTimeWeaving + See javadoc for org.springframework.context.annotation.EnableLoadTimeWeaving for information on code-based alternatives to bootstrapping load-time weaving support. ]]> diff --git a/spring-webmvc/src/main/resources/org/springframework/web/servlet/config/spring-mvc-3.2.xsd b/spring-webmvc/src/main/resources/org/springframework/web/servlet/config/spring-mvc-3.2.xsd index 248145ab6b..9740c087aa 100644 --- a/spring-webmvc/src/main/resources/org/springframework/web/servlet/config/spring-mvc-3.2.xsd +++ b/spring-webmvc/src/main/resources/org/springframework/web/servlet/config/spring-mvc-3.2.xsd @@ -8,18 +8,17 @@ elementFormDefault="qualified" attributeFormDefault="unqualified"> - - + + @@ -39,14 +38,14 @@ @@ -65,8 +64,8 @@ @@ -80,13 +79,13 @@ - + @@ -100,7 +99,7 @@ - + @@ -237,7 +236,7 @@ - diff --git a/spring-webmvc/src/main/resources/org/springframework/web/servlet/config/spring-mvc-4.0.xsd b/spring-webmvc/src/main/resources/org/springframework/web/servlet/config/spring-mvc-4.0.xsd index 5846e0f391..0ae4616117 100644 --- a/spring-webmvc/src/main/resources/org/springframework/web/servlet/config/spring-mvc-4.0.xsd +++ b/spring-webmvc/src/main/resources/org/springframework/web/servlet/config/spring-mvc-4.0.xsd @@ -8,8 +8,8 @@ elementFormDefault="qualified" attributeFormDefault="unqualified"> - - + + @@ -17,70 +17,69 @@ Configures the annotation-driven Spring MVC Controller programming model. Note that this tag works in Web MVC only, not in Portlet MVC! - See org.springframework.web.servlet.config.annotation.EnableWebMvc Javadoc for - information on code-based alternatives to enabling annotation-driven Spring MVC - support. + See org.springframework.web.servlet.config.annotation.EnableWebMvc javadoc for details + on code-based alternatives to enabling annotation-driven Spring MVC support. ]]> - - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -122,8 +121,8 @@ @@ -142,8 +141,8 @@ @@ -210,7 +209,7 @@ @@ -294,7 +293,7 @@ - - - + + - - - - - - - + + + + + + + - diff --git a/spring-webmvc/src/main/resources/org/springframework/web/servlet/config/spring-mvc-4.1.xsd b/spring-webmvc/src/main/resources/org/springframework/web/servlet/config/spring-mvc-4.1.xsd index fb30c9f0a2..5332453ac1 100644 --- a/spring-webmvc/src/main/resources/org/springframework/web/servlet/config/spring-mvc-4.1.xsd +++ b/spring-webmvc/src/main/resources/org/springframework/web/servlet/config/spring-mvc-4.1.xsd @@ -8,8 +8,8 @@ elementFormDefault="qualified" attributeFormDefault="unqualified"> - - + + @@ -17,9 +17,8 @@ Configures the annotation-driven Spring MVC Controller programming model. Note that this tag works in Web MVC only, not in Portlet MVC! - See org.springframework.web.servlet.config.annotation.EnableWebMvc Javadoc for - information on code-based alternatives to enabling annotation-driven Spring MVC - support. + See org.springframework.web.servlet.config.annotation.EnableWebMvc javadoc for details + on code-based alternatives to enabling annotation-driven Spring MVC support. ]]> @@ -28,7 +27,7 @@ @@ -96,14 +95,14 @@ @@ -234,7 +233,7 @@ @@ -318,7 +317,7 @@ @@ -648,16 +647,15 @@ @@ -783,7 +781,7 @@ before or after it. When content negotiation is enabled the order property is set to highest priority - instead with the ContentNeogitatingViewResolver encapsulating all other registered + instead with the ContentNegotiatingViewResolver encapsulating all other registered view resolver instances. That way the resolvers registered through the MVC namespace form self-encapsulated resolver chain. ]]> @@ -794,17 +792,17 @@ + ]]> + By default, "/WEB-INF/" is registered as a view name prefix and ".jsp" as a suffix. + ]]> @@ -813,14 +811,14 @@ Register a TilesViewResolver based on Tiles 3.x. To configure Tiles you must also add a top-level element or declare a TilesConfigurer bean. - ]]> + ]]> element or declare a FreeMarkerConfigurer bean. ]]> @@ -830,7 +828,7 @@ element or declare a VelocityConfigurer bean. ]]> @@ -840,7 +838,7 @@ element or declare a GroovyMarkupConfigurer bean. ]]> @@ -850,21 +848,21 @@ + ]]> + ]]> + ]]> @@ -887,7 +885,7 @@ + ]]> @@ -898,14 +896,14 @@ + ]]> + ]]> @@ -926,7 +924,7 @@ + ]]>