complexType tagType

complexType {http://java.sun.com/xml/ns/j2ee}tagType

Abstractfalse (This can be used in an instance)
Target Namespacehttp://java.sun.com/xml/ns/j2ee
Declared Namespacesxmlns:xsd=http://www.w3.org/2001/XMLSchema
xmlns:j2ee=http://java.sun.com/xml/ns/j2ee


Source

<xsd:complexType name="tagType">
    <
xsd:annotation>
        <
xsd:documentation>
The tag defines a unique tag in this tag library. It has one
attribute, id.

The tag 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 The unique action name

tag-class The tag handler class implementing
javax.servlet.jsp.tagext.JspTag

tei-class An optional subclass of
javax.servlet.jsp.tagext.TagExtraInfo

body-content The body content type

variable Optional scripting variable information

attribute All attributes of this action that are
evaluated prior to invocation.

dynamic-attributes Whether this tag supports additional
attributes with dynamic names. If
true, the tag-class must implement the
javax.servlet.jsp.tagext.DynamicAttributes
interface. Defaults to false.

example Optional informal description of an
example of a use of this tag

tag-extension Zero or more extensions that provide extra
information about this tag, for tool
consumption
        
</xsd:documentation>
    </
xsd:annotation>
    <
xsd:sequence>
        <
xsd:group ref="j2ee:descriptionGroup"/>
        <
xsd:element name="name" type="j2ee:tld-canonical-nameType"/>
        <
xsd:element name="tag-class" type="j2ee:fully-qualified-classType">
            <
xsd:annotation>
                <
xsd:documentation>
Defines the subclass of javax.serlvet.jsp.tagext.JspTag
that implements the request time semantics for
this tag. (required)
                
</xsd:documentation>
            </
xsd:annotation>
        </
xsd:element>
        <
xsd:element name="tei-class" type="j2ee:fully-qualified-classType" minOccurs="0">
            <
xsd:annotation>
                <
xsd:documentation>
Defines the subclass of javax.servlet.jsp.tagext.TagExtraInfo
for this tag. (optional)

If this is not given, the class is not consulted at
translation time.
                
</xsd:documentation>
            </
xsd:annotation>
        </
xsd:element>
        <
xsd:element name="body-content" type="j2ee:body-contentType">
            <
xsd:annotation>
                <
xsd:documentation>
Specifies the format for the body of this tag.
The default in JSP 1.2 was "JSP" but because this
is an invalid setting for simple tag handlers, there
is no longer a default in JSP 2.0. A reasonable
default for simple tag handlers is "scriptless" if
the tag can have a body.
                
</xsd:documentation>
            </
xsd:annotation>
        </
xsd:element>
        <
xsd:element name="variable" type="j2ee:variableType" minOccurs="0" maxOccurs="unbounded"/>
        <
xsd:element name="attribute" type="j2ee:tld-attributeType" minOccurs="0"
            
maxOccurs="unbounded"/>
        <
xsd:element name="dynamic-attributes" type="j2ee:generic-booleanType" minOccurs="0"/>
        <
xsd:element name="example" type="j2ee:xsdStringType" minOccurs="0">
            <
xsd:annotation>
                <
xsd:documentation>
The example element contains an informal description
of an example of the use of a tag.
                
</xsd:documentation>
            </
xsd:annotation>
        </
xsd:element>
        <
xsd:element name="tag-extension" type="j2ee:tld-extensionType" minOccurs="0"
            
maxOccurs="unbounded">
            <
xsd:annotation>
                <
xsd:documentation>
Tag extensions are for tool use only and must not affect
the behavior of a container.
                
</xsd:documentation>
            </
xsd:annotation>
        </
xsd:element>
    </
xsd:sequence>
    <
xsd:attribute name="id" type="xsd:ID"/>
</
xsd:complexType>


Documentation

	The tag defines a unique tag in this tag library.  It has one
	attribute, id.
	The tag 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              The unique action name
	tag-class         The tag handler class implementing
			  javax.servlet.jsp.tagext.JspTag
	tei-class         An optional subclass of
			  javax.servlet.jsp.tagext.TagExtraInfo
	body-content      The body content type
	variable          Optional scripting variable information
	attribute         All attributes of this action that are
			  evaluated prior to invocation.
	dynamic-attributes Whether this tag supports additional
			   attributes with dynamic names.  If
			   true, the tag-class must implement the
			   javax.servlet.jsp.tagext.DynamicAttributes
			   interface.  Defaults to false.
	example           Optional informal description of an
			  example of a use of this tag
	tag-extension     Zero or more extensions that provide extra
			  information about this tag, for tool
			  consumption


complexType tagType


Stylus Studio XML Schema Library Home
Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio®, a product from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2006 All Rights Reserved.