Class StringDataEncodingType


  • public class StringDataEncodingType
    extends DataEncodingType
    For common encodings of string data

    Java 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>