Class S7StringVarLengthTag
- java.lang.Object
-
- org.apache.plc4x.java.s7.readwrite.tag.S7Tag
-
- org.apache.plc4x.java.s7.readwrite.tag.S7StringVarLengthTag
-
- All Implemented Interfaces:
PlcTag,Serializable
public class S7StringVarLengthTag extends S7Tag
-
-
Field Summary
Fields Modifier and Type Field Description static PatternDATA_BLOCK_STRING_VAR_LENGTH_ADDRESS_PATTERNstatic PatternDATA_BLOCK_STRING_VAR_LENGTH_SHORT_PATTERN-
Fields inherited from class org.apache.plc4x.java.s7.readwrite.tag.S7Tag
BIT_OFFSET, BLOCK_NUMBER, BYTE_OFFSET, DATA_TYPE, MEMORY_AREA, NUM_ELEMENTS, STRING_LENGTH, TRANSFER_SIZE_CODE
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedS7StringVarLengthTag(TransportSize dataType, MemoryArea memoryArea, int blockNumber, int byteOffset, byte bitOffset, int numElements)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static booleanmatches(String address)static S7StringVarLengthTagof(String address)voidserialize(WriteBuffer writeBuffer)-
Methods inherited from class org.apache.plc4x.java.s7.readwrite.tag.S7Tag
checkByteOffset, checkDataBlockNumber, getAddressString, getArrayInfo, getBitOffset, getBlockNumber, getByteOffset, getDataType, getMemoryArea, getMemoryAreaForShortName, getNumberOfElements, getPlcDataType, getPlcValueType, getSizeCode, toString
-
-
-
-
Constructor Detail
-
S7StringVarLengthTag
protected S7StringVarLengthTag(TransportSize dataType, MemoryArea memoryArea, int blockNumber, int byteOffset, byte bitOffset, int numElements)
-
-
Method Detail
-
matches
public static boolean matches(String address)
-
serialize
public void serialize(WriteBuffer writeBuffer) throws SerializationException
- Specified by:
serializein interfaceSerializable- Overrides:
serializein classS7Tag- Throws:
SerializationException
-
of
public static S7StringVarLengthTag of(String address)
-
-