org.topbraid.core.change
Interface IObjectProvider
- All Known Implementing Classes:
- AbstractObjectProvider, ClassObjectProvider, DatatypeObjectProvider, RDFNodeObjectProvider
public interface IObjectProvider
A utility object used to create a new object in add/replace
statement operations.
- Author:
- Holger Knublauch
|
Method Summary |
com.hp.hpl.jena.rdf.model.RDFNode |
getObject()
|
java.lang.String |
getObjectText()
|
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. |
getObject
com.hp.hpl.jena.rdf.model.RDFNode getObject()
throws java.lang.Exception
- Throws:
java.lang.Exception
getObjectText
java.lang.String getObjectText()
getUnsharedObject
com.hp.hpl.jena.rdf.model.RDFNode getUnsharedObject(com.hp.hpl.jena.rdf.model.Model model)
throws java.lang.Exception
- 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.
- Parameters:
model - the target Model
- Returns:
- the new node
- Throws:
java.lang.Exception