Skip to content

Commit 347e8df

Browse files
committed
Merge pull request #79 from olivergierke/SPR-9346
* SPR-9346: Add missing section ids in reference documentation
2 parents 1d0e484 + 2a75c57 commit 347e8df

13 files changed

+86
-86
lines changed

src/reference/docbook/beans-context-additional.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ argument.required=Ebagum lad, the '{0}' argument is required, I say, required.</
611611
does.</para>
612612
</section>
613613

614-
<section>
614+
<section id="context-deploy-rar">
615615
<title>Deploying a Spring ApplicationContext as a J2EE RAR file</title>
616616

617617
<para>In Spring 2.5 and later, it is possible to deploy a Spring

src/reference/docbook/beans-dependencies.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ public class ExampleBean {
265265
</sidebar>
266266
</section>
267267

268-
<section>
268+
<section id="beans-dependency-resolution">
269269
<title>Dependency resolution process</title>
270270

271271
<para>The container performs bean dependency resolution as follows:</para>
@@ -859,7 +859,7 @@ [email protected]</programlisting>
859859
the container uses internally.</para>
860860
</section>
861861

862-
<section>
862+
<section id="beans-collection-merge-limitations">
863863
<title>Limitations of collection merging</title>
864864

865865
<para>You cannot merge different collection types (such as a

src/reference/docbook/classic-spring.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@
354354
<para>...</para>
355355
</section>
356356

357-
<section>
357+
<section id="classic-spring-jms">
358358
<title>JMS Usage</title>
359359

360360
<para>One of the benefits of Spring's JMS support is to shield the user
@@ -392,7 +392,7 @@
392392
</note>
393393
</sidebar>
394394

395-
<section>
395+
<section id="classic-spring-jms-template">
396396
<title>JmsTemplate</title>
397397

398398
<para>Located in the package
@@ -407,7 +407,7 @@
407407
that the point-to-point domain, Queues, will be used.</para>
408408
</section>
409409

410-
<section>
410+
<section id="classic-spring-aysnc-messages">
411411
<title>Asynchronous Message Reception </title>
412412

413413
<para><link
@@ -423,7 +423,7 @@
423423
rely only on the JMS 1.0.2 API. </para>
424424
</section>
425425

426-
<section>
426+
<section id="classic-spring-jms-connections">
427427
<title>Connections</title>
428428

429429
<para>The <classname>ConnectionFactory</classname> interface is part of
@@ -441,7 +441,7 @@
441441
<classname>javax.jmsTopicConnection</classname>.</para>
442442
</section>
443443

444-
<section>
444+
<section id="classic-spring-jms-tx-management">
445445
<title>Transaction Management</title>
446446

447447
<para>In a JMS 1.0.2 environment the class

src/reference/docbook/expressions.xml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ String name = (String) exp.getValue(tesla);
277277
<programlisting language="java">Expression exp = parser.parseExpression("name == 'Nikola Tesla'");
278278
boolean result = exp.getValue(context, Boolean.class); // evaluates to true</programlisting>
279279

280-
<section>
280+
<section id="expressions-evaluation-context">
281281
<title>The EvaluationContext interface</title>
282282

283283
<para>The interface <interfacename>EvaluationContext</interfacename> is
@@ -306,7 +306,7 @@ boolean result = exp.getValue(context, Boolean.class); // evaluates to true</pr
306306
expressions. Please refer to the JavaDoc of these classes for more
307307
details.</para>
308308

309-
<section>
309+
<section id="expressions-type-conversion">
310310
<title>Type Conversion</title>
311311

312312
<para>By default SpEL uses the conversion service available in Spring
@@ -514,7 +514,7 @@ Object nullValue = parser.parseExpression("null").getValue();
514514
Double.parseDouble().</para>
515515
</section>
516516

517-
<section>
517+
<section id="expressions-properties-arrays">
518518
<title>Properties, Arrays, Lists, Maps, Indexers</title>
519519

520520
<para>Navigating with property references is easy, just use a period to
@@ -576,7 +576,7 @@ parser.parseExpression("Officers['advisors'][0].PlaceOfBirth.Country").setValue(
576576

577577
</programlisting>
578578
</section>
579-
<section>
579+
<section id="expressions-inline-lists">
580580
<title>Inline lists</title>
581581

582582
<para>Lists can be expressed directly in an expression using {} notation.
@@ -593,7 +593,7 @@ List listOfLists = (List) parser.parseExpression("{{'a','b'},{'x','y'}}").getVal
593593
to represent the expression, rather than building a new list on each evaluation.</para>
594594
</section>
595595

596-
<section>
596+
<section id="expressions-array-construction">
597597
<title>Array construction</title>
598598

599599
<para>Arrays can be built using the familiar Java syntax, optionally
@@ -612,7 +612,7 @@ int[][] numbers3 = (int[][]) parser.parseExpression("new int[4][5]").getValue(co
612612
a multi-dimensional array.</para>
613613
</section>
614614

615-
<section>
615+
<section id="expressions-methods">
616616
<title>Methods</title>
617617

618618
<para>Methods are invoked using typical Java programming syntax. You may
@@ -626,10 +626,10 @@ boolean isMember = parser.parseExpression("isMember('Mihajlo Pupin')").getValue(
626626
Boolean.class);</programlisting>
627627
</section>
628628

629-
<section>
629+
<section id="expressions-operators">
630630
<title>Operators</title>
631631

632-
<section>
632+
<section id="expressions-operators-relational">
633633
<title>Relational operators</title>
634634

635635
<para>The relational operators; equal, not equal, less than, less than
@@ -667,7 +667,7 @@ boolean falseValue =
667667
These are case insensitive.</para>
668668
</section>
669669

670-
<section>
670+
<section id="expressions-operators-logical">
671671
<title>Logical operators</title>
672672

673673
<para>The logical operators that are supported are and, or, and not.
@@ -702,7 +702,7 @@ String expression = "isMember('Nikola Tesla') and !isMember('Mihajlo Pupin')";
702702
boolean falseValue = parser.parseExpression(expression).getValue(societyContext, Boolean.class);</programlisting></para>
703703
</section>
704704

705-
<section>
705+
<section id="expressions-operators-mathematical">
706706
<title>Mathematical operators</title>
707707

708708
<para>The addition operator can be used on numbers, strings and dates.
@@ -743,7 +743,7 @@ int minusTwentyOne = parser.parseExpression("1+2-3*8").getValue(Integer.class);
743743
</section>
744744
</section>
745745

746-
<section>
746+
<section id="expressions-assignment">
747747
<title>Assignment</title>
748748

749749
<para>Setting of a property is done by using the assignment operator.
@@ -765,7 +765,7 @@ String aleks = parser.parseExpression("Name = 'Alexandar Seovic'").getValue(inve
765765
<para></para>
766766
</section>
767767

768-
<section>
768+
<section id="expressions-types">
769769
<title>Types</title>
770770

771771
<para>The special 'T' operator can be used to specify an instance of
@@ -787,7 +787,7 @@ boolean trueValue =
787787
</programlisting>
788788
</section>
789789

790-
<section>
790+
<section id="expressions-constrcutors">
791791
<title>Constructors</title>
792792

793793
<para>Constructors can be invoked using the new operator. The fully
@@ -821,7 +821,7 @@ parser.parseExpression("Name = #newName").getValue(context);
821821

822822
System.out.println(tesla.getName()) // "Mike Tesla"</programlisting>
823823

824-
<section>
824+
<section id="expressions-this-root">
825825
<title>The #this and #root variables</title>
826826

827827
<para>The variable #this is always defined and refers to the current
@@ -848,7 +848,7 @@ List&lt;Integer&gt; primesGreaterThanTen =
848848
</section>
849849

850850
<!--
851-
<section>
851+
<section id="expressions-root">
852852
<title>The #root variable</title>
853853
854854
<para>The variable #root is always defined and refers to the
@@ -906,7 +906,7 @@ String helloWorldReversed =
906906
parser.parseExpression("#reverseString('hello')").getValue(context, String.class);</programlisting>
907907
</section>
908908

909-
<section>
909+
<section id="expressions-bean-references">
910910
<title>Bean references</title>
911911
<para>If the evaluation context has been configured with a bean resolver it is possible to
912912
lookup beans from an expression using the (@) symbol.
@@ -919,7 +919,7 @@ context.setBeanResolver(new MyBeanResolver());
919919
Object bean = parser.parseExpression("@foo").getValue(context);</programlisting>
920920
</section>
921921

922-
<section>
922+
<section id="expressions-operator-ternary">
923923
<title>Ternary Operator (If-Then-Else)</title>
924924

925925
<para>You can use the ternary operator for performing if-then-else
@@ -945,7 +945,7 @@ String queryResultString =
945945
shorter syntax for the ternary operator.</para>
946946
</section>
947947

948-
<section>
948+
<section id="expressions-operator-elvis">
949949
<title>The Elvis Operator</title>
950950

951951
<para>The Elvis operator is a shortening of the ternary operator syntax
@@ -986,7 +986,7 @@ name = parser.parseExpression("Name?:'Elvis Presley'").getValue(context, String.
986986
System.out.println(name); // Elvis Presley</programlisting>
987987
</section>
988988

989-
<section>
989+
<section id="expressions-operator-safe-navigation">
990990
<title>Safe Navigation operator</title>
991991

992992
<para>The Safe Navigation operator is used to avoid a
@@ -1023,7 +1023,7 @@ System.out.println(city); // null - does not throw NullPointerException!!!</prog
10231023
</note>
10241024
</section>
10251025

1026-
<section>
1026+
<section id="expressions-collection-selection">
10271027
<title>Collection Selection</title>
10281028

10291029
<para>Selection is a powerful expression language feature that allows you
@@ -1058,7 +1058,7 @@ System.out.println(city); // null - does not throw NullPointerException!!!</prog
10581058
<literal>$[...]</literal>.</para>
10591059
</section>
10601060

1061-
<section>
1061+
<section id="expressions-collection-projection">
10621062
<title>Collection Projection</title>
10631063

10641064
<para>Projection allows a collection to drive the evaluation of a
@@ -1079,7 +1079,7 @@ List placesOfBirth = (List)parser.parseExpression("Members.![placeOfBirth.city]"
10791079
projection expression against each map entry.</para>
10801080
</section>
10811081

1082-
<section>
1082+
<section id="expressions-templating">
10831083
<title>Expression templating</title>
10841084

10851085
<para>Expression templates allow a mixing of literal text with one or

src/reference/docbook/jdbc.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2925,7 +2925,7 @@ public class DataAccessUnitTestTemplate {
29252925
</section>
29262926
</section>
29272927

2928-
<section>
2928+
<section id="jdbc-intializing-datasource">
29292929
<title>Initializing a DataSource</title>
29302930

29312931
<para>The <literal>org.springframework.jdbc.datasource.init</literal>
@@ -2935,7 +2935,7 @@ public class DataAccessUnitTestTemplate {
29352935
<classname>DataSource</classname> for an application, but sometimes you
29362936
need to initialize an instance running on a server somewhere.</para>
29372937

2938-
<section>
2938+
<section id="jdbc-initializing-datasource-xml">
29392939
<title>Initializing a database instance using Spring XML</title>
29402940

29412941
<para>If you want to initialize a database and you can provide a
@@ -2999,7 +2999,7 @@ public class DataAccessUnitTestTemplate {
29992999
can simply use the <classname>DataSourceInitializer</classname>
30003000
directly, and define it as a component in your application.</para>
30013001

3002-
<section>
3002+
<section id="jdbc-client-component-initialization">
30033003
<title>Initialization of Other Components that Depend on the
30043004
Database</title>
30053005

src/reference/docbook/jms.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
should ensure that it references the managed implementation of the
141141
<classname>ConnectionFactory</classname>.</para>
142142

143-
<section>
143+
<section id="jms-caching-resources">
144144
<title>Caching Messaging Resources</title>
145145

146146
<para>The standard API involves creating many intermediate objects. To
@@ -154,7 +154,7 @@
154154
IConnectionFactory are provided.</para>
155155
</section>
156156

157-
<section>
157+
<section id="jms-connection-factory">
158158
<title>SingleConnectionFactory</title>
159159

160160
<para>Spring provides an implementation of the
@@ -171,7 +171,7 @@
171171
from JNDI.</para>
172172
</section>
173173

174-
<section>
174+
<section id="jdbc-connection-factory-caching">
175175
<title>CachingConnectionFactory</title>
176176

177177
<para>The <classname>CachingConnectionFactory</classname> extends the

src/reference/docbook/mvc.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3600,7 +3600,7 @@ public String onSubmit(<emphasis role="bold">@RequestPart("meta-data") MetaData
36003600
<section id="mvc-exceptionhandlers">
36013601
<title>Handling exceptions</title>
36023602

3603-
<section>
3603+
<section id="mvc-exceptionhandlers-resolver">
36043604
<title
36053605
id="mvc-HandlerExceptionResolver"><interfacename>HandlerExceptionResolver</interfacename></title>
36063606

src/reference/docbook/new-in-3.0.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ public class AppConfig {
404404
<literal>AnnotationConfigApplicationContext</literal>.</para>
405405
</section>
406406

407-
<section>
407+
<section id="new-bean-metadata-in-components">
408408
<title>Defining bean metadata within components</title>
409409

410410
<para><literal>@Bean</literal> annotated methods are also supported
@@ -448,7 +448,7 @@ public class AppConfig {
448448
building RESTful web services and web applications. There are also some
449449
new annotations that can be used in any web application.</para>
450450

451-
<section>
451+
<section id="new-feature-rest-support">
452452
<title>Comprehensive REST support</title>
453453

454454
<para>Server-side support for building RESTful applications has been
@@ -471,7 +471,7 @@ public class AppConfig {
471471
information.</para>
472472
</section>
473473

474-
<section>
474+
<section id="new-feature-at-mvc">
475475
<title>@MVC additions</title>
476476

477477
<para>A <literal>mvc</literal> namespace has been introduced that greatly simplifies Spring MVC configuration.</para>

0 commit comments

Comments
 (0)