1 28 package net.sf.jasperreports.engine.base; 29 30 import java.io.IOException ; 31 32 import net.sf.jasperreports.engine.JRAbstractObjectFactory; 33 import net.sf.jasperreports.engine.JRChild; 34 import net.sf.jasperreports.engine.JRConstants; 35 import net.sf.jasperreports.engine.JREllipse; 36 import net.sf.jasperreports.engine.JRExpressionCollector; 37 import net.sf.jasperreports.engine.xml.JRXmlWriter; 38 39 40 46 public class JRBaseEllipse extends JRBaseGraphicElement implements JREllipse 47 { 48 49 50 53 private static final long serialVersionUID = JRConstants.SERIAL_VERSION_UID; 54 55 56 64 protected JRBaseEllipse(JREllipse ellipse, JRBaseObjectFactory factory) 65 { 66 super(ellipse, factory); 67 } 68 69 70 73 public JRChild getCopy(JRAbstractObjectFactory factory) 74 { 75 return factory.getEllipse(this); 76 } 77 78 79 82 public void collectExpressions(JRExpressionCollector collector) 83 { 84 collector.collect(this); 85 } 86 87 88 91 public void writeXml(JRXmlWriter xmlWriter) throws IOException 92 { 93 xmlWriter.writeEllipse(this); 94 } 95 96 97 } 98 | Popular Tags |