org.pre4j.model
Interface EncryptableModel

All Superinterfaces:
Encryptable, com.hp.hpl.jena.shared.Lock, com.hp.hpl.jena.rdf.model.Model, com.hp.hpl.jena.rdf.model.ModelCon, com.hp.hpl.jena.rdf.model.ModelGraphInterface, com.hp.hpl.jena.rdf.model.ModelLock, com.hp.hpl.jena.shared.PrefixMapping, com.hp.hpl.jena.rdf.model.RDFReaderF, com.hp.hpl.jena.rdf.model.RDFWriterF
All Known Subinterfaces:
EncryptableOntModel
All Known Implementing Classes:
EncryptableModelBase, EncryptableModelImpl, EncryptableOntModelImpl

public interface EncryptableModel
extends Encryptable, com.hp.hpl.jena.rdf.model.Model


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.hp.hpl.jena.shared.PrefixMapping
com.hp.hpl.jena.shared.PrefixMapping.Factory, com.hp.hpl.jena.shared.PrefixMapping.IllegalPrefixException, com.hp.hpl.jena.shared.PrefixMapping.JenaLockedException
 
Field Summary
 
Fields inherited from interface com.hp.hpl.jena.shared.PrefixMapping
Extended, Standard
 
Fields inherited from interface com.hp.hpl.jena.rdf.model.ModelLock
READ, WRITE
 
Method Summary
 void encryptLabel(com.hp.hpl.jena.rdf.model.RDFNode n)
          Marks an URI or literal value of the given RDFNode for enryption.
 void encryptLabel(com.hp.hpl.jena.rdf.model.Statement stmt)
           
 void encryptStatement(com.hp.hpl.jena.rdf.model.Statement stmt)
           
 void encryptStatements(java.util.Collection<com.hp.hpl.jena.rdf.model.Statement> c)
           
 
Methods inherited from interface org.pre4j.graph.Encryptable
commitEncryption, commitEncryption, decrypt, decrypt, getTrace
 
Methods inherited from interface com.hp.hpl.jena.rdf.model.Model
abort, add, add, add, add, add, add, begin, close, commit, contains, contains, contains, containsAll, containsAll, containsAny, containsAny, containsResource, createList, createList, createList, createLiteral, createLiteral, createLiteral, createProperty, createReifiedStatement, createReifiedStatement, createResource, createResource, createResource, createStatement, createTypedLiteral, createTypedLiteral, createTypedLiteral, difference, equals, executeInTransaction, getAnyReifiedStatement, getModelLock, getProperty, getProperty, getReificationStyle, getRequiredProperty, getResource, independent, intersection, isEmpty, isIsomorphicWith, isReified, listNameSpaces, listObjects, listObjectsOfProperty, listObjectsOfProperty, listReifiedStatements, listReifiedStatements, listStatements, listStatements, listStatements, listSubjects, listSubjectsWithProperty, listSubjectsWithProperty, notifyEvent, query, read, read, read, read, read, read, read, register, remove, remove, remove, removeAll, removeAll, removeAllReifications, removeReification, size, supportsSetOperations, supportsTransactions, union, unregister, write, write, write, write, write, write
 
Methods inherited from interface com.hp.hpl.jena.rdf.model.ModelCon
add, add, add, add, add, add, add, add, add, add, add, contains, contains, contains, contains, contains, contains, contains, contains, createAlt, createAlt, createBag, createBag, createLiteral, createLiteral, createLiteral, createLiteral, createLiteral, createLiteral, createLiteral, createProperty, createResource, createResource, createResource, createResource, createSeq, createSeq, createStatement, createStatement, createStatement, createStatement, createStatement, createStatement, createStatement, createStatement, createStatement, createStatement, createTypedLiteral, createTypedLiteral, createTypedLiteral, createTypedLiteral, createTypedLiteral, createTypedLiteral, createTypedLiteral, createTypedLiteral, createTypedLiteral, createTypedLiteral, getAlt, getAlt, getBag, getBag, getProperty, getRDFNode, getResource, getSeq, getSeq, listStatements, listStatements, listStatements, listStatements, listStatements, listStatements, listStatements, listSubjectsWithProperty, listSubjectsWithProperty, listSubjectsWithProperty, listSubjectsWithProperty, listSubjectsWithProperty, listSubjectsWithProperty, listSubjectsWithProperty, listSubjectsWithProperty, remove, remove, remove
 
Methods inherited from interface com.hp.hpl.jena.rdf.model.ModelGraphInterface
asRDFNode, asStatement, getGraph, queryHandler
 
Methods inherited from interface com.hp.hpl.jena.rdf.model.RDFReaderF
getReader, getReader, setReaderClassName
 
Methods inherited from interface com.hp.hpl.jena.rdf.model.RDFWriterF
getWriter, getWriter, setWriterClassName
 
Methods inherited from interface com.hp.hpl.jena.shared.PrefixMapping
expandPrefix, getNsPrefixMap, getNsPrefixURI, getNsURIPrefix, lock, qnameFor, removeNsPrefix, samePrefixMappingAs, setNsPrefix, setNsPrefixes, setNsPrefixes, shortForm, usePrefix, withDefaultMappings
 
Methods inherited from interface com.hp.hpl.jena.shared.Lock
enterCriticalSection, leaveCriticalSection
 

Method Detail

encryptLabel

void encryptLabel(com.hp.hpl.jena.rdf.model.RDFNode n)
                  throws RDFEncryptionException
Marks an URI or literal value of the given RDFNode for enryption. Note: RDFNode must be a subject or object component. In order to encrypt the label of a predicate component use the encryptLabel(Statement) method. The node value MUST be either a URI or a literal. B-nodes cannot be label encrypted since they do not have a label. If a B-node is given as argument of this method will cause an RDFEncryptionException.

Parameters:
n - the URI or literal node value to be encrypted
Throws:
RDFEncryptionException - if n is a B-node.

encryptLabel

void encryptLabel(com.hp.hpl.jena.rdf.model.Statement stmt)
                  throws RDFEncryptionException
Parameters:
stmt -
Throws:
RDFEncryptionException

encryptStatement

void encryptStatement(com.hp.hpl.jena.rdf.model.Statement stmt)
                      throws RDFEncryptionException
Parameters:
stmt -
Throws:
RDFEncryptionException

encryptStatements

void encryptStatements(java.util.Collection<com.hp.hpl.jena.rdf.model.Statement> c)
                       throws RDFEncryptionException
Parameters:
c -
Throws:
RDFEncryptionException