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


001:        /******************************************************************
002:         * File:        RDFTest.java
003:         * Created by:  Dave Reynolds
004:         * Created on:  12-Sep-2003
005:         * 
006:            (c) Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP
007:         * [See end of file]
008:         * $Id: RDFTest.java,v 1.6 2008/01/02 12:07:29 andy_seaborne Exp $
009:         *****************************************************************/package com.hp.hpl.jena.vocabulary;
010:
011:        import com.hp.hpl.jena.rdf.model.*;
012:
013:        /**
014:         * The vocabulary used by the RDFCore working group to define test manifests.
015:         * <p>
016:         * Vocabulary definitions from file:data/testOntology.rdf 
017:         * @author Auto-generated by schemagen on 12 Sep 2003 17:17 
018:         */
019:        public class RDFTest {
020:
021:            /** <p>The RDF model that holds the vocabulary terms</p> */
022:            private static Model m_model = ModelFactory.createDefaultModel();
023:
024:            /** <p>The namespace of the vocabalary as a string ({@value})</p> */
025:            public static final String NS = "http://www.w3.org/2000/10/rdf-tests/rdfcore/testSchema#";
026:
027:            /** <p>The namespace of the vocabalary as a string</p>
028:             *  @see #NS */
029:            public static String getURI() {
030:                return NS;
031:            }
032:
033:            /** <p>The namespace of the vocabalary as a resource</p> */
034:            public static final Resource NAMESPACE = m_model.createResource(NS);
035:
036:            /** <p>Contains a reference to the minutes of the WG meeting where the test case 
037:             *  status was last changed.</p>
038:             */
039:            public static final Property approval = m_model
040:                    .createProperty("http://www.w3.org/2000/10/rdf-tests/rdfcore/testSchema#approval");
041:
042:            /** <p>A human-readable summary of the test case.</p> */
043:            public static final Property description = m_model
044:                    .createProperty("http://www.w3.org/2000/10/rdf-tests/rdfcore/testSchema#description");
045:
046:            /** <p>Contains a pointer to other discussion surrounding this test case or the associated 
047:             *  issue.</p>
048:             */
049:            public static final Property discussion = m_model
050:                    .createProperty("http://www.w3.org/2000/10/rdf-tests/rdfcore/testSchema#discussion");
051:
052:            /** <p>The rules for determining entailment - presently RDF alone or RDF and RDFS; 
053:             *  in addition, the requirement for datatype support machinery can be indicated.</p>
054:             */
055:            public static final Property entailmentRules = m_model
056:                    .createProperty("http://www.w3.org/2000/10/rdf-tests/rdfcore/testSchema#entailmentRules");
057:
058:            /** <p>A test case input document.</p> */
059:            public static final Property inputDocument = m_model
060:                    .createProperty("http://www.w3.org/2000/10/rdf-tests/rdfcore/testSchema#inputDocument");
061:
062:            /** <p>Contains a pointer to the associated issue, such as is listed on the RDF Core 
063:             *  WG Tracking document.</p>
064:             */
065:            public static final Property issue = m_model
066:                    .createProperty("http://www.w3.org/2000/10/rdf-tests/rdfcore/testSchema#issue");
067:
068:            /** <p>A test case output document</p> */
069:            public static final Property outputDocument = m_model
070:                    .createProperty("http://www.w3.org/2000/10/rdf-tests/rdfcore/testSchema#outputDocument");
071:
072:            /** <p>Indicates the status of the test within a process, such as the RDF Core WG 
073:             *  process.</p>
074:             */
075:            public static final Property status = m_model
076:                    .createProperty("http://www.w3.org/2000/10/rdf-tests/rdfcore/testSchema#status");
077:
078:            /** <p>Indicates that while the test should pass, it may generate a warning.</p> */
079:            public static final Property warning = m_model
080:                    .createProperty("http://www.w3.org/2000/10/rdf-tests/rdfcore/testSchema#warning");
081:
082:            /** <p>A premise document of an entailment.</p> */
083:            public static final Property premiseDocument = m_model
084:                    .createProperty("http://www.w3.org/2000/10/rdf-tests/rdfcore/testSchema#premiseDocument");
085:
086:            /** <p>A conclusion document of an entailment.</p> */
087:            public static final Property conclusionDocument = m_model
088:                    .createProperty("http://www.w3.org/2000/10/rdf-tests/rdfcore/testSchema#conclusionDocument");
089:
090:            /** <p>A test case document for a miscellaneous test.</p> */
091:            public static final Property document = m_model
092:                    .createProperty("http://www.w3.org/2000/10/rdf-tests/rdfcore/testSchema#document");
093:
094:            /** <p>This manifest entry is used to describe test cases that do not fall into one 
095:             *  of the categories. It may have several associated files, indicated in <test:document> 
096:             *  elements.</p>
097:             */
098:            public static final Resource MiscellaneousTest = m_model
099:                    .createResource("http://www.w3.org/2000/10/rdf-tests/rdfcore/testSchema#MiscellaneousTest");
100:
101:            /** <p></p> */
102:            public static final Resource NT_Document = m_model
103:                    .createResource("http://www.w3.org/2000/10/rdf-tests/rdfcore/testSchema#NT-Document");
104:
105:            /** <p>These tests consist of one or more premise documents, and a consequent document. 
106:             *  An inference engine is considered to pass the test if it correctly holds that 
107:             *  the expressions in the premise documents do not entail those in the the conclusion 
108:             *  document.</p>
109:             */
110:            public static final Resource NegativeEntailmentTest = m_model
111:                    .createResource("http://www.w3.org/2000/10/rdf-tests/rdfcore/testSchema#NegativeEntailmentTest");
112:
113:            /** <p>These tests consist of one input document. The document is not legal RDF/XML. 
114:             *  A parser is considered to pass the test if it correctly holds the input document 
115:             *  to be in error.</p>
116:             */
117:            public static final Resource NegativeParserTest = m_model
118:                    .createResource("http://www.w3.org/2000/10/rdf-tests/rdfcore/testSchema#NegativeParserTest");
119:
120:            /** <p>These tests are specified by one or more premise documents (in RDF/XML or 
121:             *  N-Triples) together with a single conclusion document. In addition, the rules 
122:             *  used for determining entailment are specified by test:entailmentRules elements.</p>
123:             */
124:            public static final Resource PositiveEntailmentTest = m_model
125:                    .createResource("http://www.w3.org/2000/10/rdf-tests/rdfcore/testSchema#PositiveEntailmentTest");
126:
127:            /** <p>These tests consist of one (or more) input documents in RDF/XML as revised. 
128:             *  The expected result is defined using the N-Triples syntax.</p>
129:             */
130:            public static final Resource PositiveParserTest = m_model
131:                    .createResource("http://www.w3.org/2000/10/rdf-tests/rdfcore/testSchema#PositiveParserTest");
132:
133:            /** <p></p> */
134:            public static final Resource RDF_XML_Document = m_model
135:                    .createResource("http://www.w3.org/2000/10/rdf-tests/rdfcore/testSchema#RDF-XML-Document");
136:
137:        }
138:
139:        /*
140:         (c) Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP
141:         All rights reserved.
142:
143:         Redistribution and use in source and binary forms, with or without
144:         modification, are permitted provided that the following conditions
145:         are met:
146:
147:         1. Redistributions of source code must retain the above copyright
148:         notice, this list of conditions and the following disclaimer.
149:
150:         2. Redistributions in binary form must reproduce the above copyright
151:         notice, this list of conditions and the following disclaimer in the
152:         documentation and/or other materials provided with the distribution.
153:
154:         3. The name of the author may not be used to endorse or promote products
155:         derived from this software without specific prior written permission.
156:
157:         THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
158:         IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
159:         OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
160:         IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
161:         INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
162:         NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
163:         DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
164:         THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
165:         (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
166:         THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
167:         */
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.