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

📄 javaee_5.xsd

📁 java servlet2.5 源码,对于学习servlet机制的人大为有用.
💻 XSD
📖 第 1 页 / 共 5 页
字号:
	    java:comp/env context.	    The name must be unique within a Deployment File.	  </xsd:documentation>	</xsd:annotation>      </xsd:element>      <xsd:element name="res-type"		   type="javaee:fully-qualified-classType"		   minOccurs="0">	<xsd:annotation>	  <xsd:documentation>	    The res-type element specifies the type of the data	    source. The type is specified by the fully qualified	    Java language class or interface	    expected to be implemented by the data source.	  </xsd:documentation>	</xsd:annotation>      </xsd:element>      <xsd:element name="res-auth"		   type="javaee:res-authType"		   minOccurs="0"/>      <xsd:element name="res-sharing-scope"		   type="javaee:res-sharing-scopeType"		   minOccurs="0"/>      <xsd:group ref="javaee:resourceGroup"/>    </xsd:sequence>    <xsd:attribute name="id" type="xsd:ID"/>  </xsd:complexType><!-- **************************************************** -->  <xsd:group name="resourceGroup">    <xsd:annotation>      <xsd:documentation>	This group collects elements that are common to all the	JNDI resource elements.      </xsd:documentation>    </xsd:annotation>    <xsd:sequence>      <xsd:element name="mapped-name"		   type="javaee:xsdStringType"		   minOccurs="0">	<xsd:annotation>	  <xsd:documentation>	    <![CDATA[	      A product specific name that this resource should be	      mapped to.  The name of this resource, as defined by the	      resource's name element or defaulted, is a name that is	      local to the application component using the resource.	      (It's a name in the JNDI java:comp/env namespace.)  Many	      application servers provide a way to map these local	      names to names of resources known to the application	      server.  This mapped name is often a global JNDI name,	      but may be a name of any form.	      Application servers are not required to support any	      particular form or type of mapped name, nor the ability	      to use mapped names.  The mapped name is	      product-dependent and often installation-dependent.  No	      use of a mapped name is portable.	      ]]>	  </xsd:documentation>	</xsd:annotation>      </xsd:element>      <xsd:element name="injection-target"		   type="javaee:injection-targetType"		   minOccurs="0"		   maxOccurs="unbounded"/>    </xsd:sequence>  </xsd:group><!-- **************************************************** -->  <xsd:complexType name="role-nameType">    <xsd:annotation>      <xsd:documentation>	The role-nameType designates the name of a security role.	The name must conform to the lexical rules for a token.      </xsd:documentation>    </xsd:annotation>    <xsd:simpleContent>      <xsd:restriction base="javaee:string"/>    </xsd:simpleContent>  </xsd:complexType><!-- **************************************************** -->  <xsd:complexType name="run-asType">    <xsd:annotation>      <xsd:documentation>	The run-asType specifies the run-as identity to be	used for the execution of a component. It contains an	optional description, and the name of a security role.      </xsd:documentation>    </xsd:annotation>    <xsd:sequence>      <xsd:element name="description"		   type="javaee:descriptionType"		   minOccurs="0"		   maxOccurs="unbounded"/>      <xsd:element name="role-name"		   type="javaee:role-nameType"/>    </xsd:sequence>    <xsd:attribute name="id" type="xsd:ID"/>  </xsd:complexType><!-- **************************************************** -->  <xsd:complexType name="security-role-refType">    <xsd:annotation>      <xsd:documentation>	The security-role-refType contains the declaration of a	security role reference in a component's or a	Deployment Component's code. The declaration consists of an	optional description, the security role name used in the	code, and an optional link to a security role. If the	security role is not specified, the Deployer must choose an	appropriate security role.      </xsd:documentation>    </xsd:annotation>    <xsd:sequence>      <xsd:element name="description"		   type="javaee:descriptionType"		   minOccurs="0"		   maxOccurs="unbounded"/>      <xsd:element name="role-name"		   type="javaee:role-nameType">	<xsd:annotation>	  <xsd:documentation>	    The value of the role-name element must be the String used	    as the parameter to the	    EJBContext.isCallerInRole(String roleName) method or the	    HttpServletRequest.isUserInRole(String role) method.	  </xsd:documentation>	</xsd:annotation>      </xsd:element>      <xsd:element name="role-link"		   type="javaee:role-nameType"		   minOccurs="0">	<xsd:annotation>	  <xsd:documentation>	    The role-link element is a reference to a defined	    security role. The role-link element must contain	    the name of one of the security roles defined in the	    security-role elements.	  </xsd:documentation>	</xsd:annotation>      </xsd:element>    </xsd:sequence>    <xsd:attribute name="id" type="xsd:ID"/>  </xsd:complexType><!-- **************************************************** -->  <xsd:complexType name="security-roleType">    <xsd:annotation>      <xsd:documentation>	<![CDATA[	  The security-roleType contains the definition of a security	  role. The definition consists of an optional description of	  the security role, and the security role name.	  Example:	      <security-role>	      <description>		  This role includes all employees who are authorized		  to access the employee service application.	      </description>	      <role-name>employee</role-name>	      </security-role>	  ]]>      </xsd:documentation>    </xsd:annotation>    <xsd:sequence>      <xsd:element name="description"		   type="javaee:descriptionType"		   minOccurs="0"		   maxOccurs="unbounded"/>      <xsd:element name="role-name"		   type="javaee:role-nameType"/>    </xsd:sequence>    <xsd:attribute name="id" type="xsd:ID"/>  </xsd:complexType><!-- **************************************************** -->  <xsd:complexType name="string">    <xsd:annotation>      <xsd:documentation>	This is a special string datatype that is defined by Java EE as	a base type for defining collapsed strings. When schemas	require trailing/leading space elimination as well as	collapsing the existing whitespace, this base type may be	used.      </xsd:documentation>    </xsd:annotation>    <xsd:simpleContent>      <xsd:extension base="xsd:token">	<xsd:attribute name="id" type="xsd:ID"/>      </xsd:extension>    </xsd:simpleContent>  </xsd:complexType><!-- **************************************************** -->  <xsd:complexType name="true-falseType">    <xsd:annotation>      <xsd:documentation>	This simple type designates a boolean with only two	permissible values	- true	- false      </xsd:documentation>    </xsd:annotation>    <xsd:simpleContent>      <xsd:restriction base="javaee:xsdBooleanType">	<xsd:pattern value="(true|false)"/>      </xsd:restriction>    </xsd:simpleContent>  </xsd:complexType><!-- **************************************************** -->  <xsd:complexType name="url-patternType">    <xsd:annotation>      <xsd:documentation>	The url-patternType contains the url pattern of the mapping.	It must follow the rules specified in Section 11.2 of the	Servlet API Specification. This pattern is assumed to be in	URL-decoded form and must not contain CR(#xD) or LF(#xA).	If it contains those characters, the container must inform	the developer with a descriptive error message.	The container must preserve all characters including whitespaces.      </xsd:documentation>    </xsd:annotation>    <xsd:simpleContent>      <xsd:extension base="xsd:string"/>    </xsd:simpleContent>  </xsd:complexType><!-- **************************************************** -->  <xsd:complexType name="xsdAnyURIType">    <xsd:annotation>      <xsd:documentation>	This type adds an "id" attribute to xsd:anyURI.      </xsd:documentation>    </xsd:annotation>    <xsd:simpleContent>      <xsd:extension base="xsd:anyURI">	<xsd:attribute name="id" type="xsd:ID"/>      </xsd:extension>    </xsd:simpleContent>  </xsd:complexType><!-- **************************************************** -->  <xsd:complexType name="xsdBooleanType">    <xsd:annotation>      <xsd:documentation>	This type adds an "id" attribute to xsd:boolean.      </xsd:documentation>    </xsd:annotation>    <xsd:simpleContent>      <xsd:extension base="xsd:boolean">	<xsd:attribute name="id" type="xsd:ID"/>      </xsd:extension>    </xsd:simpleContent>  </xsd:complexType><!-- **************************************************** -->  <xsd:complexType name="xsdIntegerType">    <xsd:annotation>      <xsd:documentation>	This type adds an "id" attribute to xsd:integer.      </xsd:documentation>    </xsd:annotation>    <xsd:simpleContent>      <xsd:extension base="xsd:integer">	<xsd:attribute name="id" type="xsd:ID"/>      </xsd:extension>    </xsd:simpleContent>  </xsd:complexType><!-- **************************************************** -->  <xsd:complexType name="xsdNMTOKENType">    <xsd:annotation>      <xsd:documentation>	This type adds an "id" attribute to xsd:NMTOKEN.      </xsd:documentation>    </xsd:annotation>    <xsd:simpleContent>      <xsd:extension base="xsd:NMTOKEN">	<xsd:attribute name="id" type="xsd:ID"/>      </xsd:extension>    </xsd:simpleContent>  </xsd:complexType><!-- **************************************************** -->  <xsd:complexType name="xsdNonNegativeIntegerType">    <xsd:annotation>      <xsd:documentation>	This type adds an "id" attribute to xsd:nonNegativeInteger.      </xsd:documentation>    </xsd:annotation>    <xsd:simpleContent>      <xsd:extension base="xsd:nonNegativeInteger">	<xsd:attribute name="id" type="xsd:ID"/>      </xsd:extension>    </xsd:simpleContent>  </xsd:complexType><!-- **************************************************** -->  <xsd:complexType name="xsdPositiveIntegerType">    <xsd:annotation>      <xsd:documentation>	This type adds an "id" attribute to xsd:positiveInteger.      </xsd:documentation>    </xsd:annotation>    <xsd:simpleContent>      <xsd:extension base="xsd:positiveInteger">	<xsd:attribute name="id" type="xsd:ID"/>      </xsd:extension>    </xsd:simpleContent>  </xsd:complexType><!-- **************************************************** -->  <xsd:complexType name="xsdQNameType">    <xsd:annotation>      <xsd:documentation>	This type adds an "id" attribute to xsd:QName.      </xsd:documentation>    </xsd:annotation>    <xsd:simpleContent>      <xsd:extension base="xsd:QName">	<xsd:attribute name="id" type="xsd:ID"/>      </xsd:extension>    </xsd:simpleContent>  </xsd:complexType><!-- **************************************************** -->  <xsd:complexType name="xsdStringType">    <xsd:annotation>      <xsd:documentation>	This type adds an "id" attribute to xsd:string.      </xsd:documentation>    </xsd:annotation>    <xsd:simpleContent>      <xsd:extension base="xsd:string">	<xsd:attribute name="id" type="xsd:ID"/>      </xsd:extension>    </xsd:simpleContent>  </xsd:complexType></xsd:schema>

⌨️ 快捷键说明

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