public interface ITextParser
extends com4j.Com4jObject
| Modifier and Type | Method and Description |
|---|---|
void |
clearParam(Object vParam)
Clear the parameter - Set its value to null.
|
int |
count()
Gets the number of parameters.
|
void |
evaluateText()
Converts the parameters to their values.
|
void |
initialize(String startClose,
String endClose,
String typeClose,
int maxLen,
String defaultType)
Initializes the parser.
|
boolean |
paramExist(String paramName)
Checks if a parameter with the specified name exists.
|
String |
paramName(int nPosition)
Gets the parameter name.
|
String |
paramType(Object vParam)
Gets the user-defined Parameter Type.
|
String |
paramValue(Object vParam)
The parameter value.
|
void |
paramValue(Object vParam,
String pVal)
The parameter value.
|
String |
text()
The text to be parsed.
|
void |
text(String pVal)
The text to be parsed.
|
int |
type(Object vParam)
Gets the Parameter Type - predefined, null, or regular.
|
int count()
Gets the number of parameters.
Getter method for the COM property "Count"
String paramValue(Object vParam)
The parameter value.
Getter method for the COM property "ParamValue"
vParam - Mandatory java.lang.Object parameter.void paramValue(Object vParam, String pVal)
The parameter value.
Setter method for the COM property "ParamValue"
vParam - Mandatory java.lang.Object parameter.pVal - Mandatory java.lang.String parameter.void clearParam(Object vParam)
Clear the parameter - Set its value to null.
vParam - Mandatory java.lang.Object parameter.int type(Object vParam)
Gets the Parameter Type - predefined, null, or regular.
Getter method for the COM property "Type"
vParam - Mandatory java.lang.Object parameter.String paramType(Object vParam)
Gets the user-defined Parameter Type.
Getter method for the COM property "ParamType"
vParam - Mandatory java.lang.Object parameter.boolean paramExist(String paramName)
Checks if a parameter with the specified name exists.
Getter method for the COM property "ParamExist"
paramName - Mandatory java.lang.String parameter.String paramName(int nPosition)
Gets the parameter name.
Getter method for the COM property "ParamName"
nPosition - Mandatory int parameter.void initialize(@DefaultValue(value="<%")
String startClose,
@DefaultValue(value="%>")
String endClose,
@DefaultValue(value="?")
String typeClose,
@DefaultValue(value="-1")
int maxLen,
@DefaultValue(value="string")
String defaultType)
Initializes the parser.
startClose - Optional parameter. Default value is "<%"endClose - Optional parameter. Default value is "%>"typeClose - Optional parameter. Default value is "?"maxLen - Optional parameter. Default value is -1defaultType - Optional parameter. Default value is "string"void text(String pVal)
The text to be parsed.
Setter method for the COM property "Text"
pVal - Mandatory java.lang.String parameter.String text()
The text to be parsed.
Getter method for the COM property "Text"
void evaluateText()
Converts the parameters to their values.
Copyright © 2020. All rights reserved.