Class FixedTagSeg
- java.lang.Object
-
- com.automation_pros.odva.cip.path.PathSegment
-
- com.automation_pros.odva.cip.path.NetworkSeg
-
- com.automation_pros.odva.cip.path.FixedTagSeg
-
- All Implemented Interfaces:
java.lang.Comparable<PathSegment>
public class FixedTagSeg extends NetworkSeg
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FixedTagSeg.Decoder
Decode bytes expected to contain one encoded path segment.static class
FixedTagSeg.Parser
This parser is expected to registered for the 'ftag' and 'fixedtag' keywords.-
Nested classes/interfaces inherited from class com.automation_pros.odva.cip.path.PathSegment
PathSegment.HasAlternateHex
-
-
Field Summary
Fields Modifier and Type Field Description static byte
SUBTYPE
-
Fields inherited from class com.automation_pros.odva.cip.path.NetworkSeg
data, exttype, SEGTYPE, subtype
-
Fields inherited from class com.automation_pros.odva.cip.path.PathSegment
identifierChars, segtype
-
-
Constructor Summary
Constructors Constructor Description FixedTagSeg()
FixedTagSeg(byte tag)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(PathSegment o)
byte
getTag()
java.util.List<java.lang.String>
getTokens()
java.lang.String
simpleString()
Supply s simple descriptive name usable when browsing a hierarchy.-
Methods inherited from class com.automation_pros.odva.cip.path.NetworkSeg
getBytes, getValue, getWords, hashCode, put, set
-
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
-
-
Method Detail
-
getTag
public byte getTag()
-
compareTo
public int compareTo(PathSegment o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<PathSegment>
- Overrides:
compareTo
in classNetworkSeg
-
simpleString
public java.lang.String simpleString()
Description copied from class:PathSegment
Supply s simple descriptive name usable when browsing a hierarchy. A simple type name for elementary types, a non-detailed description for complex types.- Specified by:
simpleString
in classPathSegment
- Returns:
-
getTokens
public java.util.List<java.lang.String> getTokens()
- Specified by:
getTokens
in classPathSegment
-
-