Fuse 6 is no longer supported
As of February 2025, Red Hat Fuse 6 is no longer supported. If you are using Fuse 6, please upgrade to Red Hat build of Apache Camel.Este conteúdo não está disponível no idioma selecionado.
36.3. Generating Java Classes for Simple Types
Overview Copiar o linkLink copiado para a área de transferência!
globalBindings
customization element's mapSimpleTypeDef
to true
.
Adding the customization Copiar o linkLink copiado para a área de transferência!
globalBinding
element's mapSimpleTypeDef
attribute and set its value to true
.
Example 36.13. in-Line Customization to Force Generation of Java Classes for SimpleTypes
Example 36.14. Binding File to Force Generation of Constants
Generated classes Copiar o linkLink copiado para a área de transferência!
Example 36.15. Simple Type for Customized Mapping
<simpleType name="simpleton"> <restriction base="xsd:string"> <maxLength value="10"/> </restriction> </simpleType>
<simpleType name="simpleton">
<restriction base="xsd:string">
<maxLength value="10"/>
</restriction>
</simpleType>
Example 36.16. Customized Mapping of a Simple Type