Class ObjectFactory
java.lang.Object
org.citrusframework.model.testcase.http.ObjectFactory
This object contains factory methods for each
Java content interface and Java element interface
generated in the org.citrusframework.model.testcase.http package.
An ObjectFactory allows you to programmatically construct new instances of the Java representation for XML content. The Java representation of XML content can consist of schema derived interfaces and classes representing the binding of schema type definitions, element declarations and model groups. Factory methods for each of these are provided in this class.
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.citrusframework.model.testcase.http -
Method Summary
Modifier and TypeMethodDescriptionCreate an instance ofClientRequestTypeCreate an instance ofClientRequestType.BodyCreate an instance ofClientRequestType.Body.ElementCreate an instance ofClientRequestType.Body.PayloadCreate an instance ofClientRequestType.Body.Resourcejakarta.xml.bind.JAXBElement<String>createDescription(String value) Create an instance ofParamTypeCreate an instance ofReceiveRequestModelCreate an instance ofReceiveRequestModel.ExtractCreate an instance ofReceiveRequestModel.Extract.BodyCreate an instance ofReceiveRequestModel.Extract.HeaderCreate an instance ofReceiveRequestModel.SelectorCreate an instance ofReceiveRequestModel.Selector.ElementCreate an instance ofReceiveResponseModelCreate an instance ofReceiveResponseModel.BodyCreate an instance ofReceiveResponseModel.Body.PayloadCreate an instance ofReceiveResponseModel.Body.ResourceCreate an instance ofReceiveResponseModel.Body.ValidateCreate an instance ofReceiveResponseModel.Body.Validate.JsonPathCreate an instance ofReceiveResponseModel.Body.Validate.NamespaceCreate an instance ofReceiveResponseModel.Body.Validate.ScriptCreate an instance ofReceiveResponseModel.Body.Validate.XpathCreate an instance ofReceiveResponseModel.ExtractCreate an instance ofReceiveResponseModel.Extract.BodyCreate an instance ofReceiveResponseModel.Extract.HeaderCreate an instance ofReceiveResponseModel.HeadersCreate an instance ofReceiveResponseModel.SelectorCreate an instance ofReceiveResponseModel.Selector.ElementCreate an instance ofRequestHeadersTypeCreate an instance ofRequestHeadersType.CookieCreate an instance ofRequestHeadersType.HeaderCreate an instance ofResponseHeadersTypeCreate an instance ofResponseHeadersType.CookieCreate an instance ofResponseHeadersType.HeaderCreate an instance ofSendRequestModelCreate an instance ofSendRequestModel.ExtractCreate an instance ofSendRequestModel.Extract.HeaderCreate an instance ofSendResponseModelCreate an instance ofSendResponseModel.BodyCreate an instance ofSendResponseModel.Body.PayloadCreate an instance ofSendResponseModel.Body.ResourceCreate an instance ofServerRequestTypeCreate an instance ofServerRequestType.BodyCreate an instance ofServerRequestType.Body.PayloadCreate an instance ofServerRequestType.Body.ResourceCreate an instance ofServerRequestType.Body.ValidateCreate an instance ofServerRequestType.Body.Validate.JsonPathCreate an instance ofServerRequestType.Body.Validate.NamespaceCreate an instance ofServerRequestType.Body.Validate.ScriptCreate an instance ofServerRequestType.Body.Validate.XpathCreate an instance ofServerRequestType.Headers
-
Constructor Details
-
ObjectFactory
public ObjectFactory()Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.citrusframework.model.testcase.http
-
-
Method Details
-
createSendRequestModel
Create an instance ofSendRequestModel- Returns:
- the new instance of
SendRequestModel
-
createReceiveResponseModel
Create an instance ofReceiveResponseModel- Returns:
- the new instance of
ReceiveResponseModel
-
createReceiveRequestModel
Create an instance ofReceiveRequestModel- Returns:
- the new instance of
ReceiveRequestModel
-
createSendResponseModel
Create an instance ofSendResponseModel- Returns:
- the new instance of
SendResponseModel
-
createRequestHeadersType
Create an instance ofRequestHeadersType- Returns:
- the new instance of
RequestHeadersType
-
createSendResponseModelBody
Create an instance ofSendResponseModel.Body- Returns:
- the new instance of
SendResponseModel.Body
-
createResponseHeadersType
Create an instance ofResponseHeadersType- Returns:
- the new instance of
ResponseHeadersType
-
createReceiveRequestModelExtract
Create an instance ofReceiveRequestModel.Extract- Returns:
- the new instance of
ReceiveRequestModel.Extract
-
createServerRequestType
Create an instance ofServerRequestType- Returns:
- the new instance of
ServerRequestType
-
createServerRequestTypeBody
Create an instance ofServerRequestType.Body- Returns:
- the new instance of
ServerRequestType.Body
-
createServerRequestTypeBodyValidate
Create an instance ofServerRequestType.Body.Validate- Returns:
- the new instance of
ServerRequestType.Body.Validate
-
createReceiveRequestModelSelector
Create an instance ofReceiveRequestModel.Selector- Returns:
- the new instance of
ReceiveRequestModel.Selector
-
createReceiveResponseModelExtract
Create an instance ofReceiveResponseModel.Extract- Returns:
- the new instance of
ReceiveResponseModel.Extract
-
createReceiveResponseModelBody
Create an instance ofReceiveResponseModel.Body- Returns:
- the new instance of
ReceiveResponseModel.Body
-
createReceiveResponseModelBodyValidate
Create an instance ofReceiveResponseModel.Body.Validate- Returns:
- the new instance of
ReceiveResponseModel.Body.Validate
-
createReceiveResponseModelSelector
Create an instance ofReceiveResponseModel.Selector- Returns:
- the new instance of
ReceiveResponseModel.Selector
-
createSendRequestModelExtract
Create an instance ofSendRequestModel.Extract- Returns:
- the new instance of
SendRequestModel.Extract
-
createClientRequestType
Create an instance ofClientRequestType- Returns:
- the new instance of
ClientRequestType
-
createClientRequestTypeBody
Create an instance ofClientRequestType.Body- Returns:
- the new instance of
ClientRequestType.Body
-
createReceiveResponseModelHeaders
Create an instance ofReceiveResponseModel.Headers- Returns:
- the new instance of
ReceiveResponseModel.Headers
-
createParamType
Create an instance ofParamType- Returns:
- the new instance of
ParamType
-
createRequestHeadersTypeHeader
Create an instance ofRequestHeadersType.Header- Returns:
- the new instance of
RequestHeadersType.Header
-
createRequestHeadersTypeCookie
Create an instance ofRequestHeadersType.Cookie- Returns:
- the new instance of
RequestHeadersType.Cookie
-
createSendResponseModelBodyResource
Create an instance ofSendResponseModel.Body.Resource- Returns:
- the new instance of
SendResponseModel.Body.Resource
-
createSendResponseModelBodyPayload
Create an instance ofSendResponseModel.Body.Payload- Returns:
- the new instance of
SendResponseModel.Body.Payload
-
createResponseHeadersTypeHeader
Create an instance ofResponseHeadersType.Header- Returns:
- the new instance of
ResponseHeadersType.Header
-
createResponseHeadersTypeCookie
Create an instance ofResponseHeadersType.Cookie- Returns:
- the new instance of
ResponseHeadersType.Cookie
-
createReceiveRequestModelExtractHeader
Create an instance ofReceiveRequestModel.Extract.Header- Returns:
- the new instance of
ReceiveRequestModel.Extract.Header
-
createReceiveRequestModelExtractBody
Create an instance ofReceiveRequestModel.Extract.Body- Returns:
- the new instance of
ReceiveRequestModel.Extract.Body
-
createServerRequestTypeHeaders
Create an instance ofServerRequestType.Headers- Returns:
- the new instance of
ServerRequestType.Headers
-
createServerRequestTypeBodyResource
Create an instance ofServerRequestType.Body.Resource- Returns:
- the new instance of
ServerRequestType.Body.Resource
-
createServerRequestTypeBodyPayload
Create an instance ofServerRequestType.Body.Payload- Returns:
- the new instance of
ServerRequestType.Body.Payload
-
createServerRequestTypeBodyValidateScript
Create an instance ofServerRequestType.Body.Validate.Script- Returns:
- the new instance of
ServerRequestType.Body.Validate.Script
-
createServerRequestTypeBodyValidateXpath
Create an instance ofServerRequestType.Body.Validate.Xpath- Returns:
- the new instance of
ServerRequestType.Body.Validate.Xpath
-
createServerRequestTypeBodyValidateJsonPath
Create an instance ofServerRequestType.Body.Validate.JsonPath- Returns:
- the new instance of
ServerRequestType.Body.Validate.JsonPath
-
createServerRequestTypeBodyValidateNamespace
Create an instance ofServerRequestType.Body.Validate.Namespace- Returns:
- the new instance of
ServerRequestType.Body.Validate.Namespace
-
createReceiveRequestModelSelectorElement
Create an instance ofReceiveRequestModel.Selector.Element- Returns:
- the new instance of
ReceiveRequestModel.Selector.Element
-
createReceiveResponseModelExtractHeader
Create an instance ofReceiveResponseModel.Extract.Header- Returns:
- the new instance of
ReceiveResponseModel.Extract.Header
-
createReceiveResponseModelExtractBody
Create an instance ofReceiveResponseModel.Extract.Body- Returns:
- the new instance of
ReceiveResponseModel.Extract.Body
-
createReceiveResponseModelBodyResource
Create an instance ofReceiveResponseModel.Body.Resource- Returns:
- the new instance of
ReceiveResponseModel.Body.Resource
-
createReceiveResponseModelBodyPayload
Create an instance ofReceiveResponseModel.Body.Payload- Returns:
- the new instance of
ReceiveResponseModel.Body.Payload
-
createReceiveResponseModelBodyValidateScript
Create an instance ofReceiveResponseModel.Body.Validate.Script- Returns:
- the new instance of
ReceiveResponseModel.Body.Validate.Script
-
createReceiveResponseModelBodyValidateXpath
Create an instance ofReceiveResponseModel.Body.Validate.Xpath- Returns:
- the new instance of
ReceiveResponseModel.Body.Validate.Xpath
-
createReceiveResponseModelBodyValidateJsonPath
Create an instance ofReceiveResponseModel.Body.Validate.JsonPath- Returns:
- the new instance of
ReceiveResponseModel.Body.Validate.JsonPath
-
createReceiveResponseModelBodyValidateNamespace
public ReceiveResponseModel.Body.Validate.Namespace createReceiveResponseModelBodyValidateNamespace()Create an instance ofReceiveResponseModel.Body.Validate.Namespace- Returns:
- the new instance of
ReceiveResponseModel.Body.Validate.Namespace
-
createReceiveResponseModelSelectorElement
Create an instance ofReceiveResponseModel.Selector.Element- Returns:
- the new instance of
ReceiveResponseModel.Selector.Element
-
createSendRequestModelExtractHeader
Create an instance ofSendRequestModel.Extract.Header- Returns:
- the new instance of
SendRequestModel.Extract.Header
-
createClientRequestTypeBodyResource
Create an instance ofClientRequestType.Body.Resource- Returns:
- the new instance of
ClientRequestType.Body.Resource
-
createClientRequestTypeBodyPayload
Create an instance ofClientRequestType.Body.Payload- Returns:
- the new instance of
ClientRequestType.Body.Payload
-
createClientRequestTypeBodyElement
Create an instance ofClientRequestType.Body.Element- Returns:
- the new instance of
ClientRequestType.Body.Element
-
createDescription
- Parameters:
value- Java instance representing xml element's value.- Returns:
- the new instance of
JAXBElement<String>
-