Dto_downloadXsd
Mixin that provides the ability to download the XSD schema for a view model can be downloaded as XML.
Requires that the view model is a JAXB view model, and implements the Dto marker interface.
API
Dto_downloadXsd.java
class Dto_downloadXsd {
Object act(String fileName, CausewaySchemas causewaySchemas) (1)
String default0Act() (2)
CausewaySchemas default1Act() (3)
}
1 | act(String, CausewaySchemas)
The CausewaySchemas parameter can be used to optionally ignore the common Apache Causeway schemas; useful if there is only one other XSD schema referenced by the DTO. |
2 | default0Act()
Defaults to the fully qualified class name of the domain object. |
3 | default1Act()
Defaults to CausewaySchemas#IGNORE |
Members
act(String, CausewaySchemas)
The CausewaySchemas parameter can be used to optionally ignore the common Apache Causeway schemas; useful if there is only one other XSD schema referenced by the DTO.