Source Code Cross Referenced for ModelWriter.java in  » Search-Engine » semweb4j » org » ontoware » rdf2go » model » 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.model 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * LICENSE INFORMATION
003:         * Copyright 2005-2007 by FZI (http://www.fzi.de).
004:         * Licensed under a BSD license (http://www.opensource.org/licenses/bsd-license.php)
005:         * <OWNER> = Max Völkel
006:         * <ORGANIZATION> = FZI Forschungszentrum Informatik Karlsruhe, Karlsruhe, Germany
007:         * <YEAR> = 2007
008:         * 
009:         * Project information at http://semweb4j.org/rdf2go
010:         */
011:        package org.ontoware.rdf2go.model;
012:
013:        import java.util.Iterator;
014:
015:        import org.ontoware.rdf2go.exception.ModelRuntimeException;
016:        import org.ontoware.rdf2go.model.node.Node;
017:        import org.ontoware.rdf2go.model.node.Resource;
018:        import org.ontoware.rdf2go.model.node.URI;
019:
020:        /**
021:         * 
022:         * @author voelkel
023:         */
024:        public interface ModelWriter {
025:
026:            /**
027:             * adds a statement to this model
028:             * 
029:             * @param statement the statement to add
030:             * @throws ModelRuntimeException
031:             */
032:            public void addStatement(Statement statement)
033:                    throws ModelRuntimeException;
034:
035:            /**
036:             * Add all statements contained in 'other' to this model = 'union'
037:             * 
038:             * @param other
039:             *            another RDF2GO model
040:             * @throws ModelRuntimeException
041:             */
042:            public void addAll(Iterator<? extends Statement> other)
043:                    throws ModelRuntimeException;
044:
045:            /**
046:             * adds a (subject, property ,object)-statement to this model
047:             * 
048:             * @param subject
049:             * @param predicate
050:             * @param object
051:             * @throws ModelRuntimeException
052:             */
053:            public void addStatement(Resource subject, URI predicate,
054:                    Node object) throws ModelRuntimeException;
055:
056:            /**
057:             * adds a (subject, property, liteal, language-tag)-statement to the model.
058:             * This method is intended to give the user convenience and allows the
059:             * underlying implementation to convert directly to native objects without
060:             * converting to RDF2Go objects first.
061:             * 
062:             * @param subject
063:             *            URI or Object (= blankNode)
064:             * @param predicate
065:             * @param literal
066:             * @param languageTag
067:             *            RDF language tag
068:             * @throws ModelRuntimeException
069:             */
070:            public void addStatement(Resource subject, URI predicate,
071:                    String literal, String languageTag)
072:                    throws ModelRuntimeException;
073:
074:            /**
075:             * adds a (subject, property, literal ,datatype)-statement to the model.
076:             * This method is intended to give the user convenience and allows the
077:             * underlying implementation to convert directly to native objects without
078:             * converting to RDF2Go objects first.
079:             * 
080:             * datatype normaly is an uri for a xml schema datatype (xsd)
081:             * 
082:             * @param subject
083:             * @param predicate
084:             * @param literal
085:             * @param datatypeURI
086:             * @throws ModelRuntimeException
087:             */
088:            public void addStatement(Resource subject, URI predicate,
089:                    String literal, URI datatypeURI)
090:                    throws ModelRuntimeException;
091:
092:            /**
093:             * adds a (subject, property, literal)-statement to the model. This method
094:             * is intended to give the user convenience and allows the underlying
095:             * implementation to convert directly to native objects without converting
096:             * to RDF2Go objects first.
097:             * 
098:             * @param subject
099:             * @param predicate
100:             * @param literal
101:             * @throws ModelRuntimeException
102:             */
103:            public void addStatement(Resource subject, URI predicate,
104:                    String literal) throws ModelRuntimeException;
105:
106:            /**
107:             * adds a (subject, property, liteal, language-tag)-statement to the model.
108:             * This method is intended to give the user convenience and allows the
109:             * underlying implementation to convert directly to native objects without
110:             * converting to RDF2Go objects first.
111:             * 
112:             * @param subject -
113:             *            interpretded as a URI
114:             * @param predicate
115:             * @param literal
116:             * @param languageTag
117:             *            RDF language tag
118:             * @throws ModelRuntimeException
119:             */
120:            public void addStatement(String subjectURIString, URI predicate,
121:                    String literal, String languageTag)
122:                    throws ModelRuntimeException;
123:
124:            /**
125:             * adds a (subject, property, literal ,datatype)-statement to the model.
126:             * This method is intended to give the user convenience and allows the
127:             * underlying implementation to convert directly to native objects without
128:             * converting to RDF2Go objects first.
129:             * 
130:             * datatype normaly is an uri for a xml schema datatype (xsd)
131:             * 
132:             * @param subject
133:             * @param predicate
134:             * @param literal
135:             * @param datatypeURI
136:             * @throws ModelRuntimeException
137:             */
138:            public void addStatement(String subjectURIString, URI predicate,
139:                    String literal, URI datatypeURI)
140:                    throws ModelRuntimeException;
141:
142:            /**
143:             * adds a (subject, property, literal)-statement to the model. This method
144:             * is intended to give the user convenience and allows the underlying
145:             * implementation to convert directly to native objects without converting
146:             * to RDF2Go objects first.
147:             * 
148:             * @param subject
149:             * @param predicate
150:             * @param literal
151:             * @throws ModelRuntimeException
152:             */
153:            public void addStatement(String subjectURIString, URI predicate,
154:                    String literal) throws ModelRuntimeException;
155:
156:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.