xel-method"

From Documentation
(Created page with '== The xel-method Directive == <source lang="xml" > <?xel-method prefix="..." name="..." class="..." signature="..."?> </source> Specifies a method that shall be imported by …')
 
m
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== The xel-method Directive ==
+
{{ZUMLReferencePageHeader}}
  
<source lang="xml" >
+
__TOC__
  <?xel-method prefix="..." name="..." class="..."
+
 
signature="..."?>
+
'''Syntax:'''
</source>
+
  <?xel-method prefix="..." name="..." class="..." signature="..."?>
  
Specifies a method that shall be imported by the EL evaluator. For example,
+
Specifies an EL function that could be used in EL expressions. For example,
  
 
<source lang="xml" >
 
<source lang="xml" >
Line 15: Line 15:
 
</source>
 
</source>
  
== prefix ==
+
= prefix =
  
<source lang="xml" >
+
[Required]
[Required]
 
</source>
 
  
 
Specifies the prefix used to identify this method.
 
Specifies the prefix used to identify this method.
  
== name ==
+
= name =
  
<source lang="xml" >
+
[Required]
[Required]
 
</source>
 
  
 
Specifies the name used to identify this method. The full name is "prefix:name".
 
Specifies the name used to identify this method. The full name is "prefix:name".
  
== class ==
+
= class =
  
<source lang="xml" >
+
[Required]
[Required]
 
</source>
 
  
 
Specifies the class that the method is defined in.
 
Specifies the class that the method is defined in.
  
== signature ==
+
= signature =
 +
 
 +
[Required]
  
<source lang="xml" >
+
The signature of the method. Note: the method must be public static. In additions, Java 5 Generics are ''not'' allowed.
[Required]
+
 
</source>
+
=Version History=
 +
 
 +
{| border='1px' | width="100%"
 +
! Version !! Date !! Content
 +
|-
 +
| &nbsp;
 +
| &nbsp;
 +
| &nbsp;
 +
|}
  
The signature of the method. Note: the method must be public static.
+
{{ZUMLReferencePageFooter}}

Latest revision as of 10:29, 14 March 2011

Syntax:

<?xel-method prefix="..." name="..." class="..." signature="..."?>

Specifies an EL function that could be used in EL expressions. For example,

 <?xel-method prefix="c" name="forName"
     class="java.lang.Class"
     signature="java.lang.Class forName(java.lang.String)"?>
 <textbox value="${c:forName('java.util.List')}"/>

prefix

[Required]

Specifies the prefix used to identify this method.

name

[Required]

Specifies the name used to identify this method. The full name is "prefix:name".

class

[Required]

Specifies the class that the method is defined in.

signature

[Required]

The signature of the method. Note: the method must be public static. In additions, Java 5 Generics are not allowed.

Version History

Version Date Content
     



Last Update : 2011/03/14

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.