Home
last modified time | relevance | path

Searched refs:dataForm (Results 1 – 4 of 4) sorted by relevance

/external/smack/src/org/jivesoftware/smackx/
DForm.java59 private DataForm dataForm; field in Form
74 DataForm dataForm = (DataForm) packetExtension; in getFormFrom() local
75 if (dataForm.getReportedData() == null) in getFormFrom()
76 return new Form(dataForm); in getFormFrom()
88 public Form(DataForm dataForm) { in Form() argument
89 this.dataForm = dataForm; in Form()
107 this.dataForm = new DataForm(type); in Form()
116 dataForm.addField(field); in addField()
364 return dataForm.getFields(); in getFields()
398 for (Iterator<String> it = dataForm.getInstructions(); it.hasNext();) { in getInstructions()
[all …]
DReportedData.java55 DataForm dataForm = (DataForm) packetExtension; in getReportedDataFrom() local
56 if (dataForm.getReportedData() != null) in getReportedDataFrom()
57 return new ReportedData(dataForm); in getReportedDataFrom()
70 private ReportedData(DataForm dataForm) { in ReportedData() argument
72 for (Iterator fields = dataForm.getReportedData().getFields(); fields.hasNext();) { in ReportedData()
78 for (Iterator items = dataForm.getItems(); items.hasNext();) { in ReportedData()
95 this.title = dataForm.getTitle(); in ReportedData()
/external/smack/src/org/jivesoftware/smackx/provider/
DDataFormProvider.java49 DataForm dataForm = new DataForm(parser.getAttributeValue("", "type")); in parseExtension() local
54 dataForm.addInstruction(parser.nextText()); in parseExtension()
57 dataForm.setTitle(parser.nextText()); in parseExtension()
60 dataForm.addField(parseField(parser)); in parseExtension()
63 dataForm.addItem(parseItem(parser)); in parseExtension()
66 dataForm.setReportedData(parseReported(parser)); in parseExtension()
69 if (parser.getName().equals(dataForm.getElementName())) { in parseExtension()
74 return dataForm; in parseExtension()
/external/smack/src/org/jivesoftware/smackx/search/
DUserSearch.java210 DataForm dataForm = new DataForm(Form.TYPE_FORM); in buildDataForm() local
212 dataForm.setTitle("User Search"); in buildDataForm()
213 dataForm.addInstruction(instructions); in buildDataForm()
236 dataForm.addField(field); in buildDataForm()
250 search.addExtension(dataForm); in buildDataForm()