org.codehaus.enunciate.modules.gwt.gwt-fault-mapper.fmt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of enunciate-gwt Show documentation
Show all versions of enunciate-gwt Show documentation
The Enunciate GWT module generates the artifacts to support the GWT application.
[#ftl]
[@file name=(fault.simpleName + "GWTMapper.java") package=fault.package.qualifiedName + ".gwt" charset="utf-8"]
/**
* ${(generatedCodeLicense!"")?replace("\n", "\n * ")}
*
* Generated by Enunciate.
*/
package ${fault.package.qualifiedName}.gwt;
import org.codehaus.enunciate.modules.gwt.*;
/**
* Mapper from ${fault.qualifiedName} to ${classnameFor(fault)} and vice-versa.
*
* @author Ryan Heaton
*/
@java.lang.SuppressWarnings( {"all"} )
public class ${fault.simpleName}GWTMapper extends BaseGWTMapper {
public ${fault.simpleName}GWTMapper() {
super(${fault.qualifiedName}.class, ${classnameFor(fault)}.class[#if !fault.implicitSchemaElement], "faultInfo"[#else][#list fault.childElements as childElement], "${childElement.property.simpleName}"[/#list][/#if]);
}
}
[/@file]