Class XMLResponse

java.lang.Object
it.uniroma2.art.semanticturkey.servlet.XMLResponse
All Implemented Interfaces:
Response
Direct Known Subclasses:
XMLResponseProblem, XMLResponseREPLY

public abstract class XMLResponse extends Object implements Response
  • Method Details

    • getResponseObject

      public Document getResponseObject()
      Specified by:
      getResponseObject in interface Response
    • getJSONObject

      public org.json.JSONObject getJSONObject() throws org.json.JSONException
      this method create a JSONObject JSONObject representation
      Returns:
      JSONObject JSONObject containing JSON representation of content field
      Throws:
      org.json.JSONException
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getResponseContent

      public String getResponseContent()
      Specified by:
      getResponseContent in interface Response
    • getResponseElement

      public Element getResponseElement()
    • isAffirmative

      public abstract boolean isAffirmative()
      Specified by:
      isAffirmative in interface Response