Source Code Cross Referenced for ModelValueFactory.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 org.ontoware.rdf2go.exception.ModelRuntimeException;
014:        import org.ontoware.rdf2go.model.node.BlankNode;
015:        import org.ontoware.rdf2go.model.node.DatatypeLiteral;
016:        import org.ontoware.rdf2go.model.node.LanguageTagLiteral;
017:        import org.ontoware.rdf2go.model.node.Node;
018:        import org.ontoware.rdf2go.model.node.PlainLiteral;
019:        import org.ontoware.rdf2go.model.node.Resource;
020:        import org.ontoware.rdf2go.model.node.URI;
021:
022:        /**
023:         * Factory-like parts of an RDF2Go-Model
024:         * 
025:         * @author voelkel
026:         * 
027:         */
028:        public interface ModelValueFactory {
029:
030:            /**
031:             * Create (but do not add) a new blank node
032:             * @return a new blank node
033:             */
034:            BlankNode createBlankNode();
035:
036:            /**
037:             * Create a new blank node with the given internal ID. The id should be one
038:             *         returned from BlankNode.getInternalID().
039:             * @param internalID
040:             * @return a BlankNode with the given internal ID. 
041:             * @throws UnsupportedOperationException
042:             *             if the underlying store cannot create BlankNodes from IDs.
043:             * @throws IllegalArgumentException
044:             *             if the internalID could not be used
045:             */
046:            BlankNode createBlankNode(String internalID);
047:
048:            /**
049:             * The model must create URIs it would accept itself.
050:             * 
051:             * @return a new URI from the given String
052:             * @throws IllegalArgumentException,
053:             *             e.g. if URI is invalid
054:             */
055:            URI createURI(String uriString) throws IllegalArgumentException;
056:
057:            /**
058:             * CHecks URI for syntax errors.
059:             * @param uriString
060:             * @return true if the URI is valid for the given implementation
061:             */
062:            boolean isValidURI(String uriString);
063:
064:            /**
065:             * Create a new plain literal
066:             * @param literal
067:             * @return a PlainLiteral
068:             */
069:            PlainLiteral createPlainLiteral(String literal);
070:
071:            /**
072:             * @param literal
073:             * @param langugeTag
074:             * @return a LanguageTagLiteral
075:             * @throws ModelRuntimeException
076:             *             e.g. if the language tag is malformed
077:             */
078:            LanguageTagLiteral createLanguageTagLiteral(String literal,
079:                    String langugeTag) throws ModelRuntimeException;
080:
081:            /**
082:             * @param literal
083:             * @param datatypeURI
084:             * @return a DatatypeLiteral
085:             * @throws ModelRuntimeException
086:             *             e.g. if the datatype URI causes problems
087:             */
088:            DatatypeLiteral createDatatypeLiteral(String literal,
089:                    URI datatypeURI) throws ModelRuntimeException;
090:
091:            /**
092:             * Create a new statement - but DOES NOT add it to the model
093:             * @param subject
094:             * @param predicate
095:             * @param object
096:             * @return a Statement
097:             */
098:            Statement createStatement(Resource subject, URI predicate,
099:                    Node object);
100:
101:            /**
102:             * Implementations are free to choose if their semantics are unique within
103:             * the this model, the ModelSet, or unique in the universe
104:             * 
105:             * @return a new, unique URI
106:             */
107:            URI newRandomUniqueURI();
108:
109:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.