query.setRenditionFilter(renditionFilter);
query.setMaxItems(maxItems);
query.setSkipCount(skipCount);
// post the query and parse results
Response resp = post(url, Constants.MEDIATYPE_QUERY, new Output() {
public void write(OutputStream out) throws Exception {
JaxBHelper.marshal(JaxBHelper.CMIS_OBJECT_FACTORY.createQuery(query), out, false);
}
});
AtomFeed feed = parse(resp.getStream(), AtomFeed.class);