Package net.sf.jasperreports.engine
Class JRAbstractObjectFactory
- java.lang.Object
-
- net.sf.jasperreports.engine.JRAbstractObjectFactory
-
- All Implemented Interfaces:
JRVisitor
- Direct Known Subclasses:
JRBaseObjectFactory
,JRFillObjectFactory
public abstract class JRAbstractObjectFactory extends Object implements JRVisitor
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description JRAbstractObjectFactory()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Object
get(Object object)
abstract JRConditionalStyle
getConditionalStyle(JRConditionalStyle conditionalStyle, JRStyle parentStyle)
abstract JRDefaultStyleProvider
getDefaultStyleProvider()
JRExpression
getExpression(JRExpression expression)
abstract JRExpression
getExpression(JRExpression expression, boolean assignNotUsedId)
JRFont
getFont(JRStyleContainer styleContainer, JRFont font)
abstract JRStyle
getStyle(JRStyle style)
Object
getVisitResult(JRVisitable visitable)
void
put(Object object, Object copy)
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
-
-
-
-
Method Detail
-
getVisitResult
public Object getVisitResult(JRVisitable visitable)
-
setVisitResult
public void setVisitResult(Object visitResult)
-
getDefaultStyleProvider
public abstract JRDefaultStyleProvider getDefaultStyleProvider()
-
setStyle
public abstract void setStyle(JRStyleSetter setter, JRStyleContainer styleContainer)
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:
getStyle(JRStyle)
-
getFont
public JRFont getFont(JRStyleContainer styleContainer, JRFont font)
-
getConditionalStyle
public abstract JRConditionalStyle getConditionalStyle(JRConditionalStyle conditionalStyle, JRStyle parentStyle)
-
getExpression
public abstract JRExpression getExpression(JRExpression expression, boolean assignNotUsedId)
-
getExpression
public JRExpression getExpression(JRExpression expression)
-
-