public class IOParameterRefParser
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.getIOParser(String, EnumSet) or other specialised
variants if available.
| Modifier and Type | Method and Description |
|---|---|
boolean |
findNext()
Finds the next parameter reference.
|
ProcessConstants.AdeptDataType |
getDataType()
Returns the data type of the current IO 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 |
getInputName()
Returns the name of the referenced input parameter.
|
java.lang.String |
getOutputName()
Returns the name of the referenced output parameter.
|
IOParameterRef |
getParameterRef()
Returns the current IO parameter reference.
|
int |
getStart()
Returns the start index of the current match, i.e. the first
%. |
public boolean findNext()
public IOParameterRef getParameterRef()
public ProcessConstants.AdeptDataType getDataType()
public java.lang.String getInputName()
public java.lang.String getOutputName()
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.