1 9 package org.jboss.portal.server.output; 10 11 import java.util.Iterator ; 12 import java.util.LinkedList ; 13 import java.util.List ; 14 15 19 public class Output 20 { 21 22 protected Result targetResult; 23 protected List renderResults; 24 25 public Output() 26 { 27 renderResults = new LinkedList (); 28 } 29 30 public Result getTargetResult() 31 { 32 return targetResult; 33 } 34 35 public void setTargetResult(Result targetResult) 36 { 37 this.targetResult = targetResult; 38 } 39 40 public void addRenderResult(Result result) 41 { 42 renderResults.add(result); 43 } 44 45 public Iterator getRenderResults() 46 { 47 return renderResults.iterator(); 48 } 49 } 50 | Popular Tags |