Java Doc for Graph.java in  » RSS-RDF » Jena-2.5.5 » com » hp » hpl » jena » graph » 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.graph 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.hp.hpl.jena.graph.Graph

All known Subclasses:   com.hp.hpl.jena.mem.GraphMem,  com.hp.hpl.jena.graph.compose.Intersection,  com.hp.hpl.jena.db.GraphRDB,  com.hp.hpl.jena.db.impl.DBReifierGraph,  com.hp.hpl.jena.graph.compose.Union,  com.hp.hpl.jena.graph.compose.Difference,  com.hp.hpl.jena.graph.compose.Delta,  com.hp.hpl.jena.mem.MixedGraphMem,
Graph
public interface Graph extends GraphAdd(Code)
The interface to be satisfied by implementations maintaining collections of RDF triples. The core interface is small (add, delete, find, contains) and is augmented by additional classes to handle more complicated matters such as reification, query handling, bulk update, event management, and transaction handling.

For add(Triple) see GraphAdd.
author:
   Jeremy Carroll, Chris Dollin



Field Summary
final public static  GraphemptyGraph
     An immutable empty graph.


Method Summary
 voidclose()
     Free all resources, any further use of this Graph is an error.
 booleancontains(Node s, Node p, Node o)
     Answer true iff the graph contains a triple matching (s, p, o). s/p/o may be concrete or fluid.
 booleancontains(Triple t)
     Answer true iff the graph contains a triple that t matches; t may be fluid.
 voiddelete(Triple t)
    
 booleandependsOn(Graph other)
     true if this graph's content depends on the other graph.
 ExtendedIteratorfind(TripleMatch m)
     Returns an iterator over all the Triples that match the triple pattern.
 ExtendedIteratorfind(Node s, Node p, Node o)
     Returns an iterator over Triple.
 BulkUpdateHandlergetBulkUpdateHandler()
    
 CapabilitiesgetCapabilities()
    
 GraphEventManagergetEventManager()
     Answer this Graph's event manager.
 PrefixMappinggetPrefixMapping()
     returns this Graph's prefix mapping.
 ReifiergetReifier()
     returns this Graph's reifier.
 GraphStatisticsHandlergetStatisticsHandler()
     Answer this Graph's statistics handler, or null if there isn't one.
 TransactionHandlergetTransactionHandler()
    
 booleanisClosed()
     Answer true iff .close() has been called onn this Graph.
 booleanisEmpty()
     Answer true iff this graph is empty.
 booleanisIsomorphicWith(Graph g)
     Compare this graph with another using the method described in http://www.w3.org/TR/rdf-concepts#section-Graph-syntax
Parameters:
  g - Compare against this.
 QueryHandlerqueryHandler()
    
 intsize()
     For a concrete graph this returns the number of triples in the graph.

Field Detail
emptyGraph
final public static Graph emptyGraph(Code)
An immutable empty graph.





Method Detail
close
void close()(Code)
Free all resources, any further use of this Graph is an error.



contains
boolean contains(Node s, Node p, Node o)(Code)
Answer true iff the graph contains a triple matching (s, p, o). s/p/o may be concrete or fluid. Equivalent to find(s,p,o).hasNext, but an implementation is expected to optimise this in easy cases.



contains
boolean contains(Triple t)(Code)
Answer true iff the graph contains a triple that t matches; t may be fluid.



delete
void delete(Triple t) throws DeleteDeniedException(Code)
Remove the triple t (if possible) from the set belonging to this graph
Parameters:
  t - the triple to add to the graph
throws:
  DeleteDeniedException - if the triple cannot be removed



dependsOn
boolean dependsOn(Graph other)(Code)
true if this graph's content depends on the other graph. May be pessimistic (ie return true if it's not sure). Typically true when a graph is a composition of other graphs, eg union.
Parameters:
  other - the graph this graph may depend on false if this does not depend on other



find
ExtendedIterator find(TripleMatch m)(Code)
Returns an iterator over all the Triples that match the triple pattern.
Parameters:
  m - a Triple[Match] encoding the pattern to look for an iterator of all triples in this graph that match m



find
ExtendedIterator find(Node s, Node p, Node o)(Code)
Returns an iterator over Triple.



getBulkUpdateHandler
BulkUpdateHandler getBulkUpdateHandler()(Code)
returns this Graph's bulk-update handler



getCapabilities
Capabilities getCapabilities()(Code)
returns this Graph's capabilities



getEventManager
GraphEventManager getEventManager()(Code)
Answer this Graph's event manager.



getPrefixMapping
PrefixMapping getPrefixMapping()(Code)
returns this Graph's prefix mapping. Each call on a given Graph gets the same PrefixMapping object, which is the one used by the Graph.



getReifier
Reifier getReifier()(Code)
returns this Graph's reifier. Each call on a given Graph gets the same Reifier object.



getStatisticsHandler
GraphStatisticsHandler getStatisticsHandler()(Code)
Answer this Graph's statistics handler, or null if there isn't one. Every call to this method on a particular graph delivers the same (==) answer.



getTransactionHandler
TransactionHandler getTransactionHandler()(Code)
returns this Graph's transaction handler



isClosed
boolean isClosed()(Code)
Answer true iff .close() has been called onn this Graph.



isEmpty
boolean isEmpty()(Code)
Answer true iff this graph is empty. "Empty" means "has as few triples as it can manage", because an inference graph may have irremovable axioms and their consequences.



isIsomorphicWith
boolean isIsomorphicWith(Graph g)(Code)
Compare this graph with another using the method described in http://www.w3.org/TR/rdf-concepts#section-Graph-syntax
Parameters:
  g - Compare against this. boolean True if the two graphs are isomorphic.



queryHandler
QueryHandler queryHandler()(Code)
returns this Graph's query handler



size
int size()(Code)
For a concrete graph this returns the number of triples in the graph. For graphs which might infer additional triples it results an estimated lower bound of the number of triples. For example, an inference graph might return the number of triples in the raw data graph.



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