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, IsisSchemas isisSchemas) (1)
String default0Act() (2)
IsisSchemas default1Act() (3)
}
1 | act(String, IsisSchemas)
The IsisSchemas parameter can be used to optionally ignore the common Apache Isis 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 IsisSchemas#IGNORE |
Members
act(String, IsisSchemas)
The IsisSchemas parameter can be used to optionally ignore the common Apache Isis schemas; useful if there is only one other XSD schema referenced by the DTO.