Skip to content

Commit 21bd3b5

Browse files
committed
HV-2143 Adjust image layout
Signed-off-by: marko-bekhta <[email protected]>
1 parent afdc324 commit 21bd3b5

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

documentation/src/main/asciidoc/_ch08.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ _validation.xml_ has to adhere.
2222

2323
[[image-validation-configuration]]
2424
.Validation configuration schema
25-
image::validation-configuration-2.0.png[validation-configuration-2.0.xsd]
25+
image::validation-configuration-2.0.png[validation-configuration-2.0.xsd,align="center"]
2626

2727
<<example-validation-xml>>
2828
shows the several configuration options of _validation.xml_. All settings are optional and the same
@@ -81,7 +81,7 @@ constraint-mapping in _validation.xml_.
8181

8282
[[image-mapping-configuration]]
8383
.Validation mapping schema
84-
image::validation-mapping-2.0.png[validation-mapping-2.0.xsd]
84+
image::validation-mapping-2.0.png[validation-mapping-2.0.xsd,align="center"]
8585

8686
<<example-constraints-car>> shows how the classes +Car+ and +RentalCar+ from <<example-car>> resp.
8787
<<example-rental-car>> could be mapped in XML.

documentation/src/main/asciidoc/_ch13.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ hibernate-validator-annotation-processor-{hvVersion}.jar
195195
You now should see any annotation problems as regular error markers within the editor and in the
196196
"Problem" view:
197197

198-
image::annotation_processor_eclipse.png[]
198+
image::annotation_processor_eclipse.png[align="center"]
199199

200200
[[validator-annotationprocessor-idea]]
201201
===== IntelliJ IDEA
@@ -213,7 +213,7 @@ to the "Annotation Processors" list
213213

214214
Rebuilding your project then should show any erroneous constraint annotations:
215215

216-
image::annotation_processor_intellij.png[]
216+
image::annotation_processor_intellij.png[align="center"]
217217

218218
[[validator-annotationprocessor-netbeans]]
219219
===== NetBeans
@@ -229,7 +229,7 @@ org.hibernate.validator.ap.ConstraintValidationProcessor
229229

230230
Any constraint annotation problems will then be marked directly within the editor:
231231

232-
image::annotation_processor_netbeans.png[]
232+
image::annotation_processor_netbeans.png[align="center"]
233233

234234
[[validator-annotationprocessor-known-issues]]
235235
=== Known issues

documentation/src/main/asciidoc/_pr01.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ which is time consuming and error-prone. To avoid duplication of these validatio
99
bundle validation logic directly into the domain model, cluttering domain classes with validation
1010
code which is really metadata about the class itself.
1111

12-
image::application-layers.png[]
12+
image::application-layers.png[align="center"]
1313

1414
Jakarta Validation {bvVersion} defines a metadata model and API for entity and method validation.
1515
The default metadata source are annotations, with the ability to override and extend the meta-data
1616
through the use of XML. The API is not tied to a specific application tier nor programming model. It
1717
is specifically not tied to either web or persistence tier, and is available for both server-side
1818
application programming, as well as rich client Swing application developers.
1919

20-
image::application-layers2.png[]
20+
image::application-layers2.png[align="center"]
2121

2222
Hibernate Validator is the reference implementation of Jakarta Validation. The implementation itself as
2323
well as the Jakarta Validation API and TCK are all provided and distributed under the

0 commit comments

Comments
 (0)