Class LocalizedText
java.lang.Object
org.apache.plc4x.java.opcua.readwrite.LocalizedText
- All Implemented Interfaces:
Message,Serializable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final PascalStringprotected final booleanprotected final PascalStringprotected final boolean -
Constructor Summary
ConstructorsConstructorDescriptionLocalizedText(boolean textSpecified, boolean localeSpecified, PascalString locale, PascalString text) -
Method Summary
Modifier and TypeMethodDescriptionbooleanintintbooleangetText()booleaninthashCode()voidserialize(WriteBuffer writeBuffer) static LocalizedTextstaticParse(ReadBuffer readBuffer) static LocalizedTextstaticParse(ReadBuffer readBuffer, Object... args) toString()
-
Field Details
-
textSpecified
protected final boolean textSpecified -
localeSpecified
protected final boolean localeSpecified -
locale
-
text
-
-
Constructor Details
-
LocalizedText
public LocalizedText(boolean textSpecified, boolean localeSpecified, PascalString locale, PascalString text)
-
-
Method Details
-
getTextSpecified
public boolean getTextSpecified() -
getLocaleSpecified
public boolean getLocaleSpecified() -
getLocale
-
getText
-
serialize
- Specified by:
serializein interfaceSerializable- Throws:
SerializationException
-
getLengthInBytes
public int getLengthInBytes()- Specified by:
getLengthInBytesin interfaceMessage
-
getLengthInBits
public int getLengthInBits()- Specified by:
getLengthInBitsin interfaceMessage
-
staticParse
public static LocalizedText staticParse(ReadBuffer readBuffer, Object... args) throws ParseException - Throws:
ParseException
-
staticParse
- Throws:
ParseException
-
equals
-
hashCode
public int hashCode() -
toString
-