Class XMLResponse
java.lang.Object
it.uniroma2.art.semanticturkey.servlet.XMLResponse
- All Implemented Interfaces:
Response
- Direct Known Subclasses:
XMLResponseProblem
,XMLResponseREPLY
-
Method Summary
Modifier and TypeMethodDescriptionorg.json.JSONObject
this method create a JSONObjectJSONObject
representationabstract boolean
toString()
-
Method Details
-
getResponseObject
- Specified by:
getResponseObject
in interfaceResponse
-
getJSONObject
public org.json.JSONObject getJSONObject() throws org.json.JSONExceptionthis method create a JSONObjectJSONObject
representation- Returns:
- JSONObject
JSONObject
containing JSON representation of content field - Throws:
org.json.JSONException
-
toString
-
getResponseContent
- Specified by:
getResponseContent
in interfaceResponse
-
getResponseElement
-
isAffirmative
public abstract boolean isAffirmative()- Specified by:
isAffirmative
in interfaceResponse
-