complexType variableType

complexType {http://java.sun.com/xml/ns/javaee}variableType

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


Source

<xsd:complexType name="variableType">
    <
xsd:annotation>
        <
xsd:documentation>
The variableType provides information on the scripting
variables defined by using this tag. It is a (translation
time) error for a tag that has one or more variable
subelements to have a TagExtraInfo class that returns a
non-null value from a call to getVariableInfo().

The subelements of variableType are of the form:

description Optional description of this
variable

name-given The variable name as a constant

name-from-attribute The name of an attribute whose
(translation time) value will
give the name of the
variable. One of name-given or
name-from-attribute is required.

variable-class Name of the class of the variable.
java.lang.String is default.

declare Whether the variable is declared
or not. True is the default.

scope The scope of the scripting varaible
defined. NESTED is default.
        
</xsd:documentation>
    </
xsd:annotation>
    <
xsd:sequence>
        <
xsd:element name="description" type="javaee:descriptionType" minOccurs="0"
            
maxOccurs="unbounded"/>
        <
xsd:choice>
            <
xsd:element name="name-given" type="javaee:java-identifierType">
                <
xsd:annotation>
                    <
xsd:documentation>The name for the scripting variable.</xsd:documentation>
                </
xsd:annotation>
            </
xsd:element>
            <
xsd:element name="name-from-attribute" type="javaee:java-identifierType">
                <
xsd:annotation>
                    <
xsd:documentation>
The name of an attribute whose
(translation-time) value will give the name of
the variable.
                    
</xsd:documentation>
                </
xsd:annotation>
            </
xsd:element>
        </
xsd:choice>
        <
xsd:element name="variable-class" type="javaee:fully-qualified-classType" minOccurs="0">
            <
xsd:annotation>
                <
xsd:documentation>
The optional name of the class for the scripting
variable. The default is java.lang.String.
                
</xsd:documentation>
            </
xsd:annotation>
        </
xsd:element>
        <
xsd:element name="declare" type="javaee:generic-booleanType" minOccurs="0">
            <
xsd:annotation>
                <
xsd:documentation>
Whether the scripting variable is to be defined
or not. See TagExtraInfo for details. This
element is optional and "true" is the default.
                
</xsd:documentation>
            </
xsd:annotation>
        </
xsd:element>
        <
xsd:element name="scope" type="javaee:variable-scopeType" minOccurs="0">
            <
xsd:annotation>
                <
xsd:documentation>The element is optional and "NESTED" is the default.</xsd:documentation>
            </
xsd:annotation>
        </
xsd:element>
    </
xsd:sequence>
    <
xsd:attribute name="id" type="xsd:ID"/>
</
xsd:complexType>


Documentation

	The variableType provides information on the scripting
	variables defined by using this tag.  It is a (translation
	time) error for a tag that has one or more variable
	subelements to have a TagExtraInfo class that returns a
	non-null value from a call to getVariableInfo().
	The subelements of variableType are of the form:
	description              Optional description of this
				 variable
	name-given               The variable name as a constant
	name-from-attribute      The name of an attribute whose
				 (translation time) value will
				 give the name of the
				 variable.  One of name-given or
				 name-from-attribute is required.
	variable-class           Name of the class of the variable.
				 java.lang.String is default.
	declare                  Whether the variable is declared
				 or not.  True is the default.
	scope                    The scope of the scripting varaible
				 defined.  NESTED is default.


complexType variableType


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.