Package net.sf.jasperreports.engine.util
Class JRApiWriterVisitor
- java.lang.Object
-
- net.sf.jasperreports.engine.util.JRApiWriterVisitor
-
-
Constructor Summary
Constructors Constructor Description JRApiWriterVisitor(JRApiWriter apiWriter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JRApiWriter
getApiWriter()
String
getName()
void
setName(String name)
void
visitBreak(JRBreak breakElement)
void
visitComponentElement(JRComponentElement componentElement)
Visits a component wrapper element.void
visitCrosstab(JRCrosstab crosstab)
void
visitElementGroup(JRElementGroup elementGroup)
void
visitEllipse(JREllipse ellipse)
void
visitFrame(JRFrame frame)
void
visitGenericElement(JRGenericElement element)
Visits a generic report element.void
visitImage(JRImage image)
void
visitLine(JRLine line)
void
visitRectangle(JRRectangle rectangle)
void
visitStaticText(JRStaticText staticText)
void
visitSubreport(JRSubreport subreport)
void
visitTextField(JRTextField textField)
-
-
-
Constructor Detail
-
JRApiWriterVisitor
public JRApiWriterVisitor(JRApiWriter apiWriter)
-
-
Method Detail
-
getApiWriter
public JRApiWriter getApiWriter()
-
visitBreak
public void visitBreak(JRBreak breakElement)
- Specified by:
visitBreak
in interfaceJRVisitor
-
visitCrosstab
public void visitCrosstab(JRCrosstab crosstab)
- Specified by:
visitCrosstab
in interfaceJRVisitor
-
visitElementGroup
public void visitElementGroup(JRElementGroup elementGroup)
- Specified by:
visitElementGroup
in interfaceJRVisitor
-
visitEllipse
public void visitEllipse(JREllipse ellipse)
- Specified by:
visitEllipse
in interfaceJRVisitor
-
visitFrame
public void visitFrame(JRFrame frame)
- Specified by:
visitFrame
in interfaceJRVisitor
-
visitImage
public void visitImage(JRImage image)
- Specified by:
visitImage
in interfaceJRVisitor
-
visitRectangle
public void visitRectangle(JRRectangle rectangle)
- Specified by:
visitRectangle
in interfaceJRVisitor
-
visitStaticText
public void visitStaticText(JRStaticText staticText)
- Specified by:
visitStaticText
in interfaceJRVisitor
-
visitSubreport
public void visitSubreport(JRSubreport subreport)
- Specified by:
visitSubreport
in interfaceJRVisitor
-
visitTextField
public void visitTextField(JRTextField textField)
- Specified by:
visitTextField
in interfaceJRVisitor
-
visitComponentElement
public void visitComponentElement(JRComponentElement componentElement)
Description copied from interface:JRVisitor
Visits a component wrapper element.- Specified by:
visitComponentElement
in interfaceJRVisitor
- Parameters:
componentElement
- the element to visit
-
visitGenericElement
public void visitGenericElement(JRGenericElement element)
Description copied from interface:JRVisitor
Visits a generic report element.- Specified by:
visitGenericElement
in interfaceJRVisitor
- Parameters:
element
- the element to visit
-
getName
public String getName()
- Returns:
- the name
-
setName
public void setName(String name)
- Parameters:
name
- the name to set
-
-