Class LogicalSeg.LogicalParser
- java.lang.Object
-
- com.automation_pros.odva.cip.path.LogicalSeg.LogicalParser
-
- All Implemented Interfaces:
PathTokenParser
- Enclosing class:
- LogicalSeg
public static class LogicalSeg.LogicalParser extends java.lang.Object implements PathTokenParser
An attribute segment must have a ID number that fits in an unsigned word. {Per Volume 1 Paragraph 4-9.1} This parser is expected to registered for the 'attr' keyword and the 'attribute' keyword.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.reflect.Method
cacher
protected java.lang.reflect.Constructor<?>
constructor
-
Constructor Summary
Constructors Constructor Description LogicalParser(java.lang.Class<? extends LogicalSeg> target)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CipPath
parse(java.util.List<java.lang.String> tokens)
Given the parameters for a token as a list of strings, return a list of Path Segments.
-
-
-
Constructor Detail
-
LogicalParser
public LogicalParser(java.lang.Class<? extends LogicalSeg> target)
-
-
Method Detail
-
parse
public CipPath parse(java.util.List<java.lang.String> tokens)
Description copied from interface:PathTokenParser
Given the parameters for a token as a list of strings, return a list of Path Segments. The keyword token is already removed from the list. This method must remove the parameter tokens it consumes.- Specified by:
parse
in interfacePathTokenParser
- Returns:
-
-