|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.rdfcontext.model.MSG.sesame.MSG
A MSG(Minimum Signable Graph) is the atomic graph taken in consideration. Given a RDF statement, the MSG containing the statement is unique. An MSG is a ground statement or a closures on blank nodes calculated starting form the statement itself. MSG of a statement does not contain reification af the statement, except the reifications used to sign the MSG. This special reifications are blank nodes of type MSGSignatureStatement, that is a subclass of rdf:Statement. For furter details see the RDFGrowth paper.
| Constructor Summary | |
MSG(org.openrdf.model.Graph graph,
org.openrdf.model.Statement st)
Default constructor. |
|
| Method Summary | |
org.openrdf.model.Graph |
getGraph()
|
java.lang.String[] |
getInvolvedURIs()
Gets al the URI involved in the MSG as Strings. |
java.lang.String |
getRDFXML()
Serializes the MSG and return it as RDF/XML. |
java.util.ArrayList |
getSignatureReports()
Returns the list of Signature Reports attached to this MSG. |
SignatureReport[] |
getSignatureReportsArray()
Returns the list of Signature Reports on this MSG |
org.openrdf.sesame.sail.StatementIterator |
getStatements()
|
boolean |
hasSemanticsOf(IMSG msg)
Detect if the current MSG has the same semantics of a given MSG. |
static void |
main(java.lang.String[] args)
|
org.openrdf.model.Value |
skipIfBNode(org.openrdf.model.Value value)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public MSG(org.openrdf.model.Graph graph,
org.openrdf.model.Statement st)
graph - st - | Method Detail |
public java.lang.String[] getInvolvedURIs()
IMSG
getInvolvedURIs in interface IMSGpublic java.lang.String getRDFXML()
getRDFXML in interface IMSGorg.openrdf.sesame.sail.SailUpdateException
java.io.IOException
org.openrdf.sesame.config.AccessDeniedExceptionpublic org.openrdf.sesame.sail.StatementIterator getStatements()
public org.openrdf.model.Graph getGraph()
public boolean hasSemanticsOf(IMSG msg)
IMSG
hasSemanticsOf in interface IMSGmsg -
public org.openrdf.model.Value skipIfBNode(org.openrdf.model.Value value)
public java.lang.String toString()
public SignatureReport[] getSignatureReportsArray()
public static void main(java.lang.String[] args)
throws org.openrdf.sesame.sail.SailUpdateException,
java.io.IOException,
org.openrdf.sesame.config.AccessDeniedException
org.openrdf.sesame.sail.SailUpdateException
java.io.IOException
org.openrdf.sesame.config.AccessDeniedExceptionpublic java.util.ArrayList getSignatureReports()
IMSG
getSignatureReports in interface IMSG
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||