Generating Java documents for XML facade
Well prepared documentation presents important aspect of further XML facade integration. Suppose we only receive the JAR package containing XML facade. It is virtually impossible to use XML facade if we don't know what the purpose of each data type is and how we can utilize it. With documentation, we receive a well-defined XML facade capable of integrating XML and Java worlds together. This recipe explains how to document the XML facade generated Java classes.
Getting ready
To complete this recipe, we only need the XML schema defined. We already have the XML schema in the Banking_BPEL project (Derivative_Cashflow.xsd
).
How to do it...
Here are the steps we need to take in order to generate Java documents for XML facade:
- We open the
Derivative_Cashflow.xsd
XML schema file. - Initially, we need to add an additional schema definition to the XML schema file:
<xsd:schema attributeFormDefault="unqualified" elementFormDefault="qualified...