public class FormulaTermLabelFactory extends java.lang.Object implements TermLabelFactory<FormulaTermLabel>
FormulaTermLabel
objects.Constructor and Description |
---|
FormulaTermLabelFactory() |
Modifier and Type | Method and Description |
---|---|
FormulaTermLabel |
parseInstance(java.util.List<java.lang.String> parameters,
TermServices services)
Parses the arguments and produces a term label.
|
public FormulaTermLabel parseInstance(java.util.List<java.lang.String> parameters, TermServices services) throws TermLabelException
An implementation should throw a TermLabelException
if the
arguments cannot be parsed correctly for this type.
This method accepts single arguments which can be parsed as an integer.
parseInstance
in interface TermLabelFactory<FormulaTermLabel>
parameters
- the arguments for parsing, not null
, no entry
null
services
- a non-null
services object to look up symbols.null
TermLabelException
- if the parameters were illegally formatted