org.w3c.rdf.model
Interface Statement
- All Superinterfaces:
- RDFNode, Resource
- All Known Implementing Classes:
- StatementImpl, StatementImpl
- public interface Statement
- extends Resource
An RDF statement.
Statements must implement getURI()
according to a standard MD5-based algorithm.
- See Also:
org.w3c.tools.crypt.DigestUtil
,
org.w3c.rdf.util.RDFDigestUtil
subject
public Resource subject()
throws ModelException
- Returns:
- subject of the triple
predicate
public Resource predicate()
throws ModelException
- Returns:
- predicate of the triple
object
public RDFNode object()
throws ModelException
- Returns:
- object of the triple