Appears in: <script>
Defines an input symbol for the script. Input symbols can be thought of as parameters to the script. As the script executes, it uses the input symbols to create new output symbols, redefine input symbols (not a recommended practice) and define the body and initialization.
This element allows the script to make input symbols required and to restrict their type. Invalid input symbols (missing when required, or not of the correct type) will result in runtime exceptions.
Figure C.10. <input-symbol>
Attributes
Name | Type | Required ? | Default Value | Description |
---|---|---|---|---|
key | string | yes | The input symbol to be checked. | |
class | string | no | If specified, this is the complete, qualified class name for the symbol. The provided symbol must be assignable to this class (be a subclass, or implement the specified class if the specified class is actually an interface). | |
required | yes | no | no | no | If yes , then a non-null value must be specified for
the symbol.
|