Java Doc for ModelImplJena24.java in  » Search-Engine » semweb4j » org » ontoware » rdf2go » impl » jena24 » 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 » Search Engine » semweb4j » org.ontoware.rdf2go.impl.jena24 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.ontoware.rdf2go.model.impl.AbstractModel
   org.ontoware.rdf2go.impl.jena24.ModelImplJena24

ModelImplJena24
public class ModelImplJena24 extends AbstractModel implements Model(Code)
(wth) for information on typed literals see this very good how to http://jena.sourceforge.net/how-to/typedLiterals.html


Field Summary
static  IRIFactoryfactory
    
protected  com.hp.hpl.jena.rdf.model.ModeljenaModel
    
final protected static  Loglog
    
protected  longmodificationCount
    
protected  Reasoningreasoning
    

Constructor Summary
public  ModelImplJena24(URI contextURI, Reasoning r)
    
public  ModelImplJena24(URI contextURI, com.hp.hpl.jena.rdf.model.Model jenaModel)
    
public  ModelImplJena24(com.hp.hpl.jena.rdf.model.Model jenaModel)
    
public  ModelImplJena24(URI contextURI, com.hp.hpl.jena.rdf.model.Model jenaModel, Reasoning reasoning)
    
public  ModelImplJena24(Reasoning reasoning)
    

Method Summary
public  voidaddAll(Iterator<? extends Statement> other)
    
public  voidaddStatement(org.ontoware.rdf2go.model.node.Resource subject, URI predicate, org.ontoware.rdf2go.model.node.Node object)
    
 voidapplyReasoning(Reasoning r)
    
public  BlankNodecreateBlankNode()
    
public  BlankNodecreateBlankNode(String id)
    
public  voiddump()
    
public  ClosableIterator<Statement>findStatements(ResourceOrVariable subject, UriOrVariable predicate, NodeOrVariable object)
    
public  URIgetContextURI()
    
public  com.hp.hpl.jena.rdf.model.ModelgetInternalJenaModel()
    
public  longgetModificationCount()
    
public  ObjectgetUnderlyingModelImplementation()
    
public  booleanisIsomorphicWith(Model other)
    
public  booleanisLocked()
    
public  booleanisValidURI(String uriString)
    
public  ClosableIterator<Statement>iterator()
    
public  voidlock()
    
public  voidreadFrom(Reader r)
    
public  voidreadFrom(Reader reader, Syntax syntax)
    
public  voidreadFrom(Reader reader, Syntax syntax, URL baseURI)
    
public  voidreadFrom(InputStream in)
    
public  voidreadFrom(InputStream in, Syntax syntax)
    
public  voidreadFrom(InputStream in, Syntax syntax, URL baseURI)
    
public  voidremoveStatement(org.ontoware.rdf2go.model.node.Resource subject, URI predicate, org.ontoware.rdf2go.model.node.Node object)
    
public  voidsetUnderlyingModelImplementation(Object o)
    
public  longsize()
    
public  booleansparqlAsk(String queryString)
    
public  ClosableIterable<Statement>sparqlConstruct(String queryString)
    
public  ClosableIterable<Statement>sparqlDescribe(String queryString)
    
public  QueryResultTablesparqlSelect(String queryString)
    
public  voidunlock()
    
public  voidupdate(Diff diff)
    
public  voidwriteTo(Writer w)
    
public  voidwriteTo(Writer writer, Syntax syntax)
    
public  voidwriteTo(OutputStream out)
    
public  voidwriteTo(OutputStream out, Syntax syntax)
    

Field Detail
factory
static IRIFactory factory(Code)



jenaModel
protected com.hp.hpl.jena.rdf.model.Model jenaModel(Code)



log
final protected static Log log(Code)



modificationCount
protected long modificationCount(Code)
used to check wheter iterators work on the up-to-date model



reasoning
protected Reasoning reasoning(Code)




Constructor Detail
ModelImplJena24
public ModelImplJena24(URI contextURI, Reasoning r)(Code)

Parameters:
  reasoning -



ModelImplJena24
public ModelImplJena24(URI contextURI, com.hp.hpl.jena.rdf.model.Model jenaModel)(Code)
wraps a Jena Model in a rdf2go Model
Parameters:
  jenaModel -



ModelImplJena24
public ModelImplJena24(com.hp.hpl.jena.rdf.model.Model jenaModel)(Code)



ModelImplJena24
public ModelImplJena24(URI contextURI, com.hp.hpl.jena.rdf.model.Model jenaModel, Reasoning reasoning)(Code)



ModelImplJena24
public ModelImplJena24(Reasoning reasoning)(Code)




Method Detail
addAll
public void addAll(Iterator<? extends Statement> other) throws ModelRuntimeException(Code)



addStatement
public void addStatement(org.ontoware.rdf2go.model.node.Resource subject, URI predicate, org.ontoware.rdf2go.model.node.Node object) throws ModelRuntimeException(Code)



applyReasoning
void applyReasoning(Reasoning r)(Code)



createBlankNode
public BlankNode createBlankNode()(Code)



createBlankNode
public BlankNode createBlankNode(String id)(Code)



dump
public void dump()(Code)



findStatements
public ClosableIterator<Statement> findStatements(ResourceOrVariable subject, UriOrVariable predicate, NodeOrVariable object) throws ModelRuntimeException(Code)



getContextURI
public URI getContextURI()(Code)



getInternalJenaModel
public com.hp.hpl.jena.rdf.model.Model getInternalJenaModel()(Code)
handle with care, iterators based on this model might (silently!) throw concurrent modification exceptions the underlying jena model



getModificationCount
public long getModificationCount()(Code)
count of modifications, used to prevent iterators from accessingold modle state



getUnderlyingModelImplementation
public Object getUnderlyingModelImplementation()(Code)



isIsomorphicWith
public boolean isIsomorphicWith(Model other)(Code)



isLocked
public boolean isLocked()(Code)



isValidURI
public boolean isValidURI(String uriString)(Code)



iterator
public ClosableIterator<Statement> iterator()(Code)



lock
public void lock() throws LockException(Code)



readFrom
public void readFrom(Reader r)(Code)



readFrom
public void readFrom(Reader reader, Syntax syntax)(Code)
Might need this code fragment: FileOutputStream fos = new FileOutputStream(tmpFile); OutputStreamWriter osw = new OutputStreamWriter(fos, "utf8"); synchronized (getDelegatedModel()) { DumpUtils.addCommonPrefixesToJenaModel(jenaModel); jenaModel.write(osw, lang, ""); } osw.close();



readFrom
public void readFrom(Reader reader, Syntax syntax, URL baseURI)(Code)



readFrom
public void readFrom(InputStream in) throws IOException, ModelRuntimeException(Code)



readFrom
public void readFrom(InputStream in, Syntax syntax) throws IOException, ModelRuntimeException(Code)



readFrom
public void readFrom(InputStream in, Syntax syntax, URL baseURI) throws IOException, ModelRuntimeException(Code)



removeStatement
public void removeStatement(org.ontoware.rdf2go.model.node.Resource subject, URI predicate, org.ontoware.rdf2go.model.node.Node object) throws ModelRuntimeException(Code)



setUnderlyingModelImplementation
public void setUnderlyingModelImplementation(Object o)(Code)



size
public long size() throws ModelRuntimeException(Code)



sparqlAsk
public boolean sparqlAsk(String queryString) throws ModelRuntimeException(Code)



sparqlConstruct
public ClosableIterable<Statement> sparqlConstruct(String queryString) throws ModelRuntimeException(Code)



sparqlDescribe
public ClosableIterable<Statement> sparqlDescribe(String queryString) throws ModelRuntimeException(Code)
opened result Model



sparqlSelect
public QueryResultTable sparqlSelect(String queryString) throws ModelRuntimeException(Code)



unlock
public void unlock()(Code)



update
public void update(Diff diff) throws ModelRuntimeException(Code)



writeTo
public void writeTo(Writer w)(Code)



writeTo
public void writeTo(Writer writer, Syntax syntax)(Code)



writeTo
public void writeTo(OutputStream out) throws IOException, ModelRuntimeException(Code)



writeTo
public void writeTo(OutputStream out, Syntax syntax) throws ModelRuntimeException, IOException(Code)
Throws an exception if the syntax is not SPARQL
throws:
  IOException -
throws:
  ModelRuntimeException -



Fields inherited from org.ontoware.rdf2go.model.impl.AbstractModel
protected Object model(Code)(Java Doc)

Methods inherited from org.ontoware.rdf2go.model.impl.AbstractModel
public void addAll(Iterator<? extends Statement> other) throws ModelRuntimeException(Code)(Java Doc)
public void addStatement(Resource subject, URI predicate, String literal) throws ModelRuntimeException(Code)(Java Doc)
public void addStatement(Resource subject, URI predicate, String literal, String languageTag) throws ModelRuntimeException(Code)(Java Doc)
public void addStatement(Resource subject, URI predicate, String literal, URI datatypeURI) throws ModelRuntimeException(Code)(Java Doc)
public void addStatement(Statement statement) throws ModelRuntimeException(Code)(Java Doc)
public void addStatement(String subjectURIString, URI predicate, String literal) throws ModelRuntimeException(Code)(Java Doc)
public void addStatement(String subjectURIString, URI predicate, String literal, String languageTag) throws ModelRuntimeException(Code)(Java Doc)
public void addStatement(String subjectURIString, URI predicate, String literal, URI datatypeURI) throws ModelRuntimeException(Code)(Java Doc)
protected void assertModel()(Code)(Java Doc)
public void close()(Code)(Java Doc)
public void commit()(Code)(Java Doc)
public boolean contains(ResourceOrVariable subject, UriOrVariable predicate, NodeOrVariable object) throws ModelRuntimeException(Code)(Java Doc)
public boolean contains(ResourceOrVariable subject, UriOrVariable predicate, String plainLiteral) throws ModelRuntimeException(Code)(Java Doc)
public boolean contains(Statement s) throws ModelRuntimeException(Code)(Java Doc)
public long countStatements(TriplePattern pattern) throws ModelRuntimeException(Code)(Java Doc)
public DatatypeLiteral createDatatypeLiteral(String literal, URI datatypeURI) throws ModelRuntimeException(Code)(Java Doc)
public LanguageTagLiteral createLanguageTagLiteral(String literal, String languageTag) throws ModelRuntimeException(Code)(Java Doc)
public PlainLiteral createPlainLiteral(String literal) throws ModelRuntimeException(Code)(Java Doc)
public BlankNode createReficationOf(Statement statement)(Code)(Java Doc)
public Resource createReficationOf(Statement statement, Resource resource)(Code)(Java Doc)
public Statement createStatement(Resource subject, URI predicate, Node object)(Code)(Java Doc)
public TriplePattern createTriplePattern(ResourceOrVariable subject, UriOrVariable predicate, NodeOrVariable object)(Code)(Java Doc)
public URI createURI(String uriString) throws ModelRuntimeException(Code)(Java Doc)
public void deleteReification(Resource reificationResource)(Code)(Java Doc)
public ClosableIterator<Statement> findStatements(TriplePattern triplepattern) throws ModelRuntimeException(Code)(Java Doc)
public Collection<Resource> getAllReificationsOf(Statement statement)(Code)(Java Doc)
public Diff getDiff(Iterator<? extends Statement> other) throws ModelRuntimeException(Code)(Java Doc)
public Object getProperty(URI propertyURI)(Code)(Java Doc)
public Object getUnderlyingModelImplementation()(Code)(Java Doc)
public boolean hasReifications(Statement statement)(Code)(Java Doc)
public boolean isEmpty()(Code)(Java Doc)
public boolean isOpen()(Code)(Java Doc)
public URI newRandomUniqueURI()(Code)(Java Doc)
public void open()(Code)(Java Doc)
public ClosableIterable<Statement> queryConstruct(String query, String querylanguage) throws QueryLanguageNotSupportedException, ModelRuntimeException(Code)(Java Doc)
public QueryResultTable querySelect(String query, String querylanguage) throws QueryLanguageNotSupportedException, ModelRuntimeException(Code)(Java Doc)
public void readFrom(InputStream in, Syntax syntax) throws IOException, ModelRuntimeException(Code)(Java Doc)
public void readFrom(InputStream in, Syntax syntax, URL baseURI) throws IOException, ModelRuntimeException(Code)(Java Doc)
public void readFrom(Reader reader, Syntax syntax, URL baseURI) throws ModelRuntimeException, IOException(Code)(Java Doc)
public void removeAll() throws ModelRuntimeException(Code)(Java Doc)
public void removeAll(Iterator<? extends Statement> statements)(Code)(Java Doc)
public void removeStatement(Resource subject, URI predicate, String literal) throws ModelRuntimeException(Code)(Java Doc)
public void removeStatement(Resource subject, URI predicate, String literal, String languageTag) throws ModelRuntimeException(Code)(Java Doc)
public void removeStatement(Resource subject, URI predicate, String literal, URI datatypeURI) throws ModelRuntimeException(Code)(Java Doc)
public void removeStatement(Statement statement) throws ModelRuntimeException(Code)(Java Doc)
public void removeStatement(String subjectURIString, URI predicate, String literal) throws ModelRuntimeException(Code)(Java Doc)
public void removeStatement(String subjectURIString, URI predicate, String literal, String languageTag) throws ModelRuntimeException(Code)(Java Doc)
public void removeStatement(String subjectURIString, URI predicate, String literal, URI datatypeURI) throws ModelRuntimeException(Code)(Java Doc)
public void removeStatements(ResourceOrVariable subject, UriOrVariable predicate, NodeOrVariable object) throws ModelRuntimeException(Code)(Java Doc)
public void removeStatements(TriplePattern triplePattern) throws ModelRuntimeException(Code)(Java Doc)
public String serialize(Syntax syntax) throws SyntaxNotSupportedException(Code)(Java Doc)
public void setAutocommit(boolean autocommit)(Code)(Java Doc)
public void setProperty(URI propertyURI, Object value)(Code)(Java Doc)
public long size() throws ModelRuntimeException(Code)(Java Doc)
public boolean sparqlAsk(String query) throws ModelRuntimeException, MalformedQueryException(Code)(Java Doc)
public synchronized void update(DiffReader diff) throws ModelRuntimeException(Code)(Java Doc)
public void writeTo(OutputStream out, Syntax syntax) throws IOException, ModelRuntimeException(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.