Package net.sf.jasperreports.engine.fill
Class AbstractVariableReturnValueSourceContext
- java.lang.Object
-
- net.sf.jasperreports.engine.fill.AbstractVariableReturnValueSourceContext
-
- All Implemented Interfaces:
FillReturnValues.SourceContext
public abstract class AbstractVariableReturnValueSourceContext extends Object implements FillReturnValues.SourceContext
Class used to instantiate sub datasets.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description static String
EXCEPTION_MESSAGE_KEY_NUMERIC_TYPE_REQUIRED
static String
EXCEPTION_MESSAGE_KEY_SOURCE_NOT_FOUND
static String
EXCEPTION_MESSAGE_KEY_VARIABLE_NOT_ASSIGNABLE
-
Constructor Summary
Constructors Constructor Description AbstractVariableReturnValueSourceContext()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
check(CommonReturnValue commonReturnValue)
abstract JRVariable
getFromVariable(String name)
abstract JRFillVariable
getToVariable(String name)
-
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.fill.FillReturnValues.SourceContext
getValue
-
-
-
-
Field Detail
-
EXCEPTION_MESSAGE_KEY_NUMERIC_TYPE_REQUIRED
public static final String EXCEPTION_MESSAGE_KEY_NUMERIC_TYPE_REQUIRED
- See Also:
- Constant Field Values
-
EXCEPTION_MESSAGE_KEY_SOURCE_NOT_FOUND
public static final String EXCEPTION_MESSAGE_KEY_SOURCE_NOT_FOUND
- See Also:
- Constant Field Values
-
EXCEPTION_MESSAGE_KEY_VARIABLE_NOT_ASSIGNABLE
public static final String EXCEPTION_MESSAGE_KEY_VARIABLE_NOT_ASSIGNABLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
check
public void check(CommonReturnValue commonReturnValue) throws JRException
- Specified by:
check
in interfaceFillReturnValues.SourceContext
- Throws:
JRException
-
getFromVariable
public abstract JRVariable getFromVariable(String name)
-
getToVariable
public abstract JRFillVariable getToVariable(String name)
- Specified by:
getToVariable
in interfaceFillReturnValues.SourceContext
-
-