Package org.omg.space.xtce
Class StringDataEncodingType
- java.lang.Object
-
- org.omg.space.xtce.DataEncodingType
-
- org.omg.space.xtce.StringDataEncodingType
-
public class StringDataEncodingType extends DataEncodingType
For common encodings of string dataJava class for StringDataEncodingType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="StringDataEncodingType"> <complexContent> <extension base="{http://www.omg.org/space/xtce}DataEncodingType"> <sequence> <element name="SizeInBits"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice> <element name="Fixed" type="{http://www.omg.org/space/xtce}IntegerValueType"/> <element name="TerminationChar" type="{http://www.w3.org/2001/XMLSchema}hexBinary"/> <element name="LeadingSize"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="sizeInBitsOfSizeTag" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" default="16" /> </restriction> </complexContent> </complexType> </element> </choice> </restriction> </complexContent> </complexType> </element> </sequence> <attribute name="encoding" default="UTF-8"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="UTF-8"/> <enumeration value="UTF-16"/> </restriction> </simpleType> </attribute> </extension> </complexContent> </complexType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStringDataEncodingType.SizeInBitsJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected Stringencodingprotected StringDataEncodingType.SizeInBitssizeInBits-
Fields inherited from class org.omg.space.xtce.DataEncodingType
bitOrder, byteOrderList, errorDetectCorrect
-
-
Constructor Summary
Constructors Constructor Description StringDataEncodingType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetEncoding()Gets the value of the encoding property.StringDataEncodingType.SizeInBitsgetSizeInBits()Gets the value of the sizeInBits property.voidsetEncoding(String value)Sets the value of the encoding property.voidsetSizeInBits(StringDataEncodingType.SizeInBits value)Sets the value of the sizeInBits property.-
Methods inherited from class org.omg.space.xtce.DataEncodingType
getBitOrder, getByteOrderList, getErrorDetectCorrect, setBitOrder, setByteOrderList, setErrorDetectCorrect
-
-
-
-
Field Detail
-
sizeInBits
protected StringDataEncodingType.SizeInBits sizeInBits
-
encoding
protected String encoding
-
-
Method Detail
-
getSizeInBits
public StringDataEncodingType.SizeInBits getSizeInBits()
Gets the value of the sizeInBits property.- Returns:
- possible object is
StringDataEncodingType.SizeInBits
-
setSizeInBits
public void setSizeInBits(StringDataEncodingType.SizeInBits value)
Sets the value of the sizeInBits property.- Parameters:
value- allowed object isStringDataEncodingType.SizeInBits
-
getEncoding
public String getEncoding()
Gets the value of the encoding property.- Returns:
- possible object is
String
-
-