コード例 #1
0
    /**
     * Retrieves and parses the JSON-encoded response item with the passed ID and
     * returns the parsed item as an OpenSocialAppData object.
     *
     * @param  id ID of the response item to parse
     * @throws OpenSocialRequestException
     * @throws JSONException
     * @throws InstantiationException
     * @throws IllegalAccessException
     */
    public OpenSocialAppData getItemAsAppData(String id)
    {
        String item = this.items[id];

        return(OpenSocialJsonParser.parseAsAppData(item));
    }