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


com.hp.hpl.jena.graph.compose.CompositionBase
   com.hp.hpl.jena.graph.compose.Polyadic

All known Subclasses:   com.hp.hpl.jena.graph.compose.MultiUnion,
Polyadic
abstract public class Polyadic extends CompositionBase (Code)

A base class for composition graphs that are composed from zero or more sub-graphs (thus providing a basis for polyadic composition operators). A distinguished graph is the designated graph for additions to the union. By default, this is the first sub-graph of the composition, however any of the graphs in the composition can be nominated to be the distinguished graph.


author:
   Ian Dickinson, HP Labs
author:
   (email)
version:
   CVS $Id: Polyadic.java,v 1.20 2008/01/02 12:10:19 andy_seaborne Exp $


Field Summary
protected  Graphm_baseGraph
     The distinguished graph for adding to.
protected  Listm_subGraphs
    

Constructor Summary
public  Polyadic()
    

Construct a composition of exactly no sub graphs.

public  Polyadic(Graph[] graphs)
    
public  Polyadic(Iterator graphs)
    

Construct a composition of all of the given graphs.


Parameters:
  graphs - An iterator of the sub-graphs of this composition.

Method Summary
public  voidaddGraph(Graph graph)
    

Add the given graph to this composition.

public  voidclose()
    

Close the graph by closing all of the sub-graphs.

public  booleandependsOn(Graph graph)
    

Answer true if this graph contains the given graph as a sub-component.

public  GraphgetBaseGraph()
    

Answer the distinguished graph for the composition, which will be the graph that receives triple adds and deletes.

public  BulkUpdateHandlergetBulkUpdateHandler()
    
public  CapabilitiesgetCapabilities()
    
public  PrefixMappinggetPrefixMapping()
    
public  GraphgetRequiredBaseGraph()
    

Answer the distinguished graph for the composition, which will be the graph that receives triple adds and deletes.

public  ListgetSubGraphs()
    
public  TransactionHandlergetTransactionHandler()
    
public  voidremoveGraph(Graph graph)
    

Remove the given graph from this composition.

public  voidsetBaseGraph(Graph graph)
    

Set the designated updateable graph for this composition.


Field Detail
m_baseGraph
protected Graph m_baseGraph(Code)
The distinguished graph for adding to. If null, use the 0'th graph in the list.



m_subGraphs
protected List m_subGraphs(Code)
A list of the sub-graphs that this composition contains




Constructor Detail
Polyadic
public Polyadic()(Code)

Construct a composition of exactly no sub graphs.




Polyadic
public Polyadic(Graph[] graphs)(Code)

Construct a composition of all of the given graphs


Parameters:
  graphs - An array of the sub-graphs of this composition



Polyadic
public Polyadic(Iterator graphs)(Code)

Construct a composition of all of the given graphs.


Parameters:
  graphs - An iterator of the sub-graphs of this composition. If graphs isa closable iterator, it will be automatically closed.




Method Detail
addGraph
public void addGraph(Graph graph)(Code)

Add the given graph to this composition.


Parameters:
  graph - A sub-graph to add to this composition



close
public void close()(Code)

Close the graph by closing all of the sub-graphs.


See Also:   com.hp.hpl.jena.graph.Graph.close



dependsOn
public boolean dependsOn(Graph graph)(Code)

Answer true if this graph contains the given graph as a sub-component.


Parameters:
  graph - A graph to test True if the graph is this graph, or is a sub-graph of this one.
See Also:   com.hp.hpl.jena.graph.Graph.dependsOn(Graph)



getBaseGraph
public Graph getBaseGraph()(Code)

Answer the distinguished graph for the composition, which will be the graph that receives triple adds and deletes. If no base graph is defined, return null.

The distinguished updateable graph, or null if there are no graphsin this composition



getBulkUpdateHandler
public BulkUpdateHandler getBulkUpdateHandler()(Code)



getCapabilities
public Capabilities getCapabilities()(Code)



getPrefixMapping
public PrefixMapping getPrefixMapping()(Code)



getRequiredBaseGraph
public Graph getRequiredBaseGraph()(Code)

Answer the distinguished graph for the composition, which will be the graph that receives triple adds and deletes. If no base graph is defined, throw a JenaException .

The distinguished updateable graph, or null if there are no graphsin this composition



getSubGraphs
public List getSubGraphs()(Code)

Answer a list of the graphs other than the updateable (base) graph

A list of all of the sub-graphs, excluding the base graph.



getTransactionHandler
public TransactionHandler getTransactionHandler()(Code)



removeGraph
public void removeGraph(Graph graph)(Code)

Remove the given graph from this composition. If the removed graph is the designated updateable graph, the updatable graph goes back to the default for this composition.


Parameters:
  graph - A sub-graph to remove from this composition



setBaseGraph
public void setBaseGraph(Graph graph)(Code)

Set the designated updateable graph for this composition.


Parameters:
  graph - One of the graphs currently in this composition to be thedesignated graph to receive udpates
exception:
  IllegalArgumentException - if graph is not one of the members ofthe composition



Methods inherited from com.hp.hpl.jena.graph.compose.CompositionBase
public static ClosableIterator butNot(ClosableIterator a, ClosableIterator b)(Code)(Java Doc)
public static Filter ifIn(ClosableIterator i)(Code)(Java Doc)
public static Filter ifIn(Graph g)(Code)(Java Doc)
public static ExtendedIterator recording(ClosableIterator i, Set seen)(Code)(Java Doc)
public static Filter reject(ClosableIterator i)(Code)(Java Doc)
public static ExtendedIterator rejecting(ExtendedIterator i, Set seen)(Code)(Java Doc)
public static ExtendedIterator rejecting(ExtendedIterator i, Graph seen)(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.