jdk/src/java.sql.rowset/share/classes/javax/sql/rowset/webrowset.xsd
changeset 25859 3317bb8137f4
parent 5506 202f599c92aa
equal deleted inserted replaced
25858:836adbf7a2cd 25859:3317bb8137f4
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 
       
     3 <!--
       
     4  Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
       
     5  DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
       
     6 
       
     7  This code is free software; you can redistribute it and/or modify it
       
     8  under the terms of the GNU General Public License version 2 only, as
       
     9  published by the Free Software Foundation.  Oracle designates this
       
    10  particular file as subject to the "Classpath" exception as provided
       
    11  by Oracle in the LICENSE file that accompanied this code.
       
    12 
       
    13  This code is distributed in the hope that it will be useful, but WITHOUT
       
    14  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
       
    15  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
       
    16  version 2 for more details (a copy is included in the LICENSE file that
       
    17  accompanied this code).
       
    18 
       
    19  You should have received a copy of the GNU General Public License version
       
    20  2 along with this work; if not, write to the Free Software Foundation,
       
    21  Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
       
    22 
       
    23  Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
       
    24  or visit www.oracle.com if you need additional information or have any
       
    25  questions.
       
    26 -->
       
    27 
       
    28 <!-- WebRowSet XML Schema by Jonathan Bruce (Sun Microsystems Inc.) -->
       
    29 <xs:schema targetNamespace="http://java.sun.com/xml/ns/jdbc" xmlns:wrs="http://java.sun.com/xml/ns/jdbc" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
       
    30 	
       
    31 	<xs:element name="webRowSet">
       
    32 		<xs:complexType>
       
    33 			<xs:sequence>
       
    34 				<xs:element ref="wrs:properties"/>
       
    35 				<xs:element ref="wrs:metadata"/>
       
    36 				<xs:element ref="wrs:data"/>
       
    37 			</xs:sequence>
       
    38 		</xs:complexType>
       
    39 	</xs:element>
       
    40 	
       
    41 	<xs:element name="columnValue" type="xs:anyType"/>
       
    42 	<xs:element name="updateValue" type="xs:anyType"/>
       
    43 	
       
    44 	<xs:element name="properties">
       
    45 		<xs:complexType>
       
    46 			<xs:sequence>
       
    47 				<xs:element name="command" type="xs:string"/>
       
    48 				<xs:element name="concurrency" type="xs:string"/>
       
    49 				<xs:element name="datasource" type="xs:string"/>
       
    50 				<xs:element name="escape-processing" type="xs:string"/>
       
    51 				<xs:element name="fetch-direction" type="xs:string"/>
       
    52 				<xs:element name="fetch-size" type="xs:string"/>
       
    53 				<xs:element name="isolation-level" type="xs:string"/>
       
    54 				<xs:element name="key-columns">
       
    55 					<xs:complexType>
       
    56 						<xs:sequence minOccurs="0" maxOccurs="unbounded">
       
    57 							<xs:element name="column" type="xs:string"/>
       
    58 						</xs:sequence>
       
    59 					</xs:complexType>
       
    60 				</xs:element>
       
    61 				<xs:element name="map">
       
    62 					<xs:complexType>
       
    63 						<xs:sequence minOccurs="0" maxOccurs="unbounded">
       
    64 							<xs:element name="type" type="xs:string"/>
       
    65 							<xs:element name="class" type="xs:string"/>
       
    66 						</xs:sequence>
       
    67 					</xs:complexType>
       
    68 				</xs:element>
       
    69 				<xs:element name="max-field-size" type="xs:string"/>
       
    70 				<xs:element name="max-rows" type="xs:string"/>
       
    71 				<xs:element name="query-timeout" type="xs:string"/>
       
    72 				<xs:element name="read-only" type="xs:string"/>
       
    73 				<xs:element name="rowset-type" type="xs:string"/>
       
    74 				<xs:element name="show-deleted" type="xs:string"/>
       
    75 				<xs:element name="table-name" type="xs:string"/>
       
    76 				<xs:element name="url" type="xs:string"/>
       
    77 				<xs:element name="sync-provider">
       
    78 					<xs:complexType>
       
    79 						<xs:sequence>
       
    80 							<xs:element name="sync-provider-name" type="xs:string"/>
       
    81 							<xs:element name="sync-provider-vendor" type="xs:string"/>
       
    82 							<xs:element name="sync-provider-version" type="xs:string"/>
       
    83 							<xs:element name="sync-provider-grade" type="xs:string"/>
       
    84 							<xs:element name="data-source-lock" type="xs:string"/>
       
    85 						</xs:sequence>
       
    86 					</xs:complexType>
       
    87 				</xs:element>
       
    88 			</xs:sequence>
       
    89 		</xs:complexType>
       
    90 	</xs:element>
       
    91 	<xs:element name="metadata">
       
    92 		<xs:complexType>
       
    93 			<xs:sequence>
       
    94 				<xs:element name="column-count" type="xs:string"/>
       
    95 				<xs:choice>
       
    96 					<xs:element name="column-definition" minOccurs="0" maxOccurs="unbounded">
       
    97 						<xs:complexType>
       
    98 							<xs:sequence>
       
    99 								<xs:element name="column-index" type="xs:string"/>
       
   100 								<xs:element name="auto-increment" type="xs:string"/>
       
   101 								<xs:element name="case-sensitive" type="xs:string"/>
       
   102 								<xs:element name="currency" type="xs:string"/>
       
   103 								<xs:element name="nullable" type="xs:string"/>
       
   104 								<xs:element name="signed" type="xs:string"/>
       
   105 								<xs:element name="searchable" type="xs:string"/>
       
   106 								<xs:element name="column-display-size" type="xs:string"/>
       
   107 								<xs:element name="column-label" type="xs:string"/>
       
   108 								<xs:element name="column-name" type="xs:string"/>
       
   109 								<xs:element name="schema-name" type="xs:string"/>
       
   110 								<xs:element name="column-precision" type="xs:string"/>
       
   111 								<xs:element name="column-scale" type="xs:string"/>
       
   112 								<xs:element name="table-name" type="xs:string"/>
       
   113 								<xs:element name="catalog-name" type="xs:string"/>
       
   114 								<xs:element name="column-type" type="xs:string"/>
       
   115 								<xs:element name="column-type-name" type="xs:string"/>
       
   116 							</xs:sequence>
       
   117 						</xs:complexType>
       
   118 					</xs:element>
       
   119 				</xs:choice>
       
   120 			</xs:sequence>
       
   121 		</xs:complexType>
       
   122 	</xs:element>
       
   123 	<xs:element name="data">
       
   124 		<xs:complexType>
       
   125 			<xs:sequence minOccurs="0" maxOccurs="unbounded">
       
   126 				<xs:element name="currentRow" minOccurs="0" maxOccurs="unbounded">
       
   127 					<xs:complexType>
       
   128 						<xs:sequence minOccurs="0" maxOccurs="unbounded">
       
   129 							<xs:element ref="wrs:columnValue"/>
       
   130 						</xs:sequence>
       
   131 					</xs:complexType>
       
   132 				</xs:element>
       
   133 				<xs:element name="insertRow" minOccurs="0" maxOccurs="unbounded">
       
   134 					<xs:complexType>
       
   135 						<xs:choice minOccurs="0" maxOccurs="unbounded">
       
   136 							<xs:element ref="wrs:columnValue"/>
       
   137 							<xs:element ref="wrs:updateValue"/>
       
   138 						</xs:choice>
       
   139 					</xs:complexType>
       
   140 				</xs:element>
       
   141 				<xs:element name="deleteRow" minOccurs="0" maxOccurs="unbounded">
       
   142 					<xs:complexType>
       
   143 						<xs:sequence minOccurs="0" maxOccurs="unbounded">
       
   144 							<xs:element ref="wrs:columnValue"/>
       
   145 							<xs:element ref="wrs:updateValue"/>
       
   146 						</xs:sequence>
       
   147 					</xs:complexType>
       
   148 				</xs:element>
       
   149 				<xs:element name="modifyRow" minOccurs="0" maxOccurs="unbounded">
       
   150 					<xs:complexType>
       
   151 						<xs:sequence minOccurs="0" maxOccurs="unbounded">
       
   152 							<xs:element ref="wrs:columnValue"/>
       
   153 							<xs:element ref="wrs:updateValue"/>
       
   154 						</xs:sequence>
       
   155 					</xs:complexType>
       
   156 				</xs:element>
       
   157 			</xs:sequence>
       
   158 		</xs:complexType>
       
   159 	</xs:element>
       
   160 </xs:schema>