equal
deleted
inserted
replaced
1 <?xml version="1.0" encoding="UTF-8"?> |
1 <!doctype html> |
2 <!-- |
2 <!-- |
3 Copyright (c) 2004, 2005, Oracle and/or its affiliates. All rights reserved. |
3 Copyright (c) 2004, 2017, Oracle and/or its affiliates. All rights reserved. |
4 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5 |
5 |
6 This code is free software; you can redistribute it and/or modify it |
6 This code is free software; you can redistribute it and/or modify it |
7 under the terms of the GNU General Public License version 2 only, as |
7 under the terms of the GNU General Public License version 2 only, as |
8 published by the Free Software Foundation. Oracle designates this |
8 published by the Free Software Foundation. Oracle designates this |
22 Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
22 Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
23 or visit www.oracle.com if you need additional information or have any |
23 or visit www.oracle.com if you need additional information or have any |
24 questions. |
24 questions. |
25 --> |
25 --> |
26 |
26 |
27 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
27 <html> |
28 <html xmlns="http://www.w3.org/1999/xhtml"> |
|
29 |
28 |
30 <head> |
29 <head> |
31 <title>javax.xml.xpath</title> |
30 <title>javax.xml.xpath</title> |
32 |
31 |
33 <meta name="@author" content="mailto:Jeff.Suttor@Sun.com" /> |
32 <meta name="@author" content="mailto:Jeff.Suttor@Sun.com" /> |
48 <li><a href="http://www.w3.org/TR/xmlschema-2/#dateTime">W3C XML Schema 1.0 Part 2, Section 3.2.7-14</a></li> |
47 <li><a href="http://www.w3.org/TR/xmlschema-2/#dateTime">W3C XML Schema 1.0 Part 2, Section 3.2.7-14</a></li> |
49 <li><a href="http://www.w3.org/TR/xpath-datamodel#dt-dayTimeDuration">XQuery 1.0 and XPath 2.0 Data Model, xdt:dayTimeDuration</a></li> |
48 <li><a href="http://www.w3.org/TR/xpath-datamodel#dt-dayTimeDuration">XQuery 1.0 and XPath 2.0 Data Model, xdt:dayTimeDuration</a></li> |
50 <li><a href="http://www.w3.org/TR/xpath-datamodel#dt-yearMonthDuration">XQuery 1.0 and XPath 2.0 Data Model, xdt:yearMonthDuration</a></li> |
49 <li><a href="http://www.w3.org/TR/xpath-datamodel#dt-yearMonthDuration">XQuery 1.0 and XPath 2.0 Data Model, xdt:yearMonthDuration</a></li> |
51 </ul> |
50 </ul> |
52 |
51 |
53 <hr /> |
52 <hr> |
54 |
53 |
55 <table border="1" cellpadding="2"> |
54 <table class="striped"> |
|
55 <caption> W3C XML Schema/Java Type Mappings</caption> |
56 <thead> |
56 <thead> |
57 <tr> |
57 <tr> |
58 <th>W3C XML Schema Data Type</th> |
58 <th>W3C XML Schema Data Type</th> |
59 <th>Java Data Type</th> |
59 <th>Java Data Type</th> |
60 </tr> |
60 </tr> |
99 </tr> |
99 </tr> |
100 |
100 |
101 </tbody> |
101 </tbody> |
102 </table> |
102 </table> |
103 |
103 |
104 <hr /> |
104 <hr> |
105 |
105 |
106 |
106 |
107 <table border="1" cellpadding="2"> |
107 <table class="striped"> |
|
108 <caption>XQuery and XPath/Java Type Mappings</caption> |
108 <thead> |
109 <thead> |
109 <tr> |
110 <tr> |
110 <th>XQuery 1.0 and XPath 2.0 Data Model</th> |
111 <th>XQuery 1.0 and XPath 2.0 Data Model</th> |
111 <th>Java Data Type</th> |
112 <th>Java Data Type</th> |
112 </tr> |
113 </tr> |
122 <td>{@link javax.xml.datatype.Duration}</td> |
123 <td>{@link javax.xml.datatype.Duration}</td> |
123 </tr> |
124 </tr> |
124 </tbody> |
125 </tbody> |
125 </table> |
126 </table> |
126 |
127 |
127 <hr /> |
128 <hr> |
128 |
129 |
129 <p> |
130 <p> |
130 W3C XML Schema data types that have a "<em>natural</em>" mapping to Java types are defined by |
131 W3C XML Schema data types that have a "<em>natural</em>" mapping to Java types are defined by |
131 JSR 31: Java™ Architecture for XML Binding (JAXB) Specification, Binding XML Schema to Java Representations. |
132 JSR 31: Java™ Architecture for XML Binding (JAXB) Specification, Binding XML Schema to Java Representations. |
132 JAXB defined mappings for XML Schema built-in data types include: |
133 JAXB defined mappings for XML Schema built-in data types include: |
149 <li>xs:unsignedByte</li> |
150 <li>xs:unsignedByte</li> |
150 <li>xs:unsignedInt</li> |
151 <li>xs:unsignedInt</li> |
151 <li>xs:unsignedShort</li> |
152 <li>xs:unsignedShort</li> |
152 </ul> |
153 </ul> |
153 |
154 |
154 <hr /> |
155 <hr> |
155 |
156 |
156 |
157 |
157 <ul> |
158 <ul> |
158 <li>Author <a href="mailto:Jeff.Suttor@Sun.com">Jeff Suttor</a></li> |
159 <li>Author <a href="mailto:Jeff.Suttor@Sun.com">Jeff Suttor</a></li> |
159 <li>See <a href="http://www.w3.org/TR/xmlschema-2/#dateTime">W3C XML Schema 1.0 Part 2, Section 3.2.7-14</a></li> |
160 <li>See <a href="http://www.w3.org/TR/xmlschema-2/#dateTime">W3C XML Schema 1.0 Part 2, Section 3.2.7-14</a></li> |
160 <li>See <a href="http://www.w3.org/TR/xpath-datamodel#dt-dayTimeDuration">XQuery 1.0 and XPath 2.0 Data Model, xdt:dayTimeDuration</a></li> |
161 <li>See <a href="http://www.w3.org/TR/xpath-datamodel#dt-dayTimeDuration">XQuery 1.0 and XPath 2.0 Data Model, xdt:dayTimeDuration</a></li> |
161 <li>See <a href="http://www.w3.org/TR/xpath-datamodel#dt-yearMonthDuration">XQuery 1.0 and XPath 2.0 Data Model, xdt:yearMonthDuration</a></li> |
162 <li>See <a href="http://www.w3.org/TR/xpath-datamodel#dt-yearMonthDuration">XQuery 1.0 and XPath 2.0 Data Model, xdt:yearMonthDuration</a></li> |
162 <li>Since 1.5</li> |
163 <li>Since 1.5</li> |
163 </ul> |
164 </ul> |
164 |
165 |
165 <hr /> |
166 <hr> |
166 |
167 |
167 |
168 |
168 </body> |
169 </body> |
169 </html> |
170 </html> |