File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
documentation/src/main/asciidoc Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff 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>>
2828shows 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.
Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ hibernate-validator-annotation-processor-{hvVersion}.jar
195195You 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
214214Rebuilding 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
230230Any 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
Original file line number Diff line number Diff line change @@ -9,15 +9,15 @@ which is time consuming and error-prone. To avoid duplication of these validatio
99bundle validation logic directly into the domain model, cluttering domain classes with validation
1010code which is really metadata about the class itself.
1111
12- image::application-layers.png[]
12+ image::application-layers.png[align="center" ]
1313
1414Jakarta Validation {bvVersion} defines a metadata model and API for entity and method validation.
1515The default metadata source are annotations, with the ability to override and extend the meta-data
1616through the use of XML. The API is not tied to a specific application tier nor programming model. It
1717is specifically not tied to either web or persistence tier, and is available for both server-side
1818application programming, as well as rich client Swing application developers.
1919
20- image::application-layers2.png[]
20+ image::application-layers2.png[align="center" ]
2121
2222Hibernate Validator is the reference implementation of Jakarta Validation. The implementation itself as
2323well as the Jakarta Validation API and TCK are all provided and distributed under the
You can’t perform that action at this time.
0 commit comments