XJC Plugins
Stable • Since 1.5.11
XJC plugins for wsdl2java code generation. You’ll need to add this extension if you want to use any of the following in quarkus.cxf.codegen.wsdl2java.additional-params:
-
-xjc-Xbg- generategetFoo()instead ofisFoo()accessor methods for boolean fields. -
-xjc-Xdv- let the generated getter methods return the default value defined in the schema unless the field is set explicitly. -
-xjc-Xjavadoc- generate JavaDoc based onxs:documentationpresent in the schema. -
-xjc-Xproperty-listener- addPropertyChangeListenersupport to the generated beans. -
-xjc-Xts- generatetoString()methods in model classes. -
-xjc-Xwsdlextension- generate beans that can be used directly with WSDL4J as extensors in the WSDL.
Check the wsdl2java section of User guide for more details about wsdl2java.
|
Maven coordinates
Create a new project using quarkus-cxf-xjc-plugins on code.quarkus.io
or add these coordinates to your existing project:
<dependency>
<groupId>io.quarkiverse.cxf</groupId>
<artifactId>quarkus-cxf-xjc-plugins</artifactId>
</dependency>
| Check the User guide and especially its Dependency management section for more information about writing applications with CXF Extensions for Quarkus. |