Class ReceiveResponseModel.Body.Validate

java.lang.Object
org.citrusframework.model.testcase.http.ReceiveResponseModel.Body.Validate
Enclosing class:
ReceiveResponseModel.Body

public static class ReceiveResponseModel.Body.Validate extends Object

Java-Klasse für anonymous complex type.

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.


 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="script" minOccurs="0">
           <complexType>
             <simpleContent>
               <extension base="<http://www.w3.org/2001/XMLSchema>string">
                 <attribute name="type" use="required">
                   <simpleType>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                       <enumeration value="groovy"/>
                     </restriction>
                   </simpleType>
                 </attribute>
                 <attribute name="file" type="{http://www.w3.org/2001/XMLSchema}string" />
               </extension>
             </simpleContent>
           </complexType>
         </element>
         <element name="xpath" maxOccurs="unbounded" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="expression" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="result-type">
                   <simpleType>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                       <enumeration value="node"/>
                       <enumeration value="node-set"/>
                       <enumeration value="boolean"/>
                       <enumeration value="string"/>
                       <enumeration value="number"/>
                     </restriction>
                   </simpleType>
                 </attribute>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="json-path" maxOccurs="unbounded" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="expression" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="namespace" maxOccurs="unbounded" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="prefix" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
       <attribute name="path" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="result-type">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
             <enumeration value="node"/>
             <enumeration value="node-set"/>
             <enumeration value="boolean"/>
             <enumeration value="string"/>
             <enumeration value="number"/>
           </restriction>
         </simpleType>
       </attribute>
     </restriction>
   </complexContent>
 </complexType>