Class ErrorDetectCorrectType


  • public class ErrorDetectCorrectType
    extends Object
    A simple element that provides for simple, but common error checking and detection.

    Java class for ErrorDetectCorrectType complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="ErrorDetectCorrectType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <choice>
             <element name="Parity">
               <complexType>
                 <complexContent>
                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                     <attribute name="type" use="required">
                       <simpleType>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                           <enumeration value="Even"/>
                           <enumeration value="Odd"/>
                         </restriction>
                       </simpleType>
                     </attribute>
                     <attribute name="bitsFromReference" use="required" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" />
                     <attribute name="reference" default="start">
                       <simpleType>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                           <enumeration value="start"/>
                           <enumeration value="end"/>
                         </restriction>
                       </simpleType>
                     </attribute>
                   </restriction>
                 </complexContent>
               </complexType>
             </element>
             <element name="CRC">
               <complexType>
                 <complexContent>
                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                     <sequence>
                       <element name="Polynomial" type="{http://www.omg.org/space/xtce}PolynomialType"/>
                     </sequence>
                     <attribute name="bitsFromReference" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" />
                     <attribute name="reference" default="start">
                       <simpleType>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                           <enumeration value="start"/>
                           <enumeration value="end"/>
                         </restriction>
                       </simpleType>
                     </attribute>
                   </restriction>
                 </complexContent>
               </complexType>
             </element>
           </choice>
         </restriction>
       </complexContent>
     </complexType>