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


java.lang.Object
   com.hp.hpl.jena.rdf.model.impl.ModelReifier

ModelReifier
public class ModelReifier (Code)
This class impedance-matches the reification requests of Model[Com] to the operations supplied by it's Graph's Reifier.
author:
   kers


Field Summary
final protected  Map1mapToRS
     A mapper that maps modes to their corresponding ReifiedStatement objects.
public  Reifierreifier
    

Constructor Summary
public  ModelReifier(ModelCom model)
     establish the internal state of this ModelReifier: the associated Model[Com] and its graph's Reifier.

Method Summary
public  ReifiedStatementcreateReifiedStatement(Statement s)
     Answer a fresh reification of a statement associated with a fresh bnode.
public  ReifiedStatementcreateReifiedStatement(String uri, Statement s)
     Answer a reification of a statement with a given uri.
public  ResourcegetAnyReifiedStatement(Statement s)
     Find any existing reified statement that reifies a givem statement.
public  ModelgetHiddenStatements()
     Answer a model that consists of the hidden reification statements of this model.
protected static  GraphgetHiddenTriples(Model m)
    
public  ReificationStylegetReificationStyle()
    
public  booleanisReified(FrontsTriple s)
    
public  RSIteratorlistReifiedStatements()
     Answer an iterator that iterates over all the reified statements in this model.
public  RSIteratorlistReifiedStatements(FrontsTriple s)
     Answer an iterator that iterates over all the reified statements in this model that reify a given statement.
Parameters:
  s - the statement whose reifications are sought.
public  voidnoteIfReified(RDFNode s, RDFNode p, RDFNode o)
     the triple (s, p, o) has been asserted into the model.
public  voidremoveAllReifications(FrontsTriple s)
     Remove all the reifications of a given statement in this model, whatever their associated resources.
public  voidremoveReification(ReifiedStatement rs)
     Remove a given reification from this model.
public static  ModelwithHiddenStatements(Model m)
     Answer a version of the model, but with all its reifiying statements added.

Field Detail
mapToRS
final protected Map1 mapToRS(Code)
A mapper that maps modes to their corresponding ReifiedStatement objects. This cannot be static: getRS cannot be static, because the mapping is model-specific.



reifier
public Reifier reifier(Code)




Constructor Detail
ModelReifier
public ModelReifier(ModelCom model)(Code)
establish the internal state of this ModelReifier: the associated Model[Com] and its graph's Reifier.




Method Detail
createReifiedStatement
public ReifiedStatement createReifiedStatement(Statement s)(Code)
Answer a fresh reification of a statement associated with a fresh bnode.
Parameters:
  s - a Statement to reifiy a reified statement object who's name is a new bnode



createReifiedStatement
public ReifiedStatement createReifiedStatement(String uri, Statement s)(Code)
Answer a reification of a statement with a given uri. If that uri already reifies a distinct Statement, throw an AlreadyReifiedException.
Parameters:
  uri - the URI of the resource which will reify s
Parameters:
  s - the Statement to reify a reified statement object associating uri with s.
throws:
  AlreadyReifiedException - if uri already reifies something else.



getAnyReifiedStatement
public Resource getAnyReifiedStatement(Statement s)(Code)
Find any existing reified statement that reifies a givem statement. If there isn't one, create one.
Parameters:
  s - a Statement for which to find [or create] a reification a reification for s, re-using an existing one if possible



getHiddenStatements
public Model getHiddenStatements()(Code)
Answer a model that consists of the hidden reification statements of this model. a new model containing the hidden statements of this model



getHiddenTriples
protected static Graph getHiddenTriples(Model m)(Code)

Parameters:
  mGraph -



getReificationStyle
public ReificationStyle getReificationStyle()(Code)



isReified
public boolean isReified(FrontsTriple s)(Code)
Answer true iff a given statement is reified in this model
Parameters:
  s - the statement for which a reification is sought true iff s has a reification in this model



listReifiedStatements
public RSIterator listReifiedStatements()(Code)
Answer an iterator that iterates over all the reified statements in this model. an iterator over all the reifications of the model.



listReifiedStatements
public RSIterator listReifiedStatements(FrontsTriple s)(Code)
Answer an iterator that iterates over all the reified statements in this model that reify a given statement.
Parameters:
  s - the statement whose reifications are sought. an iterator over the reifications of s.



noteIfReified
public void noteIfReified(RDFNode s, RDFNode p, RDFNode o)(Code)
the triple (s, p, o) has been asserted into the model. Any reified statements among them need to be added to this model.



removeAllReifications
public void removeAllReifications(FrontsTriple s)(Code)
Remove all the reifications of a given statement in this model, whatever their associated resources.
Parameters:
  s - the statement whose reifications are to be removed



removeReification
public void removeReification(ReifiedStatement rs)(Code)
Remove a given reification from this model. Other reifications of the same statement are untouched.
Parameters:
  rs - the reified statement to be removed



withHiddenStatements
public static Model withHiddenStatements(Model m)(Code)
Answer a version of the model, but with all its reifiying statements added.
Parameters:
  m - a model that may have reified statements a new model, the union of m and the reification statements of m



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

ww___w__.j_a_va__2_s___.__c__om__ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.