sPFFramework/src/main/java/it/polimi/spf/framework/search/SearchResponder.java
public boolean matches(String queryJSON) {
		QueryContainer queryContainer;
		try {
			queryContainer = QueryContainer.fromJSON(queryJSON);
		} catch (JSONException e) {
			return false;
		}

		SPFQuery query = queryContainer.getQuery();
		String callerApp = queryContainer.getCallerAppId();
		String userUID = queryContainer.getUserUID();
		return analyzeWith(query, callerApp, userUID);
	}
public boolean matches(String queryJSON) {
		QueryContainer queryContainer;
		try {
			queryContainer = QueryContainer.fromJSON(queryJSON);
		} catch (JSONException e) {
			return false;
		}

		SPFQuery query = queryContainer.getQuery();
		String callerApp = queryContainer.getCallerAppId();
		String userUID = queryContainer.getUserUID();
		return analyzeWith(query, callerApp, userUID);
	}
Verifies if the local profile matches the given query.

@see Query
@param q
@return