Back to project page wherewithal.
The source code is released under:
GNU General Public License
If you think the Android project wherewithal listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.curchod.json; //from w w w . jav a 2 s . c o m import org.apache.http.message.BasicNameValuePair; /** * Create a definition JSON node based on the following structure: * "definition": "name": "ko-KR": "?????" "description": Reading ,Writing, Speaking or Listening "type": "http://ko.wiktionary.org/wiki/?????" * @author user * */ public class VocabularyDefinition { private BasicNameValuePair name; private String description; private String type; public void setName(String locale, String word) { this.name = new BasicNameValuePair(locale, word); } public BasicNameValuePair getName() { return this.name; } public String getNameLocale() { return this.name.getName(); } public String getNameValue() { return this.name.getValue(); } public void setDescription(String _description) { this.description = _description; } public String getDescription() { return this.description; } public void setType(String _type) { this.type = _type; } public String getType() { return this.type; } }