CommcareRequestData

public class CommcareRequestData

Represents a XML case request. Includes both metadata and case XML itself.

Constructors

CommcareRequestData

public CommcareRequestData(String xmlns, MetaElement meta, CaseRequest ccCase)

Creates a commcare request with the xmlns attribute set to xmlns, the meta element set to meta and the case element set to ccCase.

Parameters:
  • xmlns – the value of the xmlns attribute, which should be the namespace of the XML element
  • meta – the value of the meta element, for more information about meta element, see {@see MetaElement}
  • ccCase – the value of the case element, for more information about case element, see {@see CaseRequest}

Methods

getCcCase

public CaseRequest getCcCase()

getMeta

public MetaElement getMeta()

getXmlns

public String getXmlns()