@Override public <T> List<QueryResult<T>> query(T root, String key, NodeHandler<T> handler) { List<QueryResult<T>> results = super.query(root, key, handler); if (!results.isEmpty()) { return results; } // If we find no results, fall back to the query that specifies the attribute handler return super.query(root, this.attributeKey(null, key), handler); } };
@Override public <T> List<QueryResult<T>> query(T root, String key, NodeHandler<T> handler) { List<QueryResult<T>> results = super.query(root, key, handler); if (!results.isEmpty()) { return results; } // If we find no results, fall back to the query that specifies the attribute handler return super.query(root, this.attributeKey(null, key), handler); } };