Package net.sf.jasperreports.engine
Class JRAbstractObjectFactory
java.lang.Object
net.sf.jasperreports.engine.JRAbstractObjectFactory
- All Implemented Interfaces:
JRVisitor
- Direct Known Subclasses:
JRBaseObjectFactory
,JRFillObjectFactory
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract JRConditionalStyle
getConditionalStyle
(JRConditionalStyle conditionalStyle, JRStyle parentStyle) abstract JRDefaultStyleProvider
getExpression
(JRExpression expression) abstract JRExpression
getExpression
(JRExpression expression, boolean assignNotUsedId) getFont
(JRStyleContainer styleContainer, JRFont font) abstract JRStyle
getVisitResult
(JRVisitable visitable) void
abstract void
setStyle
(JRStyleSetter setter, JRStyleContainer styleContainer) Sets a style or a style reference on an object.void
setVisitResult
(Object visitResult) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.sf.jasperreports.engine.JRVisitor
visitBreak, visitComponentElement, visitCrosstab, visitElementGroup, visitEllipse, visitFrame, visitGenericElement, visitImage, visitLine, visitRectangle, visitStaticText, visitSubreport, visitTextField
-
Constructor Details
-
JRAbstractObjectFactory
public JRAbstractObjectFactory()
-
-
Method Details
-
get
-
put
-
getVisitResult
-
setVisitResult
-
getDefaultStyleProvider
-
getStyle
-
setStyle
Sets a style or a style reference on an object. If the container includes a style (seegetStyle()
, a copy of this style will be created viagetStyle(JRStyle)
and set on the object. In addition to this, the implementation needs to handle the case when the container includes an external style reference (seegetStyleNameReference()
.- Parameters:
setter
- a setter for the object on which the style should be set.styleContainer
- the original style container- See Also:
-
getFont
-
getConditionalStyle
public abstract JRConditionalStyle getConditionalStyle(JRConditionalStyle conditionalStyle, JRStyle parentStyle) -
getExpression
-
getExpression
-