public class SubjectMappingUtil extends Object
Modifier and Type | Method and Description |
---|---|
static org.apache.jena.graph.Triple |
mapSubject(org.apache.jena.graph.Triple t,
String resourceUri,
org.apache.jena.graph.Node destinationNode)
Maps the subject of t from resourceUri to destinationNode to produce a new Triple.
|
static org.apache.jena.graph.Triple |
mapSubject(org.apache.jena.graph.Triple t,
String resourceUri,
String destinationUri)
Maps the subject of t from resourceUri to destinationUri to produce a new Triple.
|
public static org.apache.jena.graph.Triple mapSubject(org.apache.jena.graph.Triple t, String resourceUri, String destinationUri)
t
- triple to be remapped.resourceUri
- resource subject uri to be remapped.destinationUri
- subject uri for the resultant triple.public static org.apache.jena.graph.Triple mapSubject(org.apache.jena.graph.Triple t, String resourceUri, org.apache.jena.graph.Node destinationNode)
t
- triple to be remapped.resourceUri
- resource subject uri to be remapped.destinationNode
- subject node for the resultant triple.Copyright © 2013–2019 DuraSpace, Inc.. All rights reserved.