Source Code Cross Referenced for XSD.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:        XSD.java
003:         * Created by:  Dave Reynolds
004:         * Created on:  27-Mar-03
005:         * 
006:         * (c) Copyright 2003, 2004, 2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP
007:         * [See end of file]
008:         * $Id: XSD.java,v 1.13 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.Resource;
012:        import com.hp.hpl.jena.rdf.model.ResourceFactory;
013:        import com.hp.hpl.jena.datatypes.xsd.XSDDatatype;
014:
015:        /**
016:         * Defines Jena resources corresponding to the URIs for 
017:         * the XSD primitive datatypes which are known to Jena. 
018:         * 
019:         * @author <a href="mailto:der@hplb.hpl.hp.com">Dave Reynolds</a>
020:         * @version $Revision: 1.13 $ on $Date: 2008/01/02 12:07:29 $
021:         */
022:        public class XSD {
023:            /** 
024:             * The XSD namespace. This is the real XML Schema namespace
025:             * and so lacks the RDF-friendly # character. 
026:             * @deprecated in order to transition to RDF-friendly version replaced by {@link #getURI()}
027:             */
028:            public static String NS = XSDDatatype.XSD;
029:
030:            /**
031:             * The RDF-friendly version of the XSD namespace
032:             * with trailing # character.
033:             */
034:            public static String getURI() {
035:                return NS + "#";
036:            }
037:
038:            /** Resource URI for xsd:float */
039:            public static Resource xfloat;
040:
041:            /** Resource URI for xsd:double */
042:            public static Resource xdouble;
043:
044:            /** Resource URI for xsd:int */
045:            public static Resource xint;
046:
047:            /** Resource URI for xsd:long */
048:            public static Resource xlong;
049:
050:            /** Resource URI for xsd:short */
051:            public static Resource xshort;
052:
053:            /** Resource URI for xsd:byte */
054:            public static Resource xbyte;
055:
056:            /** Resource URI for xsd:boolean */
057:            public static Resource xboolean;
058:
059:            /** Resource URI for xsd:string */
060:            public static Resource xstring;
061:
062:            /** Resource URI for xsd:unsignedByte */
063:            public static Resource unsignedByte;
064:
065:            /** Resource URI for xsd:unsignedShort */
066:            public static Resource unsignedShort;
067:
068:            /** Resource URI for xsd:unsignedInt */
069:            public static Resource unsignedInt;
070:
071:            /** Resource URI for xsd:unsignedLong */
072:            public static Resource unsignedLong;
073:
074:            /** Resource URI for xsd:decimal */
075:            public static Resource decimal;
076:
077:            /** Resource URI for xsd:integer */
078:            public static Resource integer;
079:
080:            /** Resource URI for xsd:nonPositiveInteger */
081:            public static Resource nonPositiveInteger;
082:
083:            /** Resource URI for xsd:nonNegativeInteger */
084:            public static Resource nonNegativeInteger;
085:
086:            /** Resource URI for xsd:positiveInteger */
087:            public static Resource positiveInteger;
088:
089:            /** Resource URI for xsd:negativeInteger */
090:            public static Resource negativeInteger;
091:
092:            /** Resource URI for xsd:normalizedString */
093:            public static Resource normalizedString;
094:
095:            /** Resource URI for xsd:anyURI */
096:            public static Resource anyURI;
097:
098:            /** Resource URI for xsd:token */
099:            public static Resource token;
100:
101:            /** Resource URI for xsd:Name */
102:            public static Resource Name;
103:
104:            /** Resource URI for xsd:QName */
105:            public static Resource QName;
106:
107:            /** Resource URI for xsd:language */
108:            public static Resource language;
109:
110:            /** Resource URI for xsd:NMTOKEN */
111:            public static Resource NMTOKEN;
112:
113:            /** Resource URI for xsd:ENTITIES */
114:            public static Resource ENTITIES;
115:
116:            /** Resource URI for xsd:NMTOKENS */
117:            public static Resource NMTOKENS;
118:
119:            /** Resource URI for xsd:ENTITY */
120:            public static Resource ENTITY;
121:
122:            /** Resource URI for xsd:ID */
123:            public static Resource ID;
124:
125:            /** Resource URI for xsd:NCName */
126:            public static Resource NCName;
127:
128:            /** Resource URI for xsd:IDREF */
129:            public static Resource IDREF;
130:
131:            /** Resource URI for xsd:IDREFS */
132:            public static Resource IDREFS;
133:
134:            /** Resource URI for xsd:NOTATION */
135:            public static Resource NOTATION;
136:
137:            /** Resource URI for xsd:hexBinary */
138:            public static Resource hexBinary;
139:
140:            /** Resource URI for xsd:base64Binary */
141:            public static Resource base64Binary;
142:
143:            /** Resource URI for xsd:date */
144:            public static Resource date;
145:
146:            /** Resource URI for xsd:time */
147:            public static Resource time;
148:
149:            /** Resource URI for xsd:dateTime */
150:            public static Resource dateTime;
151:
152:            /** Resource URI for xsd:duration */
153:            public static Resource duration;
154:
155:            /** Resource URI for xsd:gDay */
156:            public static Resource gDay;
157:
158:            /** Resource URI for xsd:gMonth */
159:            public static Resource gMonth;
160:
161:            /** Resource URI for xsd:gYear */
162:            public static Resource gYear;
163:
164:            /** Resource URI for xsd:gYearMonth */
165:            public static Resource gYearMonth;
166:
167:            /** Resource URI for xsd:gMonthDay */
168:            public static Resource gMonthDay;
169:
170:            // Initializer
171:            static {
172:                xfloat = ResourceFactory.createResource(XSDDatatype.XSDfloat
173:                        .getURI());
174:                xdouble = ResourceFactory.createResource(XSDDatatype.XSDdouble
175:                        .getURI());
176:                xint = ResourceFactory.createResource(XSDDatatype.XSDint
177:                        .getURI());
178:                xlong = ResourceFactory.createResource(XSDDatatype.XSDlong
179:                        .getURI());
180:                xshort = ResourceFactory.createResource(XSDDatatype.XSDshort
181:                        .getURI());
182:                xbyte = ResourceFactory.createResource(XSDDatatype.XSDbyte
183:                        .getURI());
184:                unsignedByte = ResourceFactory
185:                        .createResource(XSDDatatype.XSDunsignedByte.getURI());
186:                unsignedShort = ResourceFactory
187:                        .createResource(XSDDatatype.XSDunsignedShort.getURI());
188:                unsignedInt = ResourceFactory
189:                        .createResource(XSDDatatype.XSDunsignedInt.getURI());
190:                unsignedLong = ResourceFactory
191:                        .createResource(XSDDatatype.XSDunsignedLong.getURI());
192:                decimal = ResourceFactory.createResource(XSDDatatype.XSDdecimal
193:                        .getURI());
194:                integer = ResourceFactory.createResource(XSDDatatype.XSDinteger
195:                        .getURI());
196:                nonPositiveInteger = ResourceFactory
197:                        .createResource(XSDDatatype.XSDnonPositiveInteger
198:                                .getURI());
199:                nonNegativeInteger = ResourceFactory
200:                        .createResource(XSDDatatype.XSDnonNegativeInteger
201:                                .getURI());
202:                positiveInteger = ResourceFactory
203:                        .createResource(XSDDatatype.XSDpositiveInteger.getURI());
204:                negativeInteger = ResourceFactory
205:                        .createResource(XSDDatatype.XSDnegativeInteger.getURI());
206:                xboolean = ResourceFactory
207:                        .createResource(XSDDatatype.XSDboolean.getURI());
208:                xstring = ResourceFactory.createResource(XSDDatatype.XSDstring
209:                        .getURI());
210:                normalizedString = ResourceFactory
211:                        .createResource(XSDDatatype.XSDnormalizedString
212:                                .getURI());
213:                anyURI = ResourceFactory.createResource(XSDDatatype.XSDanyURI
214:                        .getURI());
215:                token = ResourceFactory.createResource(XSDDatatype.XSDtoken
216:                        .getURI());
217:                Name = ResourceFactory.createResource(XSDDatatype.XSDName
218:                        .getURI());
219:                QName = ResourceFactory.createResource(XSDDatatype.XSDQName
220:                        .getURI());
221:                language = ResourceFactory
222:                        .createResource(XSDDatatype.XSDlanguage.getURI());
223:                NMTOKEN = ResourceFactory.createResource(XSDDatatype.XSDNMTOKEN
224:                        .getURI());
225:                ENTITY = ResourceFactory.createResource(XSDDatatype.XSDENTITY
226:                        .getURI());
227:                ID = ResourceFactory.createResource(XSDDatatype.XSDID.getURI());
228:                NCName = ResourceFactory.createResource(XSDDatatype.XSDNCName
229:                        .getURI());
230:                IDREF = ResourceFactory.createResource(XSDDatatype.XSDIDREF
231:                        .getURI());
232:                NOTATION = ResourceFactory
233:                        .createResource(XSDDatatype.XSDNOTATION.getURI());
234:                hexBinary = ResourceFactory
235:                        .createResource(XSDDatatype.XSDhexBinary.getURI());
236:                base64Binary = ResourceFactory
237:                        .createResource(XSDDatatype.XSDbase64Binary.getURI());
238:                date = ResourceFactory.createResource(XSDDatatype.XSDdate
239:                        .getURI());
240:                time = ResourceFactory.createResource(XSDDatatype.XSDtime
241:                        .getURI());
242:                dateTime = ResourceFactory
243:                        .createResource(XSDDatatype.XSDdateTime.getURI());
244:                duration = ResourceFactory
245:                        .createResource(XSDDatatype.XSDduration.getURI());
246:                gDay = ResourceFactory.createResource(XSDDatatype.XSDgDay
247:                        .getURI());
248:                gMonth = ResourceFactory.createResource(XSDDatatype.XSDgMonth
249:                        .getURI());
250:                gYear = ResourceFactory.createResource(XSDDatatype.XSDgYear
251:                        .getURI());
252:                gYearMonth = ResourceFactory
253:                        .createResource(XSDDatatype.XSDgYearMonth.getURI());
254:                gMonthDay = ResourceFactory
255:                        .createResource(XSDDatatype.XSDgMonthDay.getURI());
256:                //        ENTITIES = ResourceFactory.createResource(XSDDatatype.XSDENTITIES.getURI());
257:                //        NMTOKENS = ResourceFactory.createResource(XSDDatatype.XSDNMTOKENS.getURI());
258:                //        IDREFS = ResourceFactory.createResource(XSDDatatype.XSDIDREFS.getURI());
259:            }
260:        }
261:
262:        /*
263:         (c) Copyright 2003, 2004, 2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP
264:         All rights reserved.
265:
266:         Redistribution and use in source and binary forms, with or without
267:         modification, are permitted provided that the following conditions
268:         are met:
269:
270:         1. Redistributions of source code must retain the above copyright
271:         notice, this list of conditions and the following disclaimer.
272:
273:         2. Redistributions in binary form must reproduce the above copyright
274:         notice, this list of conditions and the following disclaimer in the
275:         documentation and/or other materials provided with the distribution.
276:
277:         3. The name of the author may not be used to endorse or promote products
278:         derived from this software without specific prior written permission.
279:
280:         THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
281:         IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
282:         OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
283:         IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
284:         INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
285:         NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
286:         DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
287:         THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
288:         (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
289:         THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
290:         */
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.