Source Code Cross Referenced for JA.java in  » RSS-RDF » Jena-2.5.5 » com » hp » hpl » jena » assembler » 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.assembler 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         	(c) Copyright 2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP
003:         	All rights reserved - see end of file.
004:         	$Id: JA.java,v 1.16 2008/01/31 12:30:47 chris-dollin Exp $
005:         */
006:
007:        package com.hp.hpl.jena.assembler;
008:
009:        import com.hp.hpl.jena.rdf.model.*;
010:
011:        public class JA {
012:            public static final String uri = "http://jena.hpl.hp.com/2005/11/Assembler#";
013:
014:            public static String getURI() {
015:                return uri;
016:            }
017:
018:            protected static Model schema;
019:
020:            protected static Resource resource(String localName) {
021:                return ResourceFactory.createResource(uri + localName);
022:            }
023:
024:            public static Property property(String localName) {
025:                return ResourceFactory.createProperty(uri + localName);
026:            }
027:
028:            public static final Resource MemoryModel = resource("MemoryModel");
029:
030:            public static final Resource DefaultModel = resource("DefaultModel");
031:
032:            public static final Resource InfModel = resource("InfModel");
033:
034:            public static final Resource Object = resource("Object");
035:
036:            public static final Property reasoner = property("reasoner");
037:
038:            public static final Property reasonerURL = property("reasonerURL");
039:
040:            public static final Property baseModel = property("baseModel");
041:
042:            public static final Property literalContent = property("literalContent");
043:
044:            public static final Property connection = property("connection");
045:
046:            public static final Property rules = property("rules");
047:
048:            public static final Resource Model = resource("Model");
049:
050:            public static final Resource OntModel = resource("OntModel");
051:
052:            public static final Resource NamedModel = resource("NamedModel");
053:
054:            public static final Resource FileModel = resource("FileModel");
055:
056:            public static final Resource RDBModel = resource("RDBModel");
057:
058:            public static final Resource PrefixMapping = resource("PrefixMapping");
059:
060:            public static final Resource ReasonerFactory = resource("ReasonerFactory");
061:
062:            public static final Resource HasFileManager = resource("HasFileManager");
063:
064:            public static final Resource Content = resource("Content");
065:
066:            public static final Resource Connection = resource("Connection");
067:
068:            public static final Resource Connectable = resource("Connectable");
069:
070:            public static final Resource LiteralContent = resource("LiteralContent");
071:
072:            public static final Resource OntModelSpec = resource("OntModelSpec");
073:
074:            public static final Resource ModelSource = resource("ModelSource");
075:
076:            public static final Resource RDBModelSource = resource("RDBModelSource");
077:
078:            public static final Property content = property("content");
079:
080:            public static final Resource ExternalContent = resource("ExternalContent");
081:
082:            public static final Property externalContent = property("externalContent");
083:
084:            public static final Property modelName = property("modelName");
085:
086:            public static final Property ontModelSpec = property("ontModelSpec");
087:
088:            public static final Resource This = resource("this");
089:
090:            public static final Resource True = resource("true");
091:
092:            public static final Resource False = resource("false");
093:
094:            public static final Resource Expanded = resource("Expanded");
095:
096:            public static final Property prefix = property("prefix");
097:
098:            public static final Property namespace = property("namespace");
099:
100:            public static final Property includes = property("includes");
101:
102:            public static final Property directory = property("directory");
103:
104:            public static final Property mapName = property("mapName");
105:
106:            public static final Property documentManager = property("documentManager");
107:
108:            public static final Property ontLanguage = property("ontLanguage");
109:
110:            public static final Property importSource = property("importSource");
111:
112:            public static final Property quotedContent = property("quotedContent");
113:
114:            public static final Property contentEncoding = property("contentEncoding");
115:
116:            public static final Property initialContent = property("initialContent");
117:
118:            public static final Resource RuleSet = resource("RuleSet");
119:
120:            public static final Property rule = property("rule");
121:
122:            public static final Resource HasRules = resource("HasRules");
123:
124:            public static final Property rulesFrom = property("rulesFrom");
125:
126:            public static final Resource ContentItem = resource("ContentItem");
127:
128:            public static final Property dbClass = property("dbClass");
129:
130:            public static final Resource LocationMapper = resource("LocationMapper");
131:
132:            public static final Property locationMapper = property("locationMapper");
133:
134:            public static final Resource FileManager = resource("FileManager");
135:
136:            public static final Resource DocumentManager = resource("DocumentManager");
137:
138:            public static final Property fileManager = property("fileManager");
139:
140:            public static final Property policyPath = property("policyPath");
141:
142:            public static final Resource UnionModel = resource("UnionModel");
143:
144:            public static final Property subModel = property("subModel");
145:
146:            public static final Property rootModel = property("rootModel");
147:
148:            public static final Property reificationMode = property("reificationMode");
149:
150:            public static final Resource minimal = resource("minimal");
151:
152:            public static final Resource convenient = resource("convenient");
153:
154:            public static final Resource standard = resource("standard");
155:
156:            public static final Resource ReificationMode = resource("ReificationMode");
157:
158:            public static final Property fileEncoding = property("fileEncoding");
159:
160:            public static final Property dbUser = property("dbUser");
161:
162:            public static final Property dbUserProperty = property("dbUserProperty");
163:
164:            public static final Property dbPassword = property("dbPassword");
165:
166:            public static final Property dbPasswordProperty = property("dbPasswordProperty");
167:
168:            public static final Property dbURL = property("dbURL");
169:
170:            public static final Property dbURLProperty = property("dbURLProperty");
171:
172:            public static final Property dbType = property("dbType");
173:
174:            public static final Property dbTypeProperty = property("dbTypeProperty");
175:
176:            public static final Property dbClassProperty = property("dbClassProperty");
177:
178:            public static final Property assembler = property("assembler");
179:
180:            public static final Property loadClass = property("loadClass");
181:
182:            public static final Property imports = property("imports");
183:
184:            public static final Property reasonerFactory = property("reasonerFactory");
185:
186:            public static final Property reasonerClass = property("reasonerClass");
187:
188:            public static final Property likeBuiltinSpec = property("likeBuiltinSpec");
189:
190:            public static Model getSchema() { // inline packagename to avoid clash with /our/ FileManager.
191:                if (schema == null)
192:                    schema = complete(com.hp.hpl.jena.util.FileManager.get()
193:                            .loadModel(getSchemaPath()));
194:                return schema;
195:            }
196:
197:            private static Model complete(Model m) {
198:                Model result = ModelFactory.createDefaultModel();
199:                result.add(ModelFactory.createRDFSModel(m));
200:                return result;
201:            }
202:
203:            private static String getSchemaPath() {
204:                return "vocabularies/assembler.n3";
205:            }
206:        }
207:
208:        /*
209:         * (c) Copyright 2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP
210:         * All rights reserved.
211:         *
212:         * Redistribution and use in source and binary forms, with or without
213:         * modification, are permitted provided that the following conditions
214:         * are met:
215:         * 1. Redistributions of source code must retain the above copyright
216:         *    notice, this list of conditions and the following disclaimer.
217:         * 2. Redistributions in binary form must reproduce the above copyright
218:         *    notice, this list of conditions and the following disclaimer in the
219:         *    documentation and/or other materials provided with the distribution.
220:         * 3. The name of the author may not be used to endorse or promote products
221:         *    derived from this software without specific prior written permission.
222:         *
223:         * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
224:         * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
225:         * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
226:         * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
227:         * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
228:         * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
229:         * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
230:         * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
231:         * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
232:         * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
233:         */
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.