info.aduna.infosource.util
Class CompatibilityUtil

java.lang.Object
  extended by info.aduna.infosource.util.CompatibilityUtil

public class CompatibilityUtil
extends Object

Handles backwards compatibility of older RepositoryImplConfig Graphs.


Constructor Summary
CompatibilityUtil()
           
 
Method Summary
static org.openrdf.model.Graph transform(org.openrdf.model.Graph graph, org.openrdf.model.Resource implNode)
          Transforms a Graph holding all statements of a RepositoryImplConfig into a new Graph that can be handled by the current code base.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompatibilityUtil

public CompatibilityUtil()
Method Detail

transform

public static org.openrdf.model.Graph transform(org.openrdf.model.Graph graph,
                                                org.openrdf.model.Resource implNode)
Transforms a Graph holding all statements of a RepositoryImplConfig into a new Graph that can be handled by the current code base. This may return the same Graph instance if it is already uptodate.



Copyright © 1997-2008 Aduna. All Rights Reserved.