⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 javaee_5.xsd

📁 java servlet2.5 源码,对于学习servlet机制的人大为有用.
💻 XSD
📖 第 1 页 / 共 5 页
字号:
<?xml version="1.0" encoding="UTF-8"?><xsd:schema     targetNamespace="http://java.sun.com/xml/ns/javaee"     xmlns:javaee="http://java.sun.com/xml/ns/javaee"     xmlns:xsd="http://www.w3.org/2001/XMLSchema"     elementFormDefault="qualified"     attributeFormDefault="unqualified"     version="5">  <xsd:annotation>    <xsd:documentation>      @(#)javaee_5.xsds	1.65 06/02/17    </xsd:documentation>  </xsd:annotation>  <xsd:annotation>    <xsd:documentation>      Copyright 2003-2005 Sun Microsystems, Inc.      4150 Network Circle      Santa Clara, California 95054      U.S.A      All rights reserved.      Sun Microsystems, Inc. has intellectual property rights      relating to technology described in this document. In      particular, and without limitation, these intellectual      property rights may include one or more of the U.S. patents      listed at http://www.sun.com/patents and one or more      additional patents or pending patent applications in the      U.S. and other countries.      This document and the technology which it describes are      distributed under licenses restricting their use, copying,      distribution, and decompilation. No part of this document      may be reproduced in any form by any means without prior      written authorization of Sun and its licensors, if any.      Third-party software, including font technology, is      copyrighted and licensed from Sun suppliers.      Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE,      JavaServer Pages, Enterprise JavaBeans and the Java Coffee      Cup logo are trademarks or registered trademarks of Sun      Microsystems, Inc. in the U.S. and other countries.      Federal Acquisitions: Commercial Software - Government Users      Subject to Standard License Terms and Conditions.    </xsd:documentation>  </xsd:annotation><xsd:annotation><xsd:documentation>The following definitions that appear in the commonshareable schema(s) of J2EE deployment descriptors should beinterpreted with respect to the context they are included:Deployment Component may indicate one of the following:    j2ee application;    application client;    web application;    enterprise bean;    resource adapter;Deployment File may indicate one of the following:    ear file;    war file;    jar file;    rar file;</xsd:documentation></xsd:annotation>  <xsd:import namespace="http://www.w3.org/XML/1998/namespace"	      schemaLocation="http://www.w3.org/2001/xml.xsd"/>  <xsd:include schemaLocation="javaee_web_services_client_1_2.xsd"/><!-- **************************************************** -->  <xsd:group name="descriptionGroup">    <xsd:annotation>      <xsd:documentation>	This group keeps the usage of the contained description related	elements consistent across Java EE deployment descriptors.	All elements may occur multiple times with different languages,	to support localization of the content.      </xsd:documentation>    </xsd:annotation>    <xsd:sequence>      <xsd:element name="description"		   type="javaee:descriptionType"		   minOccurs="0"		   maxOccurs="unbounded"/>      <xsd:element name="display-name"		   type="javaee:display-nameType"		   minOccurs="0"		   maxOccurs="unbounded"/>      <xsd:element name="icon"		   type="javaee:iconType"		   minOccurs="0"		   maxOccurs="unbounded"/>    </xsd:sequence>  </xsd:group><!-- **************************************************** -->  <xsd:complexType name="descriptionType">    <xsd:annotation>      <xsd:documentation>	The description type is used by a description element to	provide text describing the parent element.  The elements	that use this type should include any information that the	Deployment Component's Deployment File file producer wants	to provide to the consumer of the Deployment Component's	Deployment File (i.e., to the Deployer). Typically, the	tools used by such a Deployment File consumer will display	the description when processing the parent element that	contains the description.	The lang attribute defines the language that the	description is provided in. The default value is "en" (English).      </xsd:documentation>    </xsd:annotation>    <xsd:simpleContent>      <xsd:extension base="javaee:xsdStringType">	<xsd:attribute ref="xml:lang"/>      </xsd:extension>    </xsd:simpleContent>  </xsd:complexType><!-- **************************************************** -->  <xsd:simpleType name="dewey-versionType">    <xsd:annotation>      <xsd:documentation>	This type defines a dewey decimal that is used	to describe versions of documents.      </xsd:documentation>    </xsd:annotation>    <xsd:restriction base="xsd:token">      <xsd:pattern value="\.?[0-9]+(\.[0-9]+)*"/>    </xsd:restriction>  </xsd:simpleType><!-- **************************************************** -->  <xsd:complexType name="display-nameType">    <xsd:annotation>      <xsd:documentation>	<![CDATA[	  The display-name type contains a short name that is intended	  to be displayed by tools. It is used by display-name	  elements.  The display name need not be unique.	  Example:	  ...	     <display-name xml:lang="en">	       Employee Self Service	     </display-name>	  The value of the xml:lang attribute is "en" (English) by default.	  ]]>      </xsd:documentation>    </xsd:annotation>    <xsd:simpleContent>      <xsd:extension base="javaee:string">	<xsd:attribute ref="xml:lang"/>      </xsd:extension>    </xsd:simpleContent>  </xsd:complexType><!-- **************************************************** -->  <xsd:complexType name="ejb-linkType">    <xsd:annotation>      <xsd:documentation>	<![CDATA[	  The ejb-linkType is used by ejb-link	  elements in the ejb-ref or ejb-local-ref elements to specify	  that an EJB reference is linked to enterprise bean.	  The value of the ejb-link element must be the ejb-name of an	  enterprise bean in the same ejb-jar file or in another ejb-jar	  file in the same Java EE application unit.	  Alternatively, the name in the ejb-link element may be	  composed of a path name specifying the ejb-jar containing the	  referenced enterprise bean with the ejb-name of the target	  bean appended and separated from the path name by "#".  The	  path name is relative to the Deployment File containing	  Deployment Component that is referencing the enterprise	  bean.  This allows multiple enterprise beans with the same	  ejb-name to be uniquely identified.	  Examples:	      <ejb-link>EmployeeRecord</ejb-link>	      <ejb-link>../products/product.jar#ProductEJB</ejb-link>	  ]]>      </xsd:documentation>    </xsd:annotation>    <xsd:simpleContent>      <xsd:restriction base="javaee:string"/>    </xsd:simpleContent>  </xsd:complexType><!-- **************************************************** -->  <xsd:complexType name="ejb-local-refType">    <xsd:annotation>      <xsd:documentation>	The ejb-local-refType is used by ejb-local-ref elements for	the declaration of a reference to an enterprise bean's local	home or to the local business interface of a 3.0 bean.        The declaration consists of:	    - an optional description	    - the EJB reference name used in the code of the Deployment	      Component that's referencing the enterprise bean.	    - the optional expected type of the referenced enterprise bean	    - the optional expected local interface of the referenced              enterprise bean or the local business interface of the              referenced enterprise bean.	    - the optional expected local home interface of the referenced              enterprise bean. Not applicable if this ejb-local-ref refers              to the local business interface of a 3.0 bean.	    - optional ejb-link information, used to specify the	      referenced enterprise bean            - optional elements to define injection of the named enterprise              bean into a component field or property.      </xsd:documentation>    </xsd:annotation>    <xsd:sequence>      <xsd:element name="description"		   type="javaee:descriptionType"		   minOccurs="0"		   maxOccurs="unbounded"/>      <xsd:element name="ejb-ref-name"		   type="javaee:ejb-ref-nameType"/>      <xsd:element name="ejb-ref-type"		   type="javaee:ejb-ref-typeType"                   minOccurs="0"/>      <xsd:element name="local-home"		   type="javaee:local-homeType"                   minOccurs="0"/>      <xsd:element name="local"		   type="javaee:localType"                   minOccurs="0"/>      <xsd:element name="ejb-link"		   type="javaee:ejb-linkType"		   minOccurs="0"/>      <xsd:group ref="javaee:resourceGroup"/>    </xsd:sequence>    <xsd:attribute name="id" type="xsd:ID"/>  </xsd:complexType><!-- **************************************************** -->  <xsd:complexType name="ejb-ref-nameType">    <xsd:annotation>      <xsd:documentation>	<![CDATA[	  The ejb-ref-name element contains the name of an EJB	  reference. The EJB reference is an entry in the	  Deployment Component's environment and is relative to the	  java:comp/env context.  The name must be unique within the	  Deployment Component.	  It is recommended that name is prefixed with "ejb/".	  Example:	  <ejb-ref-name>ejb/Payroll</ejb-ref-name>	  ]]>      </xsd:documentation>    </xsd:annotation>    <xsd:simpleContent>      <xsd:restriction base="javaee:jndi-nameType"/>    </xsd:simpleContent>  </xsd:complexType><!-- **************************************************** -->  <xsd:complexType name="ejb-ref-typeType">    <xsd:annotation>      <xsd:documentation>	The ejb-ref-typeType contains the expected type of the	referenced enterprise bean.	The ejb-ref-type designates a value	that must be one of the following:	    Entity	    Session      </xsd:documentation>    </xsd:annotation>    <xsd:simpleContent>      <xsd:restriction base="javaee:string">	<xsd:enumeration value="Entity"/>	<xsd:enumeration value="Session"/>      </xsd:restriction>    </xsd:simpleContent>  </xsd:complexType><!-- **************************************************** -->  <xsd:complexType name="ejb-refType">    <xsd:annotation>      <xsd:documentation>	The ejb-refType is used by ejb-ref elements for the	declaration of a reference to an enterprise bean's home or        to the remote business interface of a 3.0 bean.	The declaration consists of:	    - an optional description	    - the EJB reference name used in the code of	      the Deployment Component that's referencing the enterprise	      bean.	    - the optional expected type of the referenced enterprise bean            - the optional remote interface of the referenced enterprise bean              or the remote business interface of the referenced enterprise              bean	    - the optional expected home interface of the referenced              enterprise bean.  Not applicable if this ejb-ref              refers to the remote business interface of a 3.0 bean.	    - optional ejb-link information, used to specify the	      referenced enterprise bean            - optional elements to define injection of the named enterprise              bean into a component field or property      </xsd:documentation>    </xsd:annotation>    <xsd:sequence>      <xsd:element name="description"		   type="javaee:descriptionType"		   minOccurs="0"		   maxOccurs="unbounded"/>      <xsd:element name="ejb-ref-name"		   type="javaee:ejb-ref-nameType"/>      <xsd:element name="ejb-ref-type"		   type="javaee:ejb-ref-typeType"		   minOccurs="0"/>      <xsd:element name="home"		   type="javaee:homeType"		   minOccurs="0"/>      <xsd:element name="remote"		   type="javaee:remoteType"                   minOccurs="0"/>      <xsd:element name="ejb-link"		   type="javaee:ejb-linkType"		   minOccurs="0"/>      <xsd:group ref="javaee:resourceGroup"/>    </xsd:sequence>    <xsd:attribute name="id" type="xsd:ID"/>  </xsd:complexType><!-- **************************************************** -->  <xsd:complexType name="emptyType">    <xsd:annotation>      <xsd:documentation>	This type is used to designate an empty	element when used.      </xsd:documentation>    </xsd:annotation>    <xsd:attribute name="id" type="xsd:ID"/>  </xsd:complexType><!-- **************************************************** -->  <xsd:complexType name="env-entry-type-valuesType">    <xsd:annotation>      <xsd:documentation>	<![CDATA[	  This type contains the fully-qualified Java type of the	  environment entry value that is expected by the	  application's code.	  The following are the legal values of env-entry-type-valuesType:	      java.lang.Boolean	      java.lang.Byte	      java.lang.Character	      java.lang.String	      java.lang.Short	      java.lang.Integer	      java.lang.Long	      java.lang.Float	      java.lang.Double

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -