Class OmStringDefSeg.Parser
- java.lang.Object
-
- com.automation_pros.odva.cip.path.OmStringDefSeg.Parser
-
- All Implemented Interfaces:
TypeTokenParser
- Enclosing class:
- OmStringDefSeg
public static class OmStringDefSeg.Parser extends java.lang.Object implements TypeTokenParser
Registered as "omstring". A following token is the bytes-per allocation.
-
-
Constructor Summary
Constructors Constructor Description Parser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataDefinitionSeg
parse(java.util.List<java.lang.String> tokens)
Given the parameters for a token as a list of strings, construct and return the corresponding data definition segment.
-
-
-
Method Detail
-
parse
public DataDefinitionSeg parse(java.util.List<java.lang.String> tokens)
Description copied from interface:TypeTokenParser
Given the parameters for a token as a list of strings, construct and return the corresponding data definition segment. The keyword token is already removed from the list. This method must remove the parameter tokens it consumes.- Specified by:
parse
in interfaceTypeTokenParser
- Parameters:
tokens
- The remaining tokens.- Returns:
- The single resultiing data definition segment.
-
-