public class ParameterRefParser
extends java.lang.Object
ParameterRefTools.findParameterReferences(String, EnumSet) is that
the parser provides position information (start and end index of parameter
reference).
Instances are created using
ParameterRefTools.getParser(String, EnumSet) or other specialised
variants like
SystemDataTools.getParser(String).
| Modifier and Type | Method and Description |
|---|---|
boolean |
findNext()
Finds the next parameter reference.
|
ProcessConstants.AdeptDataType |
getDataType()
Returns the data type of the current parameter reference.
|
int |
getEnd()
Returns the index one position after the final character in the current
match, i.e. one position after the final
%. |
java.lang.String |
getName()
Returns the name of the current parameter reference.
|
java.lang.String |
getParameterisedString()
Returns the parameterised string being processed.
|
ParameterRef |
getParameterRef()
Returns the current parameter reference.
|
int |
getStart()
Returns the start index of the current match, i.e. the first
%. |
java.lang.String |
getUdtName()
Returns the name of the user-defined data type of the current parameter
reference.
|
public java.lang.String getParameterisedString()
public boolean findNext()
public ParameterRef getParameterRef()
public ProcessConstants.AdeptDataType getDataType()
public java.lang.String getUdtName()
public java.lang.String getName()
public int getStart()
%.
This is index is valid in the original (unprocessed) string.public int getEnd()
%. This is index is
valid in the original (unprocessed) string.