public static class OutTextPreparer.DataTextPreparer
extends java.lang.Object
OutTextPreparer.createArgumentDataObj()
proper and associated to the out text.
The constructor of this class is not public, it should be only gotten with this routine.
setArgument(String, Object)
to set any named argument.Modifier and Type | Field and Description |
---|---|
(package private) java.lang.Object[] |
args
Array of all arguments.
|
(package private) OutTextPreparer.DataTextPreparer[] |
argSub
Any <call in the pattern get the data for the called OutTextPreparer, but only ones, reused.
|
(package private) CalculatorExpr.Data |
calcExprData
Set on first usage.
|
int |
debugIxCmd |
java.lang.String |
debugOtx |
(package private) java.lang.Object |
execObj
The instance where the <:exec:operation...> are located. null if not necessary.
|
(package private) OutTextPreparer |
prep
The associated const data for OutText preparation used for
setArgument(String, Object) by name. |
Constructor and Description |
---|
DataTextPreparer(OutTextPreparer prep)
Package private constructor invoked only in
OutTextPreparer.createArgumentDataObj() |
Modifier and Type | Method and Description |
---|---|
void |
setArgument(int ixArg,
java.lang.Object value)
User routine to set a argument in order with a value.
|
void |
setArgument(java.lang.String name,
java.lang.Object value)
User routine to set a named argument with a value.
|
void |
setDebug(java.lang.String patternName,
int ixCmd)
Sets a debug point.
|
void |
setExecObj(java.lang.Object data)
Sets an instance due to the given 'execClass' for the script.
|
final OutTextPreparer prep
setArgument(String, Object)
by name.java.lang.Object execObj
java.lang.Object[] args
OutTextPreparer.nameVariables
with its value DataAccess.IntegerIx
.OutTextPreparer.DataTextPreparer[] argSub
CalculatorExpr.Data calcExprData
public java.lang.String debugOtx
public int debugIxCmd
DataTextPreparer(OutTextPreparer prep)
OutTextPreparer.createArgumentDataObj()
public void setArgument(java.lang.String name, java.lang.Object value)
name
- argument name of the OutTextPreparer#OutTextPreparer(String, Object, String, String)
, 3. argmentvalue
- any value for this argument.public void setArgument(int ixArg, java.lang.Object value)
name
- argument name of the OutTextPreparer#OutTextPreparer(String, Object, String, String)
, 3. argmentvalue
- any value for this argument.public void setExecObj(java.lang.Object data)
data
- The instance must be proper to the 'execClass' argument of the constructors
respectively to the OutTextPreparer.readTemplateCreatePreparer(InputStream, String, Class, Map, String).
If it does not match, an exception is thrown while processing a non static <:exec:operation:...>
public void setDebug(java.lang.String patternName, int ixCmd)
patternName
- Because the debug info is copied to called pattern, the name of the called pattern is possible here.ixCmd
- Use 0 to stop in the start cmd, see the commands with data debug, then decide.