org.topbraid.core.change
Class AbstractObjectProvider

java.lang.Object
  extended by org.topbraid.core.change.AbstractObjectProvider
All Implemented Interfaces:
IObjectProvider

public abstract class AbstractObjectProvider
extends java.lang.Object
implements IObjectProvider


Constructor Summary
AbstractObjectProvider()
           
 
Method Summary
 com.hp.hpl.jena.rdf.model.RDFNode getUnsharedObject(com.hp.hpl.jena.rdf.model.Model model)
          Gets an object that is guaranteed to be not shared with other resources as bnode.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.topbraid.core.change.IObjectProvider
getObject, getObjectText
 

Constructor Detail

AbstractObjectProvider

public AbstractObjectProvider()
Method Detail

getUnsharedObject

public com.hp.hpl.jena.rdf.model.RDFNode getUnsharedObject(com.hp.hpl.jena.rdf.model.Model model)
                                                    throws java.lang.Exception
Description copied from interface: IObjectProvider
Gets an object that is guaranteed to be not shared with other resources as bnode. If the underlying source is a bnode, then this method must create a deep clone in the given Model.

Specified by:
getUnsharedObject in interface IObjectProvider
Parameters:
model - the target Model
Returns:
the new node
Throws:
java.lang.Exception