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


java.lang.Object
   com.hp.hpl.jena.graph.impl.SimpleReifier

SimpleReifier
public class SimpleReifier implements Reifier(Code)


Field Summary
protected  booleanclosed
    
final protected  booleanconcealing
    
protected  ReifierFragmentsMapfragmentsMap
    
final protected  booleanintercepting
    
final protected  GraphBaseparent
    
final protected  ReificationStylestyle
    
protected  ReifierTripleMaptripleMap
    

Constructor Summary
public  SimpleReifier(GraphBase parent, ReificationStyle style)
     construct a simple reifier that is bound to the parent graph .
public  SimpleReifier(GraphBase parent, ReifierTripleMap tm, ReifierFragmentsMap fm, ReificationStyle style)
    

Method Summary
protected  voidaddFragment(ReifierFragmentHandler s, Triple fragment)
     Add fragment to the fragments already present.
public  ExtendedIteratorallNodes()
    
public  ExtendedIteratorallNodes(Triple t)
    
public  voidclear()
    
public  voidclose()
     Close this reifier - discard (big) resources.
public  ExtendedIteratorfind(TripleMatch m)
    
public  ExtendedIteratorfindEither(TripleMatch m, boolean showHidden)
    
public  ExtendedIteratorfindExposed(TripleMatch m)
    
public  GraphgetParentGraph()
    
public  ReificationStylegetStyle()
    
public  TriplegetTriple(Node n)
    
public static  voidgraphAddQuad(GraphAdd g, Node node, Triple t)
    
public  booleanhandledAdd(Triple fragment)
    
public  booleanhandledRemove(Triple fragment)
    
public  booleanhasTriple(Node n)
    
public  booleanhasTriple(Triple t)
    
public  booleanisClosed()
     Answer true iff this SImpleReifier has been closed.
public  NodereifyAs(Node tag, Triple toReify)
     reifiy toReify with tag tag.
protected  voidreifyNewTriple(Node tag, Triple toReify)
     Reify toReify under tag; there is no existing complete reification.
public  voidremove(Node n, Triple t)
     If n is bound to the triple t, remove that triple.
public  voidremove(Triple t)
    
public  intsize()
    
public  StringtoString()
     our string representation is wrapped round the string representation of our node map.

Field Detail
closed
protected boolean closed(Code)



concealing
final protected boolean concealing(Code)



fragmentsMap
protected ReifierFragmentsMap fragmentsMap(Code)



intercepting
final protected boolean intercepting(Code)



parent
final protected GraphBase parent(Code)



style
final protected ReificationStyle style(Code)



tripleMap
protected ReifierTripleMap tripleMap(Code)




Constructor Detail
SimpleReifier
public SimpleReifier(GraphBase parent, ReificationStyle style)(Code)
construct a simple reifier that is bound to the parent graph .
Parameters:
  parent - the Graph which we're reifiying for
Parameters:
  style - the reification style to use



SimpleReifier
public SimpleReifier(GraphBase parent, ReifierTripleMap tm, ReifierFragmentsMap fm, ReificationStyle style)(Code)




Method Detail
addFragment
protected void addFragment(ReifierFragmentHandler s, Triple fragment)(Code)
Add fragment to the fragments already present. This may create a complete triple, or over-specify.
Parameters:
  s -
Parameters:
  fragment -



allNodes
public ExtendedIterator allNodes()(Code)



allNodes
public ExtendedIterator allNodes(Triple t)(Code)



clear
public void clear()(Code)



close
public void close()(Code)
Close this reifier - discard (big) resources.



find
public ExtendedIterator find(TripleMatch m)(Code)



findEither
public ExtendedIterator findEither(TripleMatch m, boolean showHidden)(Code)



findExposed
public ExtendedIterator findExposed(TripleMatch m)(Code)



getParentGraph
public Graph getParentGraph()(Code)
return the parent graph we are bound to



getStyle
public ReificationStyle getStyle()(Code)



getTriple
public Triple getTriple(Node n)(Code)
return the triple bound to _n_



graphAddQuad
public static void graphAddQuad(GraphAdd g, Node node, Triple t)(Code)



handledAdd
public boolean handledAdd(Triple fragment)(Code)



handledRemove
public boolean handledRemove(Triple fragment)(Code)



hasTriple
public boolean hasTriple(Node n)(Code)
true iff there is a triple bound to _n_



hasTriple
public boolean hasTriple(Triple t)(Code)



isClosed
public boolean isClosed()(Code)
Answer true iff this SImpleReifier has been closed.



reifyAs
public Node reifyAs(Node tag, Triple toReify)(Code)
reifiy toReify with tag tag. If a different triple is already reified under tag, throw an AlreadyReifiedException.



reifyNewTriple
protected void reifyNewTriple(Node tag, Triple toReify)(Code)
Reify toReify under tag; there is no existing complete reification. This code goes around the houses by adding the fragments one-by-one and then seeing if that made a complete reification. Perhaps there's a better way, but I couldn't see it.



remove
public void remove(Node n, Triple t)(Code)
If n is bound to the triple t, remove that triple. If we're not concealing reification quadlets, we need to remove them from the parent graph too.



remove
public void remove(Triple t)(Code)



size
public int size()(Code)



toString
public String toString()(Code)
our string representation is wrapped round the string representation of our node map.



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)

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