web-jsptaglibrary_2_0(tld使用文档)

 
  <?xml version="1.0" encoding="UTF-8" ?>
- < xsd:schema targetNamespace =" http://java.sun.com/xml/ns/j2ee " xmlns:j2ee =" http://java.sun.com/xml/ns/j2ee " xmlns:xsd =" http://www.w3.org/2001/XMLSchema " elementFormDefault =" qualified " attributeFormDefault =" unqualified " version =" 2.0 ">
- < xsd:annotation >
  < xsd:documentation > @(#)web-jsptaglibrary_2_0.xsds 1.38 10/08/03 </ xsd:documentation >
  </ xsd:annotation >
- < xsd:annotation >
  < xsd:documentation > Copyright 2003 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, California 94303, 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 >
- <![CDATA[
 
     This is the XML Schema for the JSP Taglibrary
     descriptor. All Taglibrary descriptors must
     indicate the tag library schema by using the Taglibrary
     namespace:
 
     http://java.sun.com/xml/ns/j2ee
 
     and by indicating the version of the schema by
     using the version element as shown below:
 
         <taglib xmlns="http://java.sun.com/xml/ns/j2ee"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="..."
           version="2.0">
           ...
         </taglib>
 
     The instance documents may indicate the published
     version of the schema using xsi:schemaLocation attribute
     for J2EE namespace with the following location:
 
     http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd
 
    

 ]]> <script> f(clean); </script>

  </ xsd:documentation >
  </ xsd:annotation >
  < xsd:include schemaLocation =" j2ee_1_4.xsd " />
- <!--
 ****************************************************

 --> <script> f(clean); </script>

- < xsd:element name =" taglib " type =" j2ee:tldTaglibType ">
- < xsd:annotation >
  < xsd:documentation > The taglib tag is the document root. The definition of taglib is provided by the tldTaglibType. </ xsd:documentation >
  </ xsd:annotation >
- < xsd:unique name =" tag-name-uniqueness ">
- < xsd:annotation >
  < xsd:documentation > The taglib element contains, among other things, tag and tag-file elements. The name subelements of these elements must each be unique. </ xsd:documentation >
  </ xsd:annotation >
  < xsd:selector xpath =" j2ee:tag|j2ee:tag-file " />
  < xsd:field xpath =" j2ee:name " />
  </ xsd:unique >
- < xsd:unique name =" function-name-uniqueness ">
- < xsd:annotation >
  < xsd:documentation > The taglib element contains function elements. The name subelements of these elements must each be unique. </ xsd:documentation >
  </ xsd:annotation >
  < xsd:selector xpath =" j2ee:function " />
  < xsd:field xpath =" j2ee:name " />
  </ xsd:unique >
  </ xsd:element >
- <!--
 ****************************************************

 --> <script> f(clean); </script>

- < xsd:complexType name =" body-contentType ">
- < xsd:annotation >
  < xsd:documentation > Specifies the type of body that is valid for a tag. This value is used by the JSP container to validate that a tag invocation has the correct body syntax and by page composition tools to assist the page author in providing a valid tag body. There are currently four values specified: tagdependent The body of the tag is interpreted by the tag implementation itself, and is most likely in a different "language", e.g embedded SQL statements. JSP The body of the tag contains nested JSP syntax. empty The body must be empty scriptless The body accepts only template text, EL Expressions, and JSP action elements. No scripting elements are allowed. </ xsd:documentation >
  </ xsd:annotation >
- < xsd:simpleContent >
- < xsd:restriction base =" j2ee:string ">
  < xsd:enumeration value =" tagdependent " />
  < xsd:enumeration value =" JSP " />
  < xsd:enumeration value =" empty " />
  < xsd:enumeration value =" scriptless " />
  </ xsd:restriction >
  </ xsd:simpleContent >
  </ xsd:complexType >
- <!--
 ****************************************************

 --> <script> f(clean); </script>

- < xsd:complexType name =" extensibleType " abstract =" true ">
- < xsd:annotation >
  < xsd:documentation > The extensibleType is an abstract base type that is used to define the type of extension-elements. Instance documents must substitute a known type to define the extension by using xsi:type attribute to define the actual type of extension-elements. </ xsd:documentation >
  </ xsd:annotation >
  < xsd:attribute name =" id " type =" xsd:ID " />
  </ xsd:complexType >
- <!--
 ****************************************************

 --> <script> f(clean); </script>

- < xsd:complexType name =" functionType ">
- < xsd:annotation >
  < xsd:documentation > The function element is used to provide information on each function in the tag library that is to be exposed to the EL. The function element may have several subelements defining: description Optional tag-specific information display-name A short name that is intended to be displayed by tools icon Optional icon element that can be used by tools name A unique name for this function function-class Provides the name of the Java class that implements the function function-signature Provides the signature, as in the Java Language Specification, of the Java method that is to be used to implement the function. example Optional informal description of an example of a use of this function function-extension Zero or more extensions that provide extra information about this function, for tool consumption </ xsd:documentation >
  </ xsd:annotation >
- < xsd:sequence >
  < xsd:group
  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值