public static class ReceiveDefinition.Message.Validate extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="script" type="{http://www.citrusframework.org/schema/testcase}ScriptDefinitionType" minOccurs="0"/>
<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>
| Modifier and Type | Class and Description |
|---|---|
static class |
ReceiveDefinition.Message.Validate.JsonPath
Java class for anonymous complex type.
|
static class |
ReceiveDefinition.Message.Validate.Namespace
Java class for anonymous complex type.
|
static class |
ReceiveDefinition.Message.Validate.Xpath
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<ReceiveDefinition.Message.Validate.JsonPath> |
jsonPaths |
protected List<ReceiveDefinition.Message.Validate.Namespace> |
namespaces |
protected String |
path |
protected String |
resultType |
protected ScriptDefinitionType |
script |
protected String |
value |
protected List<ReceiveDefinition.Message.Validate.Xpath> |
xpaths |
| Constructor and Description |
|---|
Validate() |
| Modifier and Type | Method and Description |
|---|---|
List<ReceiveDefinition.Message.Validate.JsonPath> |
getJsonPaths()
Gets the value of the jsonPaths property.
|
List<ReceiveDefinition.Message.Validate.Namespace> |
getNamespaces()
Gets the value of the namespaces property.
|
String |
getPath()
Gets the value of the path property.
|
String |
getResultType()
Gets the value of the resultType property.
|
ScriptDefinitionType |
getScript()
Gets the value of the script property.
|
String |
getValue()
Gets the value of the value property.
|
List<ReceiveDefinition.Message.Validate.Xpath> |
getXpaths()
Gets the value of the xpaths property.
|
void |
setPath(String value)
Sets the value of the path property.
|
void |
setResultType(String value)
Sets the value of the resultType property.
|
void |
setScript(ScriptDefinitionType value)
Sets the value of the script property.
|
void |
setValue(String value)
Sets the value of the value property.
|
protected ScriptDefinitionType script
protected List<ReceiveDefinition.Message.Validate.Xpath> xpaths
protected List<ReceiveDefinition.Message.Validate.JsonPath> jsonPaths
protected List<ReceiveDefinition.Message.Validate.Namespace> namespaces
protected String path
protected String value
protected String resultType
public ScriptDefinitionType getScript()
ScriptDefinitionTypepublic void setScript(ScriptDefinitionType value)
value - allowed object is
ScriptDefinitionTypepublic List<ReceiveDefinition.Message.Validate.Xpath> getXpaths()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the xpaths property.
For example, to add a new item, do as follows:
getXpaths().add(newItem);
Objects of the following type(s) are allowed in the list
ReceiveDefinition.Message.Validate.Xpath
public List<ReceiveDefinition.Message.Validate.JsonPath> getJsonPaths()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the jsonPaths property.
For example, to add a new item, do as follows:
getJsonPaths().add(newItem);
Objects of the following type(s) are allowed in the list
ReceiveDefinition.Message.Validate.JsonPath
public List<ReceiveDefinition.Message.Validate.Namespace> getNamespaces()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the namespaces property.
For example, to add a new item, do as follows:
getNamespaces().add(newItem);
Objects of the following type(s) are allowed in the list
ReceiveDefinition.Message.Validate.Namespace
public String getPath()
Stringpublic void setPath(String value)
value - allowed object is
Stringpublic String getValue()
Stringpublic void setValue(String value)
value - allowed object is
Stringpublic String getResultType()
StringCopyright © 2008–2015 ConSol* Consulting&Solutions GmbH. All rights reserved.