@Test public void testgetAnnotationsForURIs() throws AnnotationException { InputStream is = getClass().getResourceAsStream("/post-rdf.xml"); assertNotNull(is); Annotation annotation = manager.getAnnotation(is); assertNotNull(annotation); annotation.setSubject(new ResourceImpl("http: assertEquals("http: annotation.getAnnotates().toString()); AnnotationImpl ann = (AnnotationImpl) annotation; assertNotNull(ann); List<Annotation> annotations = query.getAnnotationsForURIs( Collections.singletonList(ann.getAnnotates()), ann.getGraph()); assertNotNull(annotations); assertEquals(1, annotations.size()); annotation = annotations.get(0); assertEquals("http: annotation.getAnnotates().toString()); assertEquals("Alexandre Russel", annotation.getCreator()); }
public List<Annotation> getAnnotationsForURIs(List<URI> uris, Graph graph) throws AnnotationException { return getAnnotationsForURIs(uris, graph, Collections.<String, String> emptyMap()); }
AnnotationQuery { public List<Annotation> getAnnotationsForURIs(List<URI> uris, Graph graph) throws AnnotationException { return getAnnotationsForURIs(uris, graph, Collections.<String, String> emptyMap()); } }
AnnotationQuery { public List<Annotation> getAnnotationsForURIs(List<URI> uris, Graph graph) throws AnnotationException { return getAnnotationsForURIs(uris, graph, Collections.<String, String> emptyMap()); }  }
AnnotationQuery { public List<Annotation> getAnnotationsForURIs(List<URI> uris, Graph graph) throws AnnotationException { return getAnnotationsForURIs(uris, graph, Collections.<String, String> emptyMap()); }  List<Annotation> getAnnotationsForURIs(List<URI> uris, Graph graph); List<Annotation> getAnnotationsForURIs(List<URI> uris, Graph graph,
            Map<String, String> filters); }
AnnotationQuery { public List<Annotation> getAnnotationsForURIs(List<URI> uris, Graph graph) throws AnnotationException { return getAnnotationsForURIs(uris, graph, Collections.<String, String> emptyMap()); }  List<Annotation> getAnnotationsForURIs(List<URI> uris, Graph graph); List<Annotation> getAnnotationsForURIs(List<URI> uris, Graph graph,
            Map<String, String> filters); static final String BASE_QUERY; }