Class AttributeSeg
- java.lang.Object
-
- com.automation_pros.odva.cip.path.PathSegment
-
- com.automation_pros.odva.cip.path.LogicalSeg
-
- com.automation_pros.odva.cip.path.AttributeSeg
-
- All Implemented Interfaces:
java.lang.Comparable<PathSegment>
public class AttributeSeg extends LogicalSeg
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAttributeSeg.DecoderDecode bytes expected to contain one encoded path segment.-
Nested classes/interfaces inherited from class com.automation_pros.odva.cip.path.LogicalSeg
LogicalSeg.LogicalParser
-
Nested classes/interfaces inherited from class com.automation_pros.odva.cip.path.PathSegment
PathSegment.HasAlternateHex
-
-
Field Summary
Fields Modifier and Type Field Description protected static AttributeSeg[]cachestatic byteSUBTYPE-
Fields inherited from class com.automation_pros.odva.cip.path.LogicalSeg
format, SEGTYPE, subtype, value
-
Fields inherited from class com.automation_pros.odva.cip.path.PathSegment
identifierChars, segtype
-
-
Constructor Summary
Constructors Constructor Description AttributeSeg()AttributeSeg(byte fmt, int val)AttributeSeg(int val)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AttributeSeggetCached(int val)java.util.List<java.lang.String>getTokens()java.lang.StringsimpleString()Supply s simple descriptive name usable when browsing a hierarchy.-
Methods inherited from class com.automation_pros.odva.cip.path.LogicalSeg
compareTo, getBytes, getFormat, getSubtype, getTokens, getValue, getWords, hashCode, put, set, setFormat, setSubtype, setValue
-
Methods inherited from class com.automation_pros.odva.cip.path.PathSegment
decode, decodeAll, equals, getSegtype, hexString, mergeTokens, registerHandler, setSegtype, toString
-
-
-
-
Field Detail
-
SUBTYPE
public static final byte SUBTYPE
- See Also:
- Constant Field Values
-
cache
protected static final AttributeSeg[] cache
-
-
Method Detail
-
getCached
public static AttributeSeg getCached(int val)
-
simpleString
public java.lang.String simpleString()
Description copied from class:PathSegmentSupply s simple descriptive name usable when browsing a hierarchy. A simple type name for elementary types, a non-detailed description for complex types.- Overrides:
simpleStringin classLogicalSeg- Returns:
-
getTokens
public java.util.List<java.lang.String> getTokens()
- Specified by:
getTokensin classPathSegment
-
-