Java Doc for MonitorModel.java in  » RSS-RDF » Jena-2.5.5 » com » hp » hpl » jena » util » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » RSS RDF » Jena 2.5.5 » com.hp.hpl.jena.util 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.hp.hpl.jena.rdf.model.impl.ModelCom
   com.hp.hpl.jena.util.MonitorModel

MonitorModel
public class MonitorModel extends ModelCom (Code)
Model wrapper which provides normal access to an underlying model but also maintains a snapshot of the triples it was last known to contain. A snapshot action causes the set of changes between this and the previous snapshot to be calculated and the cache updated. The snapshot process will also fire change notification.
author:
   Dave Reynolds
version:
   $Revision: 1.4 $



Constructor Summary
public  MonitorModel(Model base)
     Create a monitor over the given underlying base model.

Method Summary
public  voidsnapshot(List additions, List deletions)
     Compute the differences between the current monitored graph and the last snapshot.
public  voidsnapshot()
     Compute the differences between the current monitored graph and the last snapshot, forward any changes to registered listeners, then take a new snapshot.


Constructor Detail
MonitorModel
public MonitorModel(Model base)(Code)
Create a monitor over the given underlying base model.




Method Detail
snapshot
public void snapshot(List additions, List deletions)(Code)
Compute the differences between the current monitored graph and the last snapshot. The changes will also be forwarded to any listeners. Then take a new snapshot.
Parameters:
  additions - a place in which the set of newly added statements should be noted, can be null
Parameters:
  deletions - a place in which the set of newly deleted statements should be noted, can be null



snapshot
public void snapshot()(Code)
Compute the differences between the current monitored graph and the last snapshot, forward any changes to registered listeners, then take a new snapshot.



Fields inherited from com.hp.hpl.jena.rdf.model.impl.ModelCom
protected Map1 mapAsStatement(Code)(Java Doc)
protected ModelReifier modelReifier(Code)(Java Doc)

Methods inherited from com.hp.hpl.jena.rdf.model.impl.ModelCom
public Model abort()(Code)(Java Doc)
public GraphListener adapt(ModelChangedListener L)(Code)(Java Doc)
public Model add(Resource s, Property p, String o)(Code)(Java Doc)
public Model add(Resource s, Property p, String o, boolean wellFormed)(Code)(Java Doc)
public Model add(Resource s, Property p, String o, String lang, boolean wellFormed)(Code)(Java Doc)
public Model add(Resource s, Property p, String lex, RDFDatatype datatype)(Code)(Java Doc)
public Model add(Resource s, Property p, String o, String l)(Code)(Java Doc)
public Model add(StmtIterator iter)(Code)(Java Doc)
public Model add(Model m)(Code)(Java Doc)
public Model add(Model m, boolean suppressReifications)(Code)(Java Doc)
public Model add(Statement s)(Code)(Java Doc)
public Model add(Statement[] statements)(Code)(Java Doc)
public Model add(List statements)(Code)(Java Doc)
public Model add(Resource s, Property p, RDFNode o)(Code)(Java Doc)
protected static Model addCommon(Model result, StmtIterator it, Model other)(Code)(Java Doc)
public Model addLiteral(Resource s, Property p, boolean o)(Code)(Java Doc)
public Model addLiteral(Resource s, Property p, long o)(Code)(Java Doc)
public Model addLiteral(Resource s, Property p, int o)(Code)(Java Doc)
public Model addLiteral(Resource s, Property p, char o)(Code)(Java Doc)
public Model addLiteral(Resource s, Property p, float o)(Code)(Java Doc)
public Model addLiteral(Resource s, Property p, double o)(Code)(Java Doc)
public Model addLiteral(Resource s, Property p, Object o)(Code)(Java Doc)
public static void addNamespaces(Model m, Map ns)(Code)(Java Doc)
public Model addTyped(Resource s, Property p, boolean o)(Code)(Java Doc)
public Filter asFilter(Selector s)(Code)(Java Doc)
public Model asModel(Graph g)(Code)(Java Doc)
public static Node asNode(RDFNode x)(Code)(Java Doc)
public RDFNode asRDFNode(Node n)(Code)(Java Doc)
public Statement asStatement(Triple t)(Code)(Java Doc)
public Statement[] asStatements(Triple[] triples)(Code)(Java Doc)
public List asStatements(List triples)(Code)(Java Doc)
public StmtIterator asStatements(Iterator it)(Code)(Java Doc)
public Model begin()(Code)(Java Doc)
public void close()(Code)(Java Doc)
public Model commit()(Code)(Java Doc)
public boolean contains(Resource s, Property p, String o)(Code)(Java Doc)
public boolean contains(Resource s, Property p, String o, String l)(Code)(Java Doc)
public boolean contains(Statement s)(Code)(Java Doc)
public boolean contains(Resource s, Property p)(Code)(Java Doc)
public boolean contains(Resource s, Property p, RDFNode o)(Code)(Java Doc)
public boolean containsAll(Model model)(Code)(Java Doc)
public boolean containsAll(StmtIterator iter)(Code)(Java Doc)
protected boolean containsAllThenClose(StmtIterator iter)(Code)(Java Doc)
public boolean containsAny(Model model)(Code)(Java Doc)
public boolean containsAny(StmtIterator iter)(Code)(Java Doc)
protected boolean containsAnyThenClose(StmtIterator iter)(Code)(Java Doc)
public boolean containsLiteral(Resource s, Property p, boolean o)(Code)(Java Doc)
public boolean containsLiteral(Resource s, Property p, long o)(Code)(Java Doc)
public boolean containsLiteral(Resource s, Property p, int o)(Code)(Java Doc)
public boolean containsLiteral(Resource s, Property p, char o)(Code)(Java Doc)
public boolean containsLiteral(Resource s, Property p, float o)(Code)(Java Doc)
public boolean containsLiteral(Resource s, Property p, double o)(Code)(Java Doc)
public boolean containsLiteral(Resource s, Property p, Object o)(Code)(Java Doc)
public boolean containsResource(RDFNode r)(Code)(Java Doc)
public boolean containsTyped(Resource s, Property p, boolean o)(Code)(Java Doc)
public Alt createAlt()(Code)(Java Doc)
public Alt createAlt(String uri)(Code)(Java Doc)
public Bag createBag()(Code)(Java Doc)
public Bag createBag(String uri)(Code)(Java Doc)
public RDFList createList()(Code)(Java Doc)
public RDFList createList(Iterator members)(Code)(Java Doc)
public RDFList createList(RDFNode[] members)(Code)(Java Doc)
public Literal createLiteral(String v)(Code)(Java Doc)
public Literal createLiteral(String v, String l)(Code)(Java Doc)
public Literal createLiteral(String v, boolean wellFormed)(Code)(Java Doc)
public Literal createLiteral(String v, String l, boolean wellFormed)(Code)(Java Doc)
public Statement createLiteralStatement(Resource r, Property p, boolean o)(Code)(Java Doc)
public Statement createLiteralStatement(Resource r, Property p, long o)(Code)(Java Doc)
public Statement createLiteralStatement(Resource r, Property p, int o)(Code)(Java Doc)
public Statement createLiteralStatement(Resource r, Property p, char o)(Code)(Java Doc)
public Statement createLiteralStatement(Resource r, Property p, float o)(Code)(Java Doc)
public Statement createLiteralStatement(Resource r, Property p, double o)(Code)(Java Doc)
public Statement createLiteralStatement(Resource r, Property p, Object o)(Code)(Java Doc)
public Property createProperty(String uri)(Code)(Java Doc)
public Property createProperty(String nameSpace, String localName)(Code)(Java Doc)
public ReifiedStatement createReifiedStatement(Statement s)(Code)(Java Doc)
public ReifiedStatement createReifiedStatement(String uri, Statement s)(Code)(Java Doc)
public Resource createResource(Resource type)(Code)(Java Doc)
public Resource createResource(String uri, Resource type)(Code)(Java Doc)
public Resource createResource(ResourceF f)(Code)(Java Doc)
public Resource createResource(AnonId id)(Code)(Java Doc)
public Resource createResource(String uri, ResourceF f)(Code)(Java Doc)
public Resource createResource()(Code)(Java Doc)
public Resource createResource(String uri)(Code)(Java Doc)
public Seq createSeq()(Code)(Java Doc)
public Seq createSeq(String uri)(Code)(Java Doc)
public Statement createStatement(Resource r, Property p, String o)(Code)(Java Doc)
public Statement createStatement(Resource r, Property p, String o, boolean wellFormed)(Code)(Java Doc)
public Statement createStatement(Resource r, Property p, String o, String l)(Code)(Java Doc)
public Statement createStatement(Resource r, Property p, String o, String l, boolean wellFormed)(Code)(Java Doc)
public Statement createStatement(Resource r, Property p, RDFNode o)(Code)(Java Doc)
public Literal createTypedLiteral(boolean v)(Code)(Java Doc)
public Literal createTypedLiteral(int v)(Code)(Java Doc)
public Literal createTypedLiteral(long v)(Code)(Java Doc)
public Literal createTypedLiteral(char v)(Code)(Java Doc)
public Literal createTypedLiteral(float v)(Code)(Java Doc)
public Literal createTypedLiteral(double v)(Code)(Java Doc)
public Literal createTypedLiteral(String v)(Code)(Java Doc)
public Literal createTypedLiteral(Calendar cal)(Code)(Java Doc)
public Literal createTypedLiteral(String lex, RDFDatatype dtype) throws DatatypeFormatException(Code)(Java Doc)
public Literal createTypedLiteral(Object value, RDFDatatype dtype)(Code)(Java Doc)
public Literal createTypedLiteral(String lex, String typeURI)(Code)(Java Doc)
public Literal createTypedLiteral(Object value, String typeURI)(Code)(Java Doc)
public Literal createTypedLiteral(Object value)(Code)(Java Doc)
protected static Model createWorkModel()(Code)(Java Doc)
public Model difference(Model model)(Code)(Java Doc)
public void enterCriticalSection(boolean requestReadLock)(Code)(Java Doc)
public Object executeInTransaction(Command cmd)(Code)(Java Doc)
public String expandPrefix(String prefixed)(Code)(Java Doc)
public ExtendedIterator findTriplesFrom(Selector s)(Code)(Java Doc)
public Alt getAlt(String uri)(Code)(Java Doc)
public Alt getAlt(Resource r)(Code)(Java Doc)
public Resource getAnyReifiedStatement(Statement s)(Code)(Java Doc)
public Bag getBag(String uri)(Code)(Java Doc)
public Bag getBag(Resource r)(Code)(Java Doc)
protected BulkUpdateHandler getBulkUpdateHandler()(Code)(Java Doc)
public static PrefixMapping getDefaultModelPrefixes()(Code)(Java Doc)
public Graph getGraph()(Code)(Java Doc)
public Model getHiddenStatements()(Code)(Java Doc)
public synchronized Lock getLock()(Code)(Java Doc)
public synchronized ModelLock getModelLock()(Code)(Java Doc)
public Map getNsPrefixMap()(Code)(Java Doc)
public String getNsPrefixURI(String prefix)(Code)(Java Doc)
public String getNsURIPrefix(String uri)(Code)(Java Doc)
public Property getProperty(String uri)(Code)(Java Doc)
public Property getProperty(String nameSpace, String localName)(Code)(Java Doc)
public Statement getProperty(Resource s, Property p)(Code)(Java Doc)
public RDFNode getRDFNode(Node n)(Code)(Java Doc)
public RDFReader getReader()(Code)(Java Doc)
public RDFReader getReader(String lang)(Code)(Java Doc)
public ReificationStyle getReificationStyle()(Code)(Java Doc)
public Statement getRequiredProperty(Resource s, Property p)(Code)(Java Doc)
public Resource getResource(String uri, ResourceF f)(Code)(Java Doc)
public Resource getResource(String uri)(Code)(Java Doc)
public Seq getSeq(String uri)(Code)(Java Doc)
public Seq getSeq(Resource r)(Code)(Java Doc)
public RDFWriter getWriter()(Code)(Java Doc)
public RDFWriter getWriter(String lang)(Code)(Java Doc)
public boolean independent()(Code)(Java Doc)
public static Model intersect(Model smaller, Model larger)(Code)(Java Doc)
public Model intersection(Model other)(Code)(Java Doc)
public boolean isClosed()(Code)(Java Doc)
public boolean isEmpty()(Code)(Java Doc)
public boolean isIsomorphicWith(Model m)(Code)(Java Doc)
public boolean isReified(Statement s)(Code)(Java Doc)
public void leaveCriticalSection()(Code)(Java Doc)
public StmtIterator listBySubject(Container cont)(Code)(Java Doc)
public StmtIterator listLiteralStatements(Resource S, Property P, boolean O)(Code)(Java Doc)
public StmtIterator listLiteralStatements(Resource S, Property P, long O)(Code)(Java Doc)
public StmtIterator listLiteralStatements(Resource S, Property P, char O)(Code)(Java Doc)
public StmtIterator listLiteralStatements(Resource S, Property P, double O)(Code)(Java Doc)
public NsIterator listNameSpaces()(Code)(Java Doc)
public NodeIterator listObjects()(Code)(Java Doc)
public NodeIterator listObjectsOfProperty(Property p)(Code)(Java Doc)
public NodeIterator listObjectsOfProperty(Resource s, Property p)(Code)(Java Doc)
public RSIterator listReifiedStatements()(Code)(Java Doc)
public RSIterator listReifiedStatements(Statement st)(Code)(Java Doc)
public ResIterator listResourcesWithProperty(Property p, boolean o)(Code)(Java Doc)
public ResIterator listResourcesWithProperty(Property p, char o)(Code)(Java Doc)
public ResIterator listResourcesWithProperty(Property p, long o)(Code)(Java Doc)
public ResIterator listResourcesWithProperty(Property p, float o)(Code)(Java Doc)
public ResIterator listResourcesWithProperty(Property p, double o)(Code)(Java Doc)
public ResIterator listResourcesWithProperty(Property p, Object o)(Code)(Java Doc)
public ResIterator listResourcesWithProperty(Property p)(Code)(Java Doc)
public ResIterator listResourcesWithProperty(Property p, RDFNode o)(Code)(Java Doc)
protected StmtIterator listStatements(Resource S, Property P, Node O)(Code)(Java Doc)
public StmtIterator listStatements(Resource S, Property P, RDFNode O)(Code)(Java Doc)
public StmtIterator listStatements(Resource S, Property P, String O)(Code)(Java Doc)
public StmtIterator listStatements(Resource S, Property P, String O, String L)(Code)(Java Doc)
public StmtIterator listStatements()(Code)(Java Doc)
public StmtIterator listStatements(Selector selector)(Code)(Java Doc)
public ResIterator listSubjects()(Code)(Java Doc)
public ResIterator listSubjectsWithProperty(Property p, RDFNode o)(Code)(Java Doc)
public ResIterator listSubjectsWithProperty(Property p, String o)(Code)(Java Doc)
public ResIterator listSubjectsWithProperty(Property p, String o, String l)(Code)(Java Doc)
public ResIterator listSubjectsWithProperty(Property p)(Code)(Java Doc)
public StmtIterator listlLiteralStatements(Resource S, Property P, float O)(Code)(Java Doc)
public PrefixMapping lock()(Code)(Java Doc)
public Model notifyEvent(Object e)(Code)(Java Doc)
public String qnameFor(String uri)(Code)(Java Doc)
public Model query(Selector selector)(Code)(Java Doc)
public QueryHandler queryHandler()(Code)(Java Doc)
public Model read(String url)(Code)(Java Doc)
public Model read(Reader reader, String base)(Code)(Java Doc)
public Model read(InputStream reader, String base)(Code)(Java Doc)
public Model read(String url, String lang)(Code)(Java Doc)
public Model read(String url, String base, String lang)(Code)(Java Doc)
public Model read(Reader reader, String base, String lang)(Code)(Java Doc)
public Model read(InputStream reader, String base, String lang)(Code)(Java Doc)
public Model register(ModelChangedListener listener)(Code)(Java Doc)
public String reifiedToString()(Code)(Java Doc)
public Model remove(Statement s)(Code)(Java Doc)
public Model remove(Resource s, Property p, RDFNode o)(Code)(Java Doc)
public Model remove(StmtIterator iter)(Code)(Java Doc)
public Model remove(Model m)(Code)(Java Doc)
public Model remove(Model m, boolean suppressReifications)(Code)(Java Doc)
public Model remove(Statement[] statements)(Code)(Java Doc)
public Model remove(List statements)(Code)(Java Doc)
public Model removeAll()(Code)(Java Doc)
public Model removeAll(Resource s, Property p, RDFNode o)(Code)(Java Doc)
public void removeAllReifications(Statement s)(Code)(Java Doc)
public PrefixMapping removeNsPrefix(String prefix)(Code)(Java Doc)
public void removeReification(ReifiedStatement rs)(Code)(Java Doc)
public boolean samePrefixMappingAs(PrefixMapping other)(Code)(Java Doc)
public static PrefixMapping setDefaultModelPrefixes(PrefixMapping pm)(Code)(Java Doc)
public PrefixMapping setNsPrefix(String prefix, String uri)(Code)(Java Doc)
public PrefixMapping setNsPrefixes(PrefixMapping pm)(Code)(Java Doc)
public PrefixMapping setNsPrefixes(Map map)(Code)(Java Doc)
public String setReaderClassName(String lang, String className)(Code)(Java Doc)
public String setWriterClassName(String lang, String className)(Code)(Java Doc)
public String shortForm(String uri)(Code)(Java Doc)
public long size()(Code)(Java Doc)
protected String statementsToString(StmtIterator it)(Code)(Java Doc)
public boolean supportsSetOperations()(Code)(Java Doc)
public boolean supportsTransactions()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public Model union(Model model)(Code)(Java Doc)
public Model unregister(ModelChangedListener listener)(Code)(Java Doc)
public PrefixMapping withDefaultMappings(PrefixMapping other)(Code)(Java Doc)
public Model write(Writer writer)(Code)(Java Doc)
public Model write(Writer writer, String lang)(Code)(Java Doc)
public Model write(Writer writer, String lang, String base)(Code)(Java Doc)
public Model write(OutputStream writer)(Code)(Java Doc)
public Model write(OutputStream writer, String lang)(Code)(Java Doc)
public Model write(OutputStream writer, String lang, String base)(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.