return new PrintGetTemplateResponse();
}
public void execute(PrintGetTemplateRequest request, PrintGetTemplateResponse response) throws Exception {
// you dirty hack you...
PrintTemplateInfo template = request.getTemplate();
PageComponent page = (PageComponent) converterService.toInternal(template.getPage());
MapComponentImpl mapComponent = (MapComponentImpl) page.getChild(PrintTemplate.MAP);
if (mapComponent != null) {
LegendComponentImpl legendComponent = (LegendComponentImpl) mapComponent.getChild(PrintTemplate.LEGEND);
if (legendComponent != null) {
LabelComponentImpl lab = (LabelComponentImpl) legendComponent.getChild(PrintTemplate.TITLE);