Not sure how that would play against: Object org.apache.jena.rdf.model.impl.ResourceImpl.visitWith(RDFVisitor)
OTOH, I'm not sure how much use the visitor pattern there has ever really gotten... ajs6f > On Nov 17, 2017, at 10:55 AM, Adam Jacobs <jacobs_...@hotmail.com> wrote: > > I wonder if it would be useful to generify the `RDFVisitor` interface... > > public interface RDFVisitor<B,U,L> { > > B visitBlank( Resource r, AnonId id ); > U visitURI( Resource r, String uri ); > L visitLiteral( Literal l ); > > }