for(Result result : results) { if(result != null) { ResultNode resultNode = new ResultNode(); resultNodes.add(resultNode); if(result instanceof JavaResult) { resultNode.setSummary("This Smooks Filtering operation produced a JavaResult. The following is an XML serialization of the JavaResult bean Map entries."); } else if(result instanceof StringResult) { resultNode.setSummary("This Smooks Filtering operation produced the following StreamResult."); } else { resultNode.setSummary("Cannot show Smooks Filtering Result. Modify the code and use a '" + StringResult.class.getName() + "' Result in the call to the Smooks.filter() method."); resultNode.setDetail(result.toString());
for(Result result : results) { if(result != null) { ResultNode resultNode = new ResultNode(); resultNodes.add(resultNode); if(result instanceof JavaResult) { resultNode.setSummary("This Smooks Filtering operation produced a JavaResult. The following is an XML serialization of the JavaResult bean Map entries."); } else if(result instanceof StringResult) { resultNode.setSummary("This Smooks Filtering operation produced the following StreamResult."); } else { resultNode.setSummary("Cannot show Smooks Filtering Result. Modify the code and use a '" + StringResult.class.getName() + "' Result in the call to the Smooks.filter() method."); resultNode.setDetail(result.toString());
for(Result result : results) { if(result != null) { ResultNode resultNode = new ResultNode(); resultNodes.add(resultNode); if(result instanceof JavaResult) { resultNode.setSummary("This Smooks Filtering operation produced a JavaResult. The following is an XML serialization of the JavaResult bean Map entries."); } else if(result instanceof StringResult) { resultNode.setSummary("This Smooks Filtering operation produced the following StreamResult."); } else { resultNode.setSummary("Cannot show Smooks Filtering Result. Modify the code and use a '" + StringResult.class.getName() + "' Result in the call to the Smooks.filter() method."); resultNode.setDetail(result.toString());
for(Result result : results) { if(result != null) { ResultNode resultNode = new ResultNode(); resultNodes.add(resultNode); if(result instanceof JavaResult) { resultNode.setSummary("This Smooks Filtering operation produced a JavaResult. The following is an XML serialization of the JavaResult bean Map entries."); } else if(result instanceof StringResult) { resultNode.setSummary("This Smooks Filtering operation produced the following StreamResult."); } else { resultNode.setSummary("Cannot show Smooks Filtering Result. Modify the code and use a '" + StringResult.class.getName() + "' Result in the call to the Smooks.filter() method."); resultNode.setDetail(result.toString());