complexType tld-attributeType

complexType {http://java.sun.com/xml/ns/j2ee}tld-attributeType

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="tld-attributeType">
    <
xsd:annotation>
        <
xsd:documentation>
The attribute element defines an attribute for the nesting
tag. The attributre element may have several subelements
defining:

description a description of the attribute

name the name of the attribute

required whether the attribute is required or
optional

rtexprvalue whether the attribute is a runtime attribute

type the type of the attributes

fragment whether this attribute is a fragment
        
</xsd:documentation>
    </
xsd:annotation>
    <
xsd:sequence>
        <
xsd:element name="description" type="j2ee:descriptionType" minOccurs="0"
            
maxOccurs="unbounded"/>
        <
xsd:element name="name" type="j2ee:java-identifierType"/>
        <
xsd:element name="required" type="j2ee:generic-booleanType" minOccurs="0">
            <
xsd:annotation>
                <
xsd:documentation>
Defines if the nesting attribute is required or
optional.

If not present then the default is "false", i.e
the attribute is optional.
                
</xsd:documentation>
            </
xsd:annotation>
        </
xsd:element>
        <
xsd:choice>
            <
xsd:sequence>
                <
xsd:element name="rtexprvalue" type="j2ee:generic-booleanType" minOccurs="0">
                    <
xsd:annotation>
                        <
xsd:documentation>
Defines if the nesting attribute can have scriptlet
expressions as a value, i.e the value of the
attribute may be dynamically calculated at request
time, as opposed to a static value determined at
translation time.

If not present then the default is "false", i.e the
attribute has a static value
                        
</xsd:documentation>
                    </
xsd:annotation>
                </
xsd:element>
                <
xsd:element name="type" type="j2ee:fully-qualified-classType" minOccurs="0">
                    <
xsd:annotation>
                        <
xsd:documentation>
Defines the Java type of the attributes value. For
static values (those determined at translation time)
the type is always java.lang.String.
                        
</xsd:documentation>
                    </
xsd:annotation>
                </
xsd:element>
            </
xsd:sequence>
            <
xsd:element name="fragment" type="j2ee:generic-booleanType" minOccurs="0">
                <
xsd:annotation>
                    <
xsd:documentation>
"true" if this attribute is of type
javax.jsp.tagext.JspFragment, representing dynamic
content that can be re-evaluated as many times
as needed by the tag handler. If omitted or "false",
the default is still type="java.lang.String"
                    
</xsd:documentation>
                </
xsd:annotation>
            </
xsd:element>
        </
xsd:choice>
    </
xsd:sequence>
    <
xsd:attribute name="id" type="xsd:ID"/>
</
xsd:complexType>


Documentation

	The attribute element defines an attribute for the nesting
	tag.  The attributre element may have several subelements
	defining:
	description     a description of the attribute
	name            the name of the attribute
	required        whether the attribute is required or
			optional
	rtexprvalue     whether the attribute is a runtime attribute
	type            the type of the attributes
	fragment        whether this attribute is a fragment


complexType tld-attributeType


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.