public class HashingRDFVisitor extends Object implements org.apache.jena.rdf.model.RDFVisitor
| Modifier and Type | Field and Description |
|---|---|
static HashingRDFVisitor |
instance |
| Constructor and Description |
|---|
HashingRDFVisitor() |
| Modifier and Type | Method and Description |
|---|---|
String |
visitBlank(org.apache.jena.rdf.model.Resource r,
org.apache.jena.rdf.model.AnonId id)
Method to call when visiting a blank node r with identifier id.
|
String |
visitLiteral(org.apache.jena.rdf.model.Literal l)
Method to call when visiting a literal RDF node l.
|
String |
visitURI(org.apache.jena.rdf.model.Resource r,
String uri)
Method to call when visiting a URI node r with the given uri.
|
public static HashingRDFVisitor instance
public String visitBlank(org.apache.jena.rdf.model.Resource r, org.apache.jena.rdf.model.AnonId id)
visitBlank in interface org.apache.jena.rdf.model.RDFVisitorr - the blank RDF node being visitedid - the identifier of that nodeIllegalStateExceptionpublic String visitURI(org.apache.jena.rdf.model.Resource r, String uri)
visitURI in interface org.apache.jena.rdf.model.RDFVisitorr - the URI node being visiteduri - the URI string of that nodepublic String visitLiteral(org.apache.jena.rdf.model.Literal l)
visitLiteral in interface org.apache.jena.rdf.model.RDFVisitorl - the RDF Literal nodeCopyright © 2017–2020. All rights reserved.