Browse Source

Added Javadocs and README

Abhinav Sarkar 9 years ago
parent
commit
b23635776e
32 changed files with 4197 additions and 58 deletions
  1. 78
    0
      README.mdown
  2. 36
    0
      apidocs/allclasses-frame.html
  3. 36
    0
      apidocs/allclasses-noframe.html
  4. 145
    0
      apidocs/constant-values.html
  5. 145
    0
      apidocs/deprecated-list.html
  6. 216
    0
      apidocs/help-doc.html
  7. 260
    0
      apidocs/index-all.html
  8. 37
    0
      apidocs/index.html
  9. 314
    0
      apidocs/net/abhinavsarkar/spelhelper/ExtensionFunctions.html
  10. 421
    0
      apidocs/net/abhinavsarkar/spelhelper/ImplicitMethods.html
  11. 618
    0
      apidocs/net/abhinavsarkar/spelhelper/SpelHelper.html
  12. 143
    0
      apidocs/net/abhinavsarkar/spelhelper/class-use/ExtensionFunctions.html
  13. 143
    0
      apidocs/net/abhinavsarkar/spelhelper/class-use/ImplicitMethods.html
  14. 185
    0
      apidocs/net/abhinavsarkar/spelhelper/class-use/SpelHelper.html
  15. 37
    0
      apidocs/net/abhinavsarkar/spelhelper/package-frame.html
  16. 167
    0
      apidocs/net/abhinavsarkar/spelhelper/package-summary.html
  17. 149
    0
      apidocs/net/abhinavsarkar/spelhelper/package-tree.html
  18. 157
    0
      apidocs/net/abhinavsarkar/spelhelper/package-use.html
  19. 151
    0
      apidocs/overview-tree.html
  20. 1
    0
      apidocs/package-list
  21. BIN
      apidocs/resources/inherit.gif
  22. 178
    0
      apidocs/spring-javadoc.css
  23. BIN
      lib/markdown-doclet-3.0.jar
  24. 69
    41
      pom.xml
  25. 43
    1
      src/main/java/net/abhinavsarkar/spelhelper/ExtensionFunctions.java
  26. 1
    1
      src/main/java/net/abhinavsarkar/spelhelper/ImplicitMethodResolver.java
  27. 71
    1
      src/main/java/net/abhinavsarkar/spelhelper/ImplicitMethods.java
  28. 7
    7
      src/main/java/net/abhinavsarkar/spelhelper/ImplicitPropertyAccessor.java
  29. 1
    1
      src/main/java/net/abhinavsarkar/spelhelper/ReadOnlyGenericPropertyAccessor.java
  30. 209
    5
      src/main/java/net/abhinavsarkar/spelhelper/SpelHelper.java
  31. 178
    0
      src/main/javadoc/spring-javadoc.css
  32. 1
    1
      src/test/java/net/abhinavsarkar/spelhelper/SpelHelperTest.java

+ 78
- 0
README.mdown View File

@@ -0,0 +1,78 @@
1
+SpelHelper provides additional functionalities to work with
2
+[Spring Expression Language (SpEL)][1].
3
+
4
+The addition functionalities provided are:
5
+
6
+1. Implicit methods
7
+2. Implicit properties
8
+3. Simplified extension functions
9
+4. Simplified constructors
10
+
11
+**Implicit Methods**
12
+
13
+Implicit methods allow one to registers methods with SpelHelper and attach
14
+them to particular classes. After that, when that method is called on an
15
+object of that particular class inside a SpEL expression, SpelHelper
16
+redirects the method call to the registered method.
17
+
18
+Example: [ImplicitMethods#sorted(List)][4] method is automatically
19
+registered by SpelHelper. The class that the method should be invoked for
20
+is the type of the first parameter of the method. In this case, the class is
21
+java.util.List.
22
+
23
+So when an expression like `"#list(1,4,2).sorted()"` is evaluated, the
24
+[ImplicitMethods#sorted(List)][4] method is invoked with the list as its
25
+first parameter and its return value is used in further evaluation of the
26
+expression.
27
+
28
+**Implicit Properties**
29
+
30
+Implicit properties allow one to treat no argument methods of an object
31
+as properties of the object. SpelHelper intercepts the property resolution
32
+of SpEL and if the property name is same as some no-arg method of the target
33
+object then it invokes the method on the object and provides its return value
34
+as the property value for further evaluation of the expression.
35
+
36
+Example: Using implicit properties, the example of implicit methods can be
37
+written as: `"#list(1,4,2).sorted"` - dropping the parens - and it will return
38
+the same value as the last example.
39
+
40
+Implicit property resolution considers both the actual methods of the object
41
+and the implicit methods registered on the object's class.
42
+
43
+**Simplified extension functions**
44
+
45
+SpEL [allows][2] to register extension function on the context by providing a
46
+name and a java.lang.reflect.Method object. SpelHelper simplifies this by taking a class
47
+and registering all the `public static` methods of the class which do not
48
+have a `void` return type. The methods are registered by their simple name.
49
+
50
+Example: All the methods of [ExtensionFunctions][5] class are automatically
51
+registered by SpelHelper. Hence the method [ExtensionFunctions#list(Object...)][5]
52
+can be called from inside a SpEL expression using the function call syntax:
53
+`"#list(1,2,3)`".
54
+
55
+**Simplified constructors**
56
+
57
+SpEL [allows][3] calling constructors from inside a SpEL expression using the
58
+`new` operator. But they have to be called with their full name like:
59
+`"new org.example.Foo('bar')"`. SpelHelper simplifies this by taking a class
60
+and registering all its public constructors to the SpEL context by their
61
+simple name.
62
+
63
+Example: After registering the `org.example.Foo` class with SpelHelper, its
64
+constructor can be called from inside a SpEL expression by: `"new Foo('bar')"`.
65
+
66
+In addition to all the above functionalities, SpelHelper automatically registers
67
+some extension functions and implicit methods which are always available in
68
+the SpEL expressions evaluated through SpelHelper. See [ExtensionFunctions][5]
69
+and [ImplicitMethods][4] for further details.
70
+
71
+For more details see the [API Javadocs][6].
72
+
73
+[1]: http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/expressions.html
74
+[2]: http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/expressions.html#expressions-ref-functions
75
+[3]: http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/expressions.html#d0e11927
76
+[4]: http://github.com/abhin4v/spelhelper/blob/master/src/main/java/net/abhinavsarkar/spelhelper/ImplicitMethods.java
77
+[5]: http://github.com/abhin4v/spelhelper/blob/master/src/main/java/net/abhinavsarkar/spelhelper/ExtensionFunctions.java
78
+[6]: http://github.com/abhin4v/spelhelper/raw/master/apidocs/net/abhinavsarkar/spelhelper/package-summary.html

+ 36
- 0
apidocs/allclasses-frame.html View File

@@ -0,0 +1,36 @@
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+<!--NewPage-->
3
+<HTML>
4
+<HEAD>
5
+<!-- Generated by javadoc (build 1.6.0) on Thu May 27 01:34:44 IST 2010 -->
6
+<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
+<TITLE>
8
+All Classes (SpelHelper 1.0 API)
9
+</TITLE>
10
+
11
+<META NAME="date" CONTENT="2010-05-27">
12
+
13
+<LINK REL ="stylesheet" TYPE="text/css" HREF="spring-javadoc.css" TITLE="Style">
14
+
15
+
16
+</HEAD>
17
+
18
+<BODY BGCOLOR="white">
19
+<FONT size="+1" CLASS="FrameHeadingFont">
20
+<B>All Classes</B></FONT>
21
+<BR>
22
+
23
+<TABLE BORDER="0" WIDTH="100%" SUMMARY="">
24
+<TR>
25
+<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="net/abhinavsarkar/spelhelper/ExtensionFunctions.html" title="class in net.abhinavsarkar.spelhelper" target="classFrame">ExtensionFunctions</A>
26
+<BR>
27
+<A HREF="net/abhinavsarkar/spelhelper/ImplicitMethods.html" title="class in net.abhinavsarkar.spelhelper" target="classFrame">ImplicitMethods</A>
28
+<BR>
29
+<A HREF="net/abhinavsarkar/spelhelper/SpelHelper.html" title="class in net.abhinavsarkar.spelhelper" target="classFrame">SpelHelper</A>
30
+<BR>
31
+</FONT></TD>
32
+</TR>
33
+</TABLE>
34
+
35
+</BODY>
36
+</HTML>

+ 36
- 0
apidocs/allclasses-noframe.html View File

@@ -0,0 +1,36 @@
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+<!--NewPage-->
3
+<HTML>
4
+<HEAD>
5
+<!-- Generated by javadoc (build 1.6.0) on Thu May 27 01:34:44 IST 2010 -->
6
+<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
+<TITLE>
8
+All Classes (SpelHelper 1.0 API)
9
+</TITLE>
10
+
11
+<META NAME="date" CONTENT="2010-05-27">
12
+
13
+<LINK REL ="stylesheet" TYPE="text/css" HREF="spring-javadoc.css" TITLE="Style">
14
+
15
+
16
+</HEAD>
17
+
18
+<BODY BGCOLOR="white">
19
+<FONT size="+1" CLASS="FrameHeadingFont">
20
+<B>All Classes</B></FONT>
21
+<BR>
22
+
23
+<TABLE BORDER="0" WIDTH="100%" SUMMARY="">
24
+<TR>
25
+<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="net/abhinavsarkar/spelhelper/ExtensionFunctions.html" title="class in net.abhinavsarkar.spelhelper">ExtensionFunctions</A>
26
+<BR>
27
+<A HREF="net/abhinavsarkar/spelhelper/ImplicitMethods.html" title="class in net.abhinavsarkar.spelhelper">ImplicitMethods</A>
28
+<BR>
29
+<A HREF="net/abhinavsarkar/spelhelper/SpelHelper.html" title="class in net.abhinavsarkar.spelhelper">SpelHelper</A>
30
+<BR>
31
+</FONT></TD>
32
+</TR>
33
+</TABLE>
34
+
35
+</BODY>
36
+</HTML>

+ 145
- 0
apidocs/constant-values.html View File

@@ -0,0 +1,145 @@
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+<!--NewPage-->
3
+<HTML>
4
+<HEAD>
5
+<!-- Generated by javadoc (build 1.6.0) on Thu May 27 01:34:44 IST 2010 -->
6
+<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
+<TITLE>
8
+Constant Field Values (SpelHelper 1.0 API)
9
+</TITLE>
10
+
11
+<META NAME="date" CONTENT="2010-05-27">
12
+
13
+<LINK REL ="stylesheet" TYPE="text/css" HREF="spring-javadoc.css" TITLE="Style">
14
+
15
+<SCRIPT type="text/javascript">
16
+function windowTitle()
17
+{
18
+    if (location.href.indexOf('is-external=true') == -1) {
19
+        parent.document.title="Constant Field Values (SpelHelper 1.0 API)";
20
+    }
21
+}
22
+</SCRIPT>
23
+<NOSCRIPT>
24
+</NOSCRIPT>
25
+
26
+</HEAD>
27
+
28
+<BODY BGCOLOR="white" onload="windowTitle();">
29
+<HR>
30
+
31
+
32
+<!-- ========= START OF TOP NAVBAR ======= -->
33
+<A NAME="navbar_top"><!-- --></A>
34
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
35
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
36
+<TR>
37
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
38
+<A NAME="navbar_top_firstrow"><!-- --></A>
39
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
40
+  <TR ALIGN="center" VALIGN="top">
41
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="net/abhinavsarkar/spelhelper/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
43
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Use</FONT>&nbsp;</TD>
44
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="net/abhinavsarkar/spelhelper/package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
45
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
46
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
47
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
48
+  </TR>
49
+</TABLE>
50
+</TD>
51
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
52
+</EM>
53
+</TD>
54
+</TR>
55
+
56
+<TR>
57
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58
+&nbsp;PREV&nbsp;
59
+&nbsp;NEXT</FONT></TD>
60
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61
+  <A HREF="index.html?constant-values.html" target="_top"><B>FRAMES</B></A>  &nbsp;
62
+&nbsp;<A HREF="constant-values.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
63
+&nbsp;<SCRIPT type="text/javascript">
64
+  <!--
65
+  if(window==top) {
66
+    document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
67
+  }
68
+  //-->
69
+</SCRIPT>
70
+<NOSCRIPT>
71
+  <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
72
+</NOSCRIPT>
73
+
74
+
75
+</FONT></TD>
76
+</TR>
77
+</TABLE>
78
+<A NAME="skip-navbar_top"></A>
79
+<!-- ========= END OF TOP NAVBAR ========= -->
80
+
81
+<HR>
82
+<CENTER>
83
+<H1>
84
+Constant Field Values</H1>
85
+</CENTER>
86
+<HR SIZE="4" NOSHADE>
87
+<B>Contents</B><UL>
88
+</UL>
89
+
90
+<HR>
91
+
92
+
93
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
94
+<A NAME="navbar_bottom"><!-- --></A>
95
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
96
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
97
+<TR>
98
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
99
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
100
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
101
+  <TR ALIGN="center" VALIGN="top">
102
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="net/abhinavsarkar/spelhelper/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
103
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
104
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Use</FONT>&nbsp;</TD>
105
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="net/abhinavsarkar/spelhelper/package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
106
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
107
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
108
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
109
+  </TR>
110
+</TABLE>
111
+</TD>
112
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
113
+Code hosted at <a target='_blank' href='http://github.com/abhin4v/spelhelper/'>github</a></EM>
114
+</TD>
115
+</TR>
116
+
117
+<TR>
118
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
119
+&nbsp;PREV&nbsp;
120
+&nbsp;NEXT</FONT></TD>
121
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
122
+  <A HREF="index.html?constant-values.html" target="_top"><B>FRAMES</B></A>  &nbsp;
123
+&nbsp;<A HREF="constant-values.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
124
+&nbsp;<SCRIPT type="text/javascript">
125
+  <!--
126
+  if(window==top) {
127
+    document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
128
+  }
129
+  //-->
130
+</SCRIPT>
131
+<NOSCRIPT>
132
+  <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
133
+</NOSCRIPT>
134
+
135
+
136
+</FONT></TD>
137
+</TR>
138
+</TABLE>
139
+<A NAME="skip-navbar_bottom"></A>
140
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
141
+
142
+<HR>
143
+Copyright &#169; 2010. All Rights Reserved.
144
+</BODY>
145
+</HTML>

+ 145
- 0
apidocs/deprecated-list.html View File

@@ -0,0 +1,145 @@
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+<!--NewPage-->
3
+<HTML>
4
+<HEAD>
5
+<!-- Generated by javadoc (build 1.6.0) on Thu May 27 01:34:44 IST 2010 -->
6
+<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
+<TITLE>
8
+Deprecated List (SpelHelper 1.0 API)
9
+</TITLE>
10
+
11
+<META NAME="date" CONTENT="2010-05-27">
12
+
13
+<LINK REL ="stylesheet" TYPE="text/css" HREF="spring-javadoc.css" TITLE="Style">
14
+
15
+<SCRIPT type="text/javascript">
16
+function windowTitle()
17
+{
18
+    if (location.href.indexOf('is-external=true') == -1) {
19
+        parent.document.title="Deprecated List (SpelHelper 1.0 API)";
20
+    }
21
+}
22
+</SCRIPT>
23
+<NOSCRIPT>
24
+</NOSCRIPT>
25
+
26
+</HEAD>
27
+
28
+<BODY BGCOLOR="white" onload="windowTitle();">
29
+<HR>
30
+
31
+
32
+<!-- ========= START OF TOP NAVBAR ======= -->
33
+<A NAME="navbar_top"><!-- --></A>
34
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
35
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
36
+<TR>
37
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
38
+<A NAME="navbar_top_firstrow"><!-- --></A>
39
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
40
+  <TR ALIGN="center" VALIGN="top">
41
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="net/abhinavsarkar/spelhelper/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
43
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Use</FONT>&nbsp;</TD>
44
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="net/abhinavsarkar/spelhelper/package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
45
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Deprecated</B></FONT>&nbsp;</TD>
46
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
47
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
48
+  </TR>
49
+</TABLE>
50
+</TD>
51
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
52
+</EM>
53
+</TD>
54
+</TR>
55
+
56
+<TR>
57
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58
+&nbsp;PREV&nbsp;
59
+&nbsp;NEXT</FONT></TD>
60
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61
+  <A HREF="index.html?deprecated-list.html" target="_top"><B>FRAMES</B></A>  &nbsp;
62
+&nbsp;<A HREF="deprecated-list.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
63
+&nbsp;<SCRIPT type="text/javascript">
64
+  <!--
65
+  if(window==top) {
66
+    document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
67
+  }
68
+  //-->
69
+</SCRIPT>
70
+<NOSCRIPT>
71
+  <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
72
+</NOSCRIPT>
73
+
74
+
75
+</FONT></TD>
76
+</TR>
77
+</TABLE>
78
+<A NAME="skip-navbar_top"></A>
79
+<!-- ========= END OF TOP NAVBAR ========= -->
80
+
81
+<HR>
82
+<CENTER>
83
+<H2>
84
+<B>Deprecated API</B></H2>
85
+</CENTER>
86
+<HR SIZE="4" NOSHADE>
87
+<B>Contents</B><UL>
88
+</UL>
89
+
90
+<HR>
91
+
92
+
93
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
94
+<A NAME="navbar_bottom"><!-- --></A>
95
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
96
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
97
+<TR>
98
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
99
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
100
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
101
+  <TR ALIGN="center" VALIGN="top">
102
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="net/abhinavsarkar/spelhelper/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
103
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
104
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Use</FONT>&nbsp;</TD>
105
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="net/abhinavsarkar/spelhelper/package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
106
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Deprecated</B></FONT>&nbsp;</TD>
107
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
108
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
109
+  </TR>
110
+</TABLE>
111
+</TD>
112
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
113
+Code hosted at <a target='_blank' href='http://github.com/abhin4v/spelhelper/'>github</a></EM>
114
+</TD>
115
+</TR>
116
+
117
+<TR>
118
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
119
+&nbsp;PREV&nbsp;
120
+&nbsp;NEXT</FONT></TD>
121
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
122
+  <A HREF="index.html?deprecated-list.html" target="_top"><B>FRAMES</B></A>  &nbsp;
123
+&nbsp;<A HREF="deprecated-list.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
124
+&nbsp;<SCRIPT type="text/javascript">
125
+  <!--
126
+  if(window==top) {
127
+    document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
128
+  }
129
+  //-->
130
+</SCRIPT>
131
+<NOSCRIPT>
132
+  <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
133
+</NOSCRIPT>
134
+
135
+
136
+</FONT></TD>
137
+</TR>
138
+</TABLE>
139
+<A NAME="skip-navbar_bottom"></A>
140
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
141
+
142
+<HR>
143
+Copyright &#169; 2010. All Rights Reserved.
144
+</BODY>
145
+</HTML>

+ 216
- 0
apidocs/help-doc.html View File

@@ -0,0 +1,216 @@
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+<!--NewPage-->
3
+<HTML>
4
+<HEAD>
5
+<!-- Generated by javadoc (build 1.6.0) on Thu May 27 01:34:44 IST 2010 -->
6
+<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
+<TITLE>
8
+API Help (SpelHelper 1.0 API)
9
+</TITLE>
10
+
11
+<META NAME="date" CONTENT="2010-05-27">
12
+
13
+<LINK REL ="stylesheet" TYPE="text/css" HREF="spring-javadoc.css" TITLE="Style">
14
+
15
+<SCRIPT type="text/javascript">
16
+function windowTitle()
17
+{
18
+    if (location.href.indexOf('is-external=true') == -1) {
19
+        parent.document.title="API Help (SpelHelper 1.0 API)";
20
+    }
21
+}
22
+</SCRIPT>
23
+<NOSCRIPT>
24
+</NOSCRIPT>
25
+
26
+</HEAD>
27
+
28
+<BODY BGCOLOR="white" onload="windowTitle();">
29
+<HR>
30
+
31
+
32
+<!-- ========= START OF TOP NAVBAR ======= -->
33
+<A NAME="navbar_top"><!-- --></A>
34
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
35
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
36
+<TR>
37
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
38
+<A NAME="navbar_top_firstrow"><!-- --></A>
39
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
40
+  <TR ALIGN="center" VALIGN="top">
41
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="net/abhinavsarkar/spelhelper/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
43
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Use</FONT>&nbsp;</TD>
44
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="net/abhinavsarkar/spelhelper/package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
45
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
46
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
47
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Help</B></FONT>&nbsp;</TD>
48
+  </TR>
49
+</TABLE>
50
+</TD>
51
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
52
+</EM>
53
+</TD>
54
+</TR>
55
+
56
+<TR>
57
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58
+&nbsp;PREV&nbsp;
59
+&nbsp;NEXT</FONT></TD>
60
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61
+  <A HREF="index.html?help-doc.html" target="_top"><B>FRAMES</B></A>  &nbsp;
62
+&nbsp;<A HREF="help-doc.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
63
+&nbsp;<SCRIPT type="text/javascript">
64
+  <!--
65
+  if(window==top) {
66
+    document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
67
+  }
68
+  //-->
69
+</SCRIPT>
70
+<NOSCRIPT>
71
+  <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
72
+</NOSCRIPT>
73
+
74
+
75
+</FONT></TD>
76
+</TR>
77
+</TABLE>
78
+<A NAME="skip-navbar_top"></A>
79
+<!-- ========= END OF TOP NAVBAR ========= -->
80
+
81
+<HR>
82
+<CENTER>
83
+<H1>
84
+How This API Document Is Organized</H1>
85
+</CENTER>
86
+This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.<H3>
87
+Package</H3>
88
+<BLOCKQUOTE>
89
+
90
+<P>
91
+Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain four categories:<UL>
92
+<LI>Interfaces (italic)<LI>Classes<LI>Enums<LI>Exceptions<LI>Errors<LI>Annotation Types</UL>
93
+</BLOCKQUOTE>
94
+<H3>
95
+Class/Interface</H3>
96
+<BLOCKQUOTE>
97
+
98
+<P>
99
+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:<UL>
100
+<LI>Class inheritance diagram<LI>Direct Subclasses<LI>All Known Subinterfaces<LI>All Known Implementing Classes<LI>Class/interface declaration<LI>Class/interface description
101
+<P>
102
+<LI>Nested Class Summary<LI>Field Summary<LI>Constructor Summary<LI>Method Summary
103
+<P>
104
+<LI>Field Detail<LI>Constructor Detail<LI>Method Detail</UL>
105
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.</BLOCKQUOTE>
106
+</BLOCKQUOTE>
107
+<H3>
108
+Annotation Type</H3>
109
+<BLOCKQUOTE>
110
+
111
+<P>
112
+Each annotation type has its own separate page with the following sections:<UL>
113
+<LI>Annotation Type declaration<LI>Annotation Type description<LI>Required Element Summary<LI>Optional Element Summary<LI>Element Detail</UL>
114
+</BLOCKQUOTE>
115
+</BLOCKQUOTE>
116
+<H3>
117
+Enum</H3>
118
+<BLOCKQUOTE>
119
+
120
+<P>
121
+Each enum has its own separate page with the following sections:<UL>
122
+<LI>Enum declaration<LI>Enum description<LI>Enum Constant Summary<LI>Enum Constant Detail</UL>
123
+</BLOCKQUOTE>
124
+<H3>
125
+Use</H3>
126
+<BLOCKQUOTE>
127
+Each documented package, class and interface has its own Use page.  This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A.  You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.</BLOCKQUOTE>
128
+<H3>
129
+Tree (Class Hierarchy)</H3>
130
+<BLOCKQUOTE>
131
+There is a <A HREF="overview-tree.html">Class Hierarchy</A> page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with <code>java.lang.Object</code>. The interfaces do not inherit from <code>java.lang.Object</code>.<UL>
132
+<LI>When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.<LI>When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.</UL>
133
+</BLOCKQUOTE>
134
+<H3>
135
+Deprecated API</H3>
136
+<BLOCKQUOTE>
137
+The <A HREF="deprecated-list.html">Deprecated API</A> page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.</BLOCKQUOTE>
138
+<H3>
139
+Index</H3>
140
+<BLOCKQUOTE>
141
+The <A HREF="index-all.html">Index</A> contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.</BLOCKQUOTE>
142
+<H3>
143
+Prev/Next</H3>
144
+These links take you to the next or previous class, interface, package, or related page.<H3>
145
+Frames/No Frames</H3>
146
+These links show and hide the HTML frames.  All pages are available with or without frames.
147
+<P>
148
+<H3>
149
+Serialized Form</H3>
150
+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
151
+<P>
152
+<H3>
153
+Constant Field Values</H3>
154
+The <a href="constant-values.html">Constant Field Values</a> page lists the static final fields and their values.
155
+<P>
156
+<FONT SIZE="-1">
157
+<EM>
158
+This help file applies to API documentation generated using the standard doclet.</EM>
159
+</FONT>
160
+<BR>
161
+<HR>
162
+
163
+
164
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
165
+<A NAME="navbar_bottom"><!-- --></A>
166
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
167
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
168
+<TR>
169
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
170
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
171
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
172
+  <TR ALIGN="center" VALIGN="top">
173
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="net/abhinavsarkar/spelhelper/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
174
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
175
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Use</FONT>&nbsp;</TD>
176
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="net/abhinavsarkar/spelhelper/package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
177
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
178
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
179
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Help</B></FONT>&nbsp;</TD>
180
+  </TR>
181
+</TABLE>
182
+</TD>
183
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
184
+Code hosted at <a target='_blank' href='http://github.com/abhin4v/spelhelper/'>github</a></EM>
185
+</TD>
186
+</TR>
187
+
188
+<TR>
189
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
190
+&nbsp;PREV&nbsp;
191
+&nbsp;NEXT</FONT></TD>
192
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
193
+  <A HREF="index.html?help-doc.html" target="_top"><B>FRAMES</B></A>  &nbsp;
194
+&nbsp;<A HREF="help-doc.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
195
+&nbsp;<SCRIPT type="text/javascript">
196
+  <!--
197
+  if(window==top) {
198
+    document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
199
+  }
200
+  //-->
201
+</SCRIPT>
202
+<NOSCRIPT>
203
+  <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
204
+</NOSCRIPT>
205
+
206
+
207
+</FONT></TD>
208
+</TR>
209
+</TABLE>
210
+<A NAME="skip-navbar_bottom"></A>
211
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
212
+
213
+<HR>
214
+Copyright &#169; 2010. All Rights Reserved.
215
+</BODY>
216
+</HTML>

+ 260
- 0
apidocs/index-all.html View File

@@ -0,0 +1,260 @@
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+<!--NewPage-->
3
+<HTML>
4
+<HEAD>
5
+<!-- Generated by javadoc (build 1.6.0) on Thu May 27 01:34:44 IST 2010 -->
6
+<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
+<TITLE>
8
+Index (SpelHelper 1.0 API)
9
+</TITLE>
10
+
11
+<META NAME="date" CONTENT="2010-05-27">
12
+
13
+<LINK REL ="stylesheet" TYPE="text/css" HREF="./spring-javadoc.css" TITLE="Style">
14
+
15
+<SCRIPT type="text/javascript">
16
+function windowTitle()
17
+{
18
+    if (location.href.indexOf('is-external=true') == -1) {
19
+        parent.document.title="Index (SpelHelper 1.0 API)";
20
+    }
21
+}
22
+</SCRIPT>
23
+<NOSCRIPT>
24
+</NOSCRIPT>
25
+
26
+</HEAD>
27
+
28
+<BODY BGCOLOR="white" onload="windowTitle();">
29
+<HR>
30
+
31
+
32
+<!-- ========= START OF TOP NAVBAR ======= -->
33
+<A NAME="navbar_top"><!-- --></A>
34
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
35
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
36
+<TR>
37
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
38
+<A NAME="navbar_top_firstrow"><!-- --></A>
39
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
40
+  <TR ALIGN="center" VALIGN="top">
41
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="./net/abhinavsarkar/spelhelper/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
43
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Use</FONT>&nbsp;</TD>
44
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="./net/abhinavsarkar/spelhelper/package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
45
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="./deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
46
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT>&nbsp;</TD>
47
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="./help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
48
+  </TR>
49
+</TABLE>
50
+</TD>
51
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
52
+</EM>
53
+</TD>
54
+</TR>
55
+
56
+<TR>
57
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58
+&nbsp;PREV&nbsp;
59
+&nbsp;NEXT</FONT></TD>
60
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61
+  <A HREF="./index.html?index-all.html" target="_top"><B>FRAMES</B></A>  &nbsp;
62
+&nbsp;<A HREF="index-all.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
63
+&nbsp;<SCRIPT type="text/javascript">
64
+  <!--
65
+  if(window==top) {
66
+    document.writeln('<A HREF="./allclasses-noframe.html"><B>All Classes</B></A>');
67
+  }
68
+  //-->
69
+</SCRIPT>
70
+<NOSCRIPT>
71
+  <A HREF="./allclasses-noframe.html"><B>All Classes</B></A>
72
+</NOSCRIPT>
73
+
74
+
75
+</FONT></TD>
76
+</TR>
77
+</TABLE>
78
+<A NAME="skip-navbar_top"></A>
79
+<!-- ========= END OF TOP NAVBAR ========= -->
80
+
81
+<A HREF="#_D_">D</A> <A HREF="#_E_">E</A> <A HREF="#_G_">G</A> <A HREF="#_I_">I</A> <A HREF="#_L_">L</A> <A HREF="#_M_">M</A> <A HREF="#_N_">N</A> <A HREF="#_R_">R</A> <A HREF="#_S_">S</A> <A HREF="#_T_">T</A> <HR>
82
+<A NAME="_D_"><!-- --></A><H2>
83
+<B>D</B></H2>
84
+<DL>
85
+<DT><A HREF="./net/abhinavsarkar/spelhelper/ImplicitMethods.html#distinct(java.util.List)"><B>distinct(List&lt;? extends T&gt;)</B></A> - 
86
+Static method in class net.abhinavsarkar.spelhelper.<A HREF="./net/abhinavsarkar/spelhelper/ImplicitMethods.html" title="class in net.abhinavsarkar.spelhelper">ImplicitMethods</A>
87
+<DD>Provides implicit method <code>distinct</code> on the <a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code> </a>class.
88
+<DT><A HREF="./net/abhinavsarkar/spelhelper/ImplicitMethods.html#drop(java.util.List, int)"><B>drop(List&lt;T&gt;, int)</B></A> - 
89
+Static method in class net.abhinavsarkar.spelhelper.<A HREF="./net/abhinavsarkar/spelhelper/ImplicitMethods.html" title="class in net.abhinavsarkar.spelhelper">ImplicitMethods</A>
90
+<DD>Provides implicit method <code>drop</code> on the <a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code> </a>class.
91
+</DL>
92
+<HR>
93
+<A NAME="_E_"><!-- --></A><H2>
94
+<B>E</B></H2>
95
+<DL>
96
+<DT><A HREF="./net/abhinavsarkar/spelhelper/SpelHelper.html#evalExpression(java.lang.String, java.lang.Object, java.lang.Class)"><B>evalExpression(String, Object, Class&lt;T&gt;)</B></A> - 
97
+Method in class net.abhinavsarkar.spelhelper.<A HREF="./net/abhinavsarkar/spelhelper/SpelHelper.html" title="class in net.abhinavsarkar.spelhelper">SpelHelper</A>
98
+<DD>Evaluates a SpEL expression <code>expressionString</code> in the context
99
+of root element <code>rootElement</code> and gives back a result of type
100
+<code>desiredType</code>.
101
+<DT><A HREF="./net/abhinavsarkar/spelhelper/SpelHelper.html#evalExpression(java.lang.String, org.springframework.expression.EvaluationContext, java.lang.Class)"><B>evalExpression(String, EvaluationContext, Class&lt;T&gt;)</B></A> - 
102
+Method in class net.abhinavsarkar.spelhelper.<A HREF="./net/abhinavsarkar/spelhelper/SpelHelper.html" title="class in net.abhinavsarkar.spelhelper">SpelHelper</A>
103
+<DD>Evaluates a SpEL expression <code>expressionString</code> in the provided
104
+context <code>evaluationContext</code> and gives back a result of type
105
+<code>desiredType</code>.
106
+<DT><A HREF="./net/abhinavsarkar/spelhelper/SpelHelper.html#evalExpressions(java.lang.String[], java.lang.Object, java.lang.Class)"><B>evalExpressions(String[], Object, Class&lt;T&gt;)</B></A> - 
107
+Method in class net.abhinavsarkar.spelhelper.<A HREF="./net/abhinavsarkar/spelhelper/SpelHelper.html" title="class in net.abhinavsarkar.spelhelper">SpelHelper</A>
108
+<DD>Evaluates multiple SpEL expressions and returns the result of the last
109
+expression.
110
+<DT><A HREF="./net/abhinavsarkar/spelhelper/SpelHelper.html#evalExpressions(java.lang.String[], org.springframework.expression.EvaluationContext, java.lang.Class)"><B>evalExpressions(String[], EvaluationContext, Class&lt;T&gt;)</B></A> - 
111
+Method in class net.abhinavsarkar.spelhelper.<A HREF="./net/abhinavsarkar/spelhelper/SpelHelper.html" title="class in net.abhinavsarkar.spelhelper">SpelHelper</A>
112
+<DD>Evaluates multiple SpEL expressions and returns the result of the last
113
+expression.
114
+<DT><A HREF="./net/abhinavsarkar/spelhelper/ExtensionFunctions.html" title="class in net.abhinavsarkar.spelhelper"><B>ExtensionFunctions</B></A> - Class in <A HREF="./net/abhinavsarkar/spelhelper/package-summary.html">net.abhinavsarkar.spelhelper</A><DD>Provides some extension functions to create some basic collection types
115
+inline in SpEL expressions.</DL>
116
+<HR>
117
+<A NAME="_G_"><!-- --></A><H2>
118
+<B>G</B></H2>
119
+<DL>
120
+<DT><A HREF="./net/abhinavsarkar/spelhelper/SpelHelper.html#getCurrentContext()"><B>getCurrentContext()</B></A> - 
121
+Static method in class net.abhinavsarkar.spelhelper.<A HREF="./net/abhinavsarkar/spelhelper/SpelHelper.html" title="class in net.abhinavsarkar.spelhelper">SpelHelper</A>
122
+<DD>Returns the current evaluation context.
123
+</DL>
124
+<HR>
125
+<A NAME="_I_"><!-- --></A><H2>
126
+<B>I</B></H2>
127
+<DL>
128
+<DT><A HREF="./net/abhinavsarkar/spelhelper/ImplicitMethods.html" title="class in net.abhinavsarkar.spelhelper"><B>ImplicitMethods</B></A> - Class in <A HREF="./net/abhinavsarkar/spelhelper/package-summary.html">net.abhinavsarkar.spelhelper</A><DD>Provides some implicit methods which can be invoked on the instances of
129
+class of the first parameter of the method inside a SpEL expression.<DT><A HREF="./net/abhinavsarkar/spelhelper/ImplicitMethods.html#ImplicitMethods()"><B>ImplicitMethods()</B></A> - 
130
+Constructor for class net.abhinavsarkar.spelhelper.<A HREF="./net/abhinavsarkar/spelhelper/ImplicitMethods.html" title="class in net.abhinavsarkar.spelhelper">ImplicitMethods</A>
131
+<DD>&nbsp;
132
+</DL>
133
+<HR>
134
+<A NAME="_L_"><!-- --></A><H2>
135
+<B>L</B></H2>
136
+<DL>
137
+<DT><A HREF="./net/abhinavsarkar/spelhelper/ExtensionFunctions.html#list(T...)"><B>list(T...)</B></A> - 
138
+Static method in class net.abhinavsarkar.spelhelper.<A HREF="./net/abhinavsarkar/spelhelper/ExtensionFunctions.html" title="class in net.abhinavsarkar.spelhelper">ExtensionFunctions</A>
139
+<DD>Creates an unmodifiable <a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code> </a>of the arguments provided.
140
+<DT><A HREF="./net/abhinavsarkar/spelhelper/SpelHelper.html#lookupImplicitConstructor(java.lang.String)"><B>lookupImplicitConstructor(String)</B></A> - 
141
+Method in class net.abhinavsarkar.spelhelper.<A HREF="./net/abhinavsarkar/spelhelper/SpelHelper.html" title="class in net.abhinavsarkar.spelhelper">SpelHelper</A>
142
+<DD>Looks up an implicit constructor registered with this instance.
143
+<DT><A HREF="./net/abhinavsarkar/spelhelper/SpelHelper.html#lookupImplicitMethod(java.lang.String)"><B>lookupImplicitMethod(String)</B></A> - 
144
+Method in class net.abhinavsarkar.spelhelper.<A HREF="./net/abhinavsarkar/spelhelper/SpelHelper.html" title="class in net.abhinavsarkar.spelhelper">SpelHelper</A>
145
+<DD>Looks up an implicit method registered with this instance.
146
+</DL>
147
+<HR>
148
+<A NAME="_M_"><!-- --></A><H2>
149
+<B>M</B></H2>
150
+<DL>
151
+<DT><A HREF="./net/abhinavsarkar/spelhelper/ExtensionFunctions.html#map(java.util.List, java.util.List)"><B>map(List&lt;? extends K&gt;, List&lt;? extends V&gt;)</B></A> - 
152
+Static method in class net.abhinavsarkar.spelhelper.<A HREF="./net/abhinavsarkar/spelhelper/ExtensionFunctions.html" title="class in net.abhinavsarkar.spelhelper">ExtensionFunctions</A>
153
+<DD>Creates an unmodifiable <a href="http://java.sun.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code> </a>using the <a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code> </a>of keys
154
+provided as the first argument and the <a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code> </a>of values provided
155
+as the second argument.
156
+</DL>
157
+<HR>
158
+<A NAME="_N_"><!-- --></A><H2>
159
+<B>N</B></H2>
160
+<DL>
161
+<DT><A HREF="./net/abhinavsarkar/spelhelper/package-summary.html"><B>net.abhinavsarkar.spelhelper</B></A> - package net.abhinavsarkar.spelhelper<DD>&nbsp;</DL>
162
+<HR>
163
+<A NAME="_R_"><!-- --></A><H2>
164
+<B>R</B></H2>
165
+<DL>
166
+<DT><A HREF="./net/abhinavsarkar/spelhelper/SpelHelper.html#registerConstructorsFromClass(java.lang.Class)"><B>registerConstructorsFromClass(Class&lt;?&gt;)</B></A> - 
167
+Method in class net.abhinavsarkar.spelhelper.<A HREF="./net/abhinavsarkar/spelhelper/SpelHelper.html" title="class in net.abhinavsarkar.spelhelper">SpelHelper</A>
168
+<DD>Registers the public constructors of the class <code>clazz</code> so that they
169
+can be called by their simple name from SpEL expressions.
170
+<DT><A HREF="./net/abhinavsarkar/spelhelper/SpelHelper.html#registerFunctionsFromClass(java.lang.Class)"><B>registerFunctionsFromClass(Class&lt;?&gt;)</B></A> - 
171
+Method in class net.abhinavsarkar.spelhelper.<A HREF="./net/abhinavsarkar/spelhelper/SpelHelper.html" title="class in net.abhinavsarkar.spelhelper">SpelHelper</A>
172
+<DD>Registers the public static methods in the class <code>clazz</code> as functions
173
+which can be called from SpEL expressions.
174
+<DT><A HREF="./net/abhinavsarkar/spelhelper/SpelHelper.html#registerImplicitMethodsFromClass(java.lang.Class)"><B>registerImplicitMethodsFromClass(Class&lt;?&gt;)</B></A> - 
175
+Method in class net.abhinavsarkar.spelhelper.<A HREF="./net/abhinavsarkar/spelhelper/SpelHelper.html" title="class in net.abhinavsarkar.spelhelper">SpelHelper</A>
176
+<DD>Registers the public static methods in the class <code>clazz</code> as implicit
177
+methods for the class of the first parameter of the methods.
178
+<DT><A HREF="./net/abhinavsarkar/spelhelper/ImplicitMethods.html#reversed(java.util.List)"><B>reversed(List&lt;? extends T&gt;)</B></A> - 
179
+Static method in class net.abhinavsarkar.spelhelper.<A HREF="./net/abhinavsarkar/spelhelper/ImplicitMethods.html" title="class in net.abhinavsarkar.spelhelper">ImplicitMethods</A>
180
+<DD>Provides implicit method <code>reversed</code> on the <a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code> </a>class.
181
+</DL>
182
+<HR>
183
+<A NAME="_S_"><!-- --></A><H2>
184
+<B>S</B></H2>
185
+<DL>
186
+<DT><A HREF="./net/abhinavsarkar/spelhelper/ExtensionFunctions.html#set(T...)"><B>set(T...)</B></A> - 
187
+Static method in class net.abhinavsarkar.spelhelper.<A HREF="./net/abhinavsarkar/spelhelper/ExtensionFunctions.html" title="class in net.abhinavsarkar.spelhelper">ExtensionFunctions</A>
188
+<DD>Creates an unmodifiable <a href="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util"><code>Set</code> </a>of the arguments provided.
189
+<DT><A HREF="./net/abhinavsarkar/spelhelper/ImplicitMethods.html#sorted(java.util.List)"><B>sorted(List&lt;? extends T&gt;)</B></A> - 
190
+Static method in class net.abhinavsarkar.spelhelper.<A HREF="./net/abhinavsarkar/spelhelper/ImplicitMethods.html" title="class in net.abhinavsarkar.spelhelper">ImplicitMethods</A>
191
+<DD>Provides implicit method <code>sorted</code> on the <a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code> </a>class.
192
+<DT><A HREF="./net/abhinavsarkar/spelhelper/SpelHelper.html" title="class in net.abhinavsarkar.spelhelper"><B>SpelHelper</B></A> - Class in <A HREF="./net/abhinavsarkar/spelhelper/package-summary.html">net.abhinavsarkar.spelhelper</A><DD>SpelHelper provides additional functionalities to work with
193
+[Spring Expression Language (SpEL)][1].<DT><A HREF="./net/abhinavsarkar/spelhelper/SpelHelper.html#SpelHelper()"><B>SpelHelper()</B></A> - 
194
+Constructor for class net.abhinavsarkar.spelhelper.<A HREF="./net/abhinavsarkar/spelhelper/SpelHelper.html" title="class in net.abhinavsarkar.spelhelper">SpelHelper</A>
195
+<DD>Creates an instance of SpelHelper.
196
+</DL>
197
+<HR>
198
+<A NAME="_T_"><!-- --></A><H2>
199
+<B>T</B></H2>
200
+<DL>
201
+<DT><A HREF="./net/abhinavsarkar/spelhelper/ImplicitMethods.html#take(java.util.List, int)"><B>take(List&lt;T&gt;, int)</B></A> - 
202
+Static method in class net.abhinavsarkar.spelhelper.<A HREF="./net/abhinavsarkar/spelhelper/ImplicitMethods.html" title="class in net.abhinavsarkar.spelhelper">ImplicitMethods</A>
203
+<DD>Provides implicit method <code>take</code> on the <a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code> </a>class.
204
+</DL>
205
+<HR>
206
+<A HREF="#_D_">D</A> <A HREF="#_E_">E</A> <A HREF="#_G_">G</A> <A HREF="#_I_">I</A> <A HREF="#_L_">L</A> <A HREF="#_M_">M</A> <A HREF="#_N_">N</A> <A HREF="#_R_">R</A> <A HREF="#_S_">S</A> <A HREF="#_T_">T</A> 
207
+
208
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
209
+<A NAME="navbar_bottom"><!-- --></A>
210
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
211
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
212
+<TR>
213
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
214
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
215
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
216
+  <TR ALIGN="center" VALIGN="top">
217
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="./net/abhinavsarkar/spelhelper/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
218
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
219
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Use</FONT>&nbsp;</TD>
220
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="./net/abhinavsarkar/spelhelper/package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
221
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="./deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
222
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT>&nbsp;</TD>
223
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="./help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
224
+  </TR>
225
+</TABLE>
226
+</TD>
227
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
228
+Code hosted at <a target='_blank' href='http://github.com/abhin4v/spelhelper/'>github</a></EM>
229
+</TD>
230
+</TR>
231
+
232
+<TR>
233
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
234
+&nbsp;PREV&nbsp;
235
+&nbsp;NEXT</FONT></TD>
236
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
237
+  <A HREF="./index.html?index-all.html" target="_top"><B>FRAMES</B></A>  &nbsp;
238
+&nbsp;<A HREF="index-all.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
239
+&nbsp;<SCRIPT type="text/javascript">
240
+  <!--
241
+  if(window==top) {
242
+    document.writeln('<A HREF="./allclasses-noframe.html"><B>All Classes</B></A>');
243
+  }
244
+  //-->
245
+</SCRIPT>
246
+<NOSCRIPT>
247
+  <A HREF="./allclasses-noframe.html"><B>All Classes</B></A>
248
+</NOSCRIPT>
249
+
250
+
251
+</FONT></TD>
252
+</TR>
253
+</TABLE>
254
+<A NAME="skip-navbar_bottom"></A>
255
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
256
+
257
+<HR>
258
+Copyright &#169; 2010. All Rights Reserved.
259
+</BODY>
260
+</HTML>

+ 37
- 0
apidocs/index.html View File

@@ -0,0 +1,37 @@
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
2
+<!--NewPage-->
3
+<HTML>
4
+<HEAD>
5
+<!-- Generated by javadoc on Thu May 27 01:34:44 IST 2010-->
6
+<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
+<TITLE>
8
+SpelHelper 1.0 API
9
+</TITLE>
10
+<SCRIPT type="text/javascript">
11
+    targetPage = "" + window.location.search;
12
+    if (targetPage != "" && targetPage != "undefined")
13
+        targetPage = targetPage.substring(1);
14
+    if (targetPage.indexOf(":") != -1)
15
+        targetPage = "undefined";
16
+    function loadFrames() {
17
+        if (targetPage != "" && targetPage != "undefined")
18
+             top.classFrame.location = top.targetPage;
19
+    }
20
+</SCRIPT>
21
+<NOSCRIPT>
22
+</NOSCRIPT>
23
+</HEAD>
24
+<FRAMESET cols="20%,80%" title="" onLoad="top.loadFrames()">
25
+<FRAME src="allclasses-frame.html" name="packageFrame" title="All classes and interfaces (except non-static nested types)">
26
+<FRAME src="net/abhinavsarkar/spelhelper/package-summary.html" name="classFrame" title="Package, class and interface descriptions" scrolling="yes">
27
+<NOFRAMES>
28
+<H2>
29
+Frame Alert</H2>
30
+
31
+<P>
32
+This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client.
33
+<BR>
34
+Link to<A HREF="net/abhinavsarkar/spelhelper/package-summary.html">Non-frame version.</A>
35
+</NOFRAMES>
36
+</FRAMESET>
37
+</HTML>

+ 314
- 0
apidocs/net/abhinavsarkar/spelhelper/ExtensionFunctions.html View File

@@ -0,0 +1,314 @@
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+<!--NewPage-->
3
+<HTML>
4
+<HEAD>
5
+<!-- Generated by javadoc (build 1.6.0) on Thu May 27 01:34:43 IST 2010 -->
6
+<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
+<TITLE>
8
+ExtensionFunctions (SpelHelper 1.0 API)
9
+</TITLE>
10
+
11
+<META NAME="date" CONTENT="2010-05-27">
12
+
13
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../spring-javadoc.css" TITLE="Style">
14
+
15
+<SCRIPT type="text/javascript">
16
+function windowTitle()
17
+{
18
+    if (location.href.indexOf('is-external=true') == -1) {
19
+        parent.document.title="ExtensionFunctions (SpelHelper 1.0 API)";
20
+    }
21
+}
22
+</SCRIPT>
23
+<NOSCRIPT>
24
+</NOSCRIPT>
25
+
26
+</HEAD>
27
+
28
+<BODY BGCOLOR="white" onload="windowTitle();">
29
+<HR>
30
+
31
+
32
+<!-- ========= START OF TOP NAVBAR ======= -->
33
+<A NAME="navbar_top"><!-- --></A>
34
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
35
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
36
+<TR>
37
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
38
+<A NAME="navbar_top_firstrow"><!-- --></A>
39
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
40
+  <TR ALIGN="center" VALIGN="top">
41
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../net/abhinavsarkar/spelhelper/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ExtensionFunctions.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
44
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
45
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
46
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
47
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
48
+  </TR>
49
+</TABLE>
50
+</TD>
51
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
52
+</EM>
53
+</TD>
54
+</TR>
55
+
56
+<TR>
57
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58
+&nbsp;PREV CLASS&nbsp;
59
+&nbsp;<A HREF="../../../net/abhinavsarkar/spelhelper/ImplicitMethods.html" title="class in net.abhinavsarkar.spelhelper"><B>NEXT CLASS</B></A></FONT></TD>
60
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61
+  <A HREF="../../../index.html?net/abhinavsarkar/spelhelper/ExtensionFunctions.html" target="_top"><B>FRAMES</B></A>  &nbsp;
62
+&nbsp;<A HREF="ExtensionFunctions.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
63
+&nbsp;<SCRIPT type="text/javascript">
64
+  <!--
65
+  if(window==top) {
66
+    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
67
+  }
68
+  //-->
69
+</SCRIPT>
70
+<NOSCRIPT>
71
+  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
72
+</NOSCRIPT>
73
+
74
+
75
+</FONT></TD>
76
+</TR>
77
+<TR>
78
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
79
+  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
80
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
81
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
82
+</TR>
83
+</TABLE>
84
+<A NAME="skip-navbar_top"></A>
85
+<!-- ========= END OF TOP NAVBAR ========= -->
86
+
87
+<HR>
88
+<!-- ======== START OF CLASS DATA ======== -->
89
+<H2>
90
+<FONT SIZE="-1">
91
+net.abhinavsarkar.spelhelper</FONT>
92
+<BR>
93
+Class ExtensionFunctions</H2>
94
+<PRE>
95
+<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
96
+  <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>net.abhinavsarkar.spelhelper.ExtensionFunctions</B>
97
+</PRE>
98
+<HR>
99
+<DL>
100
+<DT><PRE>public final class <B>ExtensionFunctions</B><DT>extends <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL>
101
+</PRE>
102
+
103
+<P>
104
+<p>Provides some extension functions to create some basic collection types
105
+inline in SpEL expressions.
106
+These functions are automatically registered with <a href="../../../net/abhinavsarkar/spelhelper/SpelHelper.html" title="class in net.abhinavsarkar.spelhelper"><code>SpelHelper</code> </a>.</p>
107
+
108
+<p><strong>See Also:</strong>
109
+<a href="http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/expressions.html#expressions-ref-functions">Spring Docs on extension functions</a></p>
110
+<P>
111
+
112
+<P>
113
+<DL>
114
+<DT><B>Author:</B></DT>
115
+  <DD>Abhinav Sarkar <em>abhinav@abhinavsarkar.net</em></DD>
116
+</DL>
117
+<HR>
118
+
119
+<P>
120
+
121
+<!-- ========== METHOD SUMMARY =========== -->
122
+
123
+<A NAME="method_summary"><!-- --></A>
124
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
125
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
126
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
127
+<B>Method Summary</B></FONT></TH>
128
+</TR>
129
+<TR BGCOLOR="white" CLASS="TableRowColor">
130
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
131
+<CODE>static
132
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
133
+<TR ALIGN="right" VALIGN="">
134
+<TD NOWRAP><FONT SIZE="-1">
135
+<CODE>&lt;T&gt; <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;T&gt;</CODE></FONT></TD>
136
+</TR>
137
+</TABLE>
138
+</CODE></FONT></TD>
139
+<TD><CODE><B><A HREF="../../../net/abhinavsarkar/spelhelper/ExtensionFunctions.html#list(T...)">list</A></B>(T...&nbsp;args)</CODE>
140
+
141
+<BR>
142
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an unmodifiable <a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code> </a>of the arguments provided.</TD>
143
+</TR>
144
+<TR BGCOLOR="white" CLASS="TableRowColor">
145
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
146
+<CODE>static
147
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
148
+<TR ALIGN="right" VALIGN="">
149
+<TD NOWRAP><FONT SIZE="-1">
150
+<CODE>&lt;K,V&gt; <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;K,V&gt;</CODE></FONT></TD>
151
+</TR>
152
+</TABLE>
153
+</CODE></FONT></TD>
154
+<TD><CODE><B><A HREF="../../../net/abhinavsarkar/spelhelper/ExtensionFunctions.html#map(java.util.List, java.util.List)">map</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;? extends K&gt;&nbsp;keys,
155
+    <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;? extends V&gt;&nbsp;values)</CODE>
156
+
157
+<BR>
158
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an unmodifiable <a href="http://java.sun.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code> </a>using the <a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code> </a>of keys
159
+provided as the first argument and the <a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code> </a>of values provided
160
+as the second argument.</TD>
161
+</TR>
162
+<TR BGCOLOR="white" CLASS="TableRowColor">
163
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
164
+<CODE>static
165
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
166
+<TR ALIGN="right" VALIGN="">
167
+<TD NOWRAP><FONT SIZE="-1">
168
+<CODE>&lt;T&gt; <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A>&lt;T&gt;</CODE></FONT></TD>
169
+</TR>
170
+</TABLE>
171
+</CODE></FONT></TD>
172
+<TD><CODE><B><A HREF="../../../net/abhinavsarkar/spelhelper/ExtensionFunctions.html#set(T...)">set</A></B>(T...&nbsp;args)</CODE>
173
+
174
+<BR>
175
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an unmodifiable <a href="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util"><code>Set</code> </a>of the arguments provided.</TD>
176
+</TR>
177
+</TABLE>
178
+&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
179
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
180
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
181
+<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
182
+</TR>
183
+<TR BGCOLOR="white" CLASS="TableRowColor">
184
+<TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
185
+</TR>
186
+</TABLE>
187
+&nbsp;
188
+<P>
189
+
190
+<!-- ============ METHOD DETAIL ========== -->
191
+
192
+<A NAME="method_detail"><!-- --></A>
193
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
194
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
195
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
196
+<B>Method Detail</B></FONT></TH>
197
+</TR>
198
+</TABLE>
199
+
200
+<A NAME="list(java.lang.Object[])"><!-- --></A><A NAME="list(T...)"><!-- --></A><H3>
201
+list</H3>
202
+<PRE>
203
+public static &lt;T&gt; <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;T&gt; <B>list</B>(T...&nbsp;args)</PRE>
204
+<DL>
205
+<DD><p>Creates an unmodifiable <a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code> </a>of the arguments provided.</p>
206
+
207
+<p>Example use: <code>"#list('one', 'two', 'three')"</code></p>
208
+<P>
209
+<DD><DL>
210
+<DT><B>Type Parameters:</B><DD><CODE>T</CODE> - Type of the arguments provided.<DT><B>Parameters:</B><DD><CODE>args</CODE> - Arguments to create list of.
211
+<DT><B>Returns:</B><DD>An unmodifiable list of the arguments provided.</DL>
212
+</DD>
213
+</DL>
214
+<HR>
215
+
216
+<A NAME="set(java.lang.Object[])"><!-- --></A><A NAME="set(T...)"><!-- --></A><H3>
217
+set</H3>
218
+<PRE>
219
+public static &lt;T&gt; <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A>&lt;T&gt; <B>set</B>(T...&nbsp;args)</PRE>
220
+<DL>
221
+<DD><p>Creates an unmodifiable <a href="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util"><code>Set</code> </a>of the arguments provided.</p>
222
+
223
+<p>Example use: <code>"#set('one', 'two', 'three')"</code></p>
224
+<P>
225
+<DD><DL>
226
+<DT><B>Type Parameters:</B><DD><CODE>T</CODE> - Type of the arguments provided.<DT><B>Parameters:</B><DD><CODE>args</CODE> - Arguments to create set of.
227
+<DT><B>Returns:</B><DD>An unmodifiable set of the arguments provided.</DL>
228
+</DD>
229
+</DL>
230
+<HR>
231
+
232
+<A NAME="map(java.util.List, java.util.List)"><!-- --></A><H3>
233
+map</H3>
234
+<PRE>
235
+public static &lt;K,V&gt; <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A>&lt;K,V&gt; <B>map</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;? extends K&gt;&nbsp;keys,
236
+                                 <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;? extends V&gt;&nbsp;values)</PRE>
237
+<DL>
238
+<DD><p>Creates an unmodifiable <a href="http://java.sun.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code> </a>using the <a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code> </a>of keys
239
+provided as the first argument and the <a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code> </a>of values provided
240
+as the second argument.</p>
241
+
242
+<p>Example use: <code>"#map(#list('one', 'two', 'three'), #list(1, 2, 3))"</code></p>
243
+<P>
244
+<DD><DL>
245
+<DT><B>Type Parameters:</B><DD><CODE>K</CODE> - Type of the keys of the map.<DD><CODE>V</CODE> - Type of the values of map.<DT><B>Parameters:</B><DD><CODE>keys</CODE> - List of the keys.<DD><CODE>values</CODE> - List of the values.
246
+<DT><B>Returns:</B><DD>A unmodifiable map created from the key and value lists.
247
+<DT><B>Throws:</B>
248
+<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if the number of keys and the number of
249
+values is not equal.</DL>
250
+</DD>
251
+</DL>
252
+<!-- ========= END OF CLASS DATA ========= -->
253
+<HR>
254
+
255
+
256
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
257
+<A NAME="navbar_bottom"><!-- --></A>
258
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
259
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
260
+<TR>
261
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
262
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
263
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
264
+  <TR ALIGN="center" VALIGN="top">
265
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../net/abhinavsarkar/spelhelper/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
266
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
267
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ExtensionFunctions.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
268
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
269
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
270
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
271
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
272
+  </TR>
273
+</TABLE>
274
+</TD>
275
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
276
+Code hosted at <a target='_blank' href='http://github.com/abhin4v/spelhelper/'>github</a></EM>
277
+</TD>
278
+</TR>
279
+
280
+<TR>
281
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
282
+&nbsp;PREV CLASS&nbsp;
283
+&nbsp;<A HREF="../../../net/abhinavsarkar/spelhelper/ImplicitMethods.html" title="class in net.abhinavsarkar.spelhelper"><B>NEXT CLASS</B></A></FONT></TD>
284
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
285
+  <A HREF="../../../index.html?net/abhinavsarkar/spelhelper/ExtensionFunctions.html" target="_top"><B>FRAMES</B></A>  &nbsp;
286
+&nbsp;<A HREF="ExtensionFunctions.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
287
+&nbsp;<SCRIPT type="text/javascript">
288
+  <!--
289
+  if(window==top) {
290
+    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
291
+  }
292
+  //-->
293
+</SCRIPT>
294
+<NOSCRIPT>
295
+  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
296
+</NOSCRIPT>
297
+
298
+
299
+</FONT></TD>
300
+</TR>
301
+<TR>
302
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
303
+  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
304
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
305
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
306
+</TR>
307
+</TABLE>
308
+<A NAME="skip-navbar_bottom"></A>
309
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
310
+
311
+<HR>
312
+Copyright &#169; 2010. All Rights Reserved.
313
+</BODY>
314
+</HTML>

+ 421
- 0
apidocs/net/abhinavsarkar/spelhelper/ImplicitMethods.html View File

@@ -0,0 +1,421 @@
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+<!--NewPage-->
3
+<HTML>
4
+<HEAD>
5
+<!-- Generated by javadoc (build 1.6.0) on Thu May 27 01:34:44 IST 2010 -->
6
+<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
+<TITLE>
8
+ImplicitMethods (SpelHelper 1.0 API)
9
+</TITLE>
10
+
11
+<META NAME="date" CONTENT="2010-05-27">
12
+
13
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../spring-javadoc.css" TITLE="Style">
14
+
15
+<SCRIPT type="text/javascript">
16
+function windowTitle()
17
+{
18
+    if (location.href.indexOf('is-external=true') == -1) {
19
+        parent.document.title="ImplicitMethods (SpelHelper 1.0 API)";
20
+    }
21
+}
22
+</SCRIPT>
23
+<NOSCRIPT>
24
+</NOSCRIPT>
25
+
26
+</HEAD>
27
+
28
+<BODY BGCOLOR="white" onload="windowTitle();">
29
+<HR>
30
+
31
+
32
+<!-- ========= START OF TOP NAVBAR ======= -->
33
+<A NAME="navbar_top"><!-- --></A>
34
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
35
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
36
+<TR>
37
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
38
+<A NAME="navbar_top_firstrow"><!-- --></A>
39
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
40
+  <TR ALIGN="center" VALIGN="top">
41
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../net/abhinavsarkar/spelhelper/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ImplicitMethods.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
44
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
45
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
46
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
47
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
48
+  </TR>
49
+</TABLE>
50
+</TD>
51
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
52
+</EM>
53
+</TD>
54
+</TR>
55
+
56
+<TR>
57
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58
+&nbsp;<A HREF="../../../net/abhinavsarkar/spelhelper/ExtensionFunctions.html" title="class in net.abhinavsarkar.spelhelper"><B>PREV CLASS</B></A>&nbsp;
59
+&nbsp;<A HREF="../../../net/abhinavsarkar/spelhelper/SpelHelper.html" title="class in net.abhinavsarkar.spelhelper"><B>NEXT CLASS</B></A></FONT></TD>
60
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61
+  <A HREF="../../../index.html?net/abhinavsarkar/spelhelper/ImplicitMethods.html" target="_top"><B>FRAMES</B></A>  &nbsp;
62
+&nbsp;<A HREF="ImplicitMethods.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
63
+&nbsp;<SCRIPT type="text/javascript">
64
+  <!--
65
+  if(window==top) {
66
+    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
67
+  }
68
+  //-->
69
+</SCRIPT>
70
+<NOSCRIPT>
71
+  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
72
+</NOSCRIPT>
73
+
74
+
75
+</FONT></TD>
76
+</TR>
77
+<TR>
78
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
79
+  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
80
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
81
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
82
+</TR>
83
+</TABLE>
84
+<A NAME="skip-navbar_top"></A>
85
+<!-- ========= END OF TOP NAVBAR ========= -->
86
+
87
+<HR>
88
+<!-- ======== START OF CLASS DATA ======== -->
89
+<H2>
90
+<FONT SIZE="-1">
91
+net.abhinavsarkar.spelhelper</FONT>
92
+<BR>
93
+Class ImplicitMethods</H2>
94
+<PRE>
95
+<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
96
+  <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>net.abhinavsarkar.spelhelper.ImplicitMethods</B>
97
+</PRE>
98
+<HR>
99
+<DL>
100
+<DT><PRE>public final class <B>ImplicitMethods</B><DT>extends <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL>
101
+</PRE>
102
+
103
+<P>
104
+Provides some implicit methods which can be invoked on the instances of
105
+class of the first parameter of the method inside a SpEL expression.
106
+<P>
107
+
108
+<P>
109
+<DL>
110
+<DT><B>Author:</B></DT>
111
+  <DD>Abhinav Sarkar <em>abhinav@abhinavsarkar.net</em></DD>
112
+</DL>
113
+<HR>
114
+
115
+<P>
116
+
117
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
118
+
119
+<A NAME="constructor_summary"><!-- --></A>
120
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
121
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
122
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
123
+<B>Constructor Summary</B></FONT></TH>
124
+</TR>
125
+<TR BGCOLOR="white" CLASS="TableRowColor">
126
+<TD><CODE><B><A HREF="../../../net/abhinavsarkar/spelhelper/ImplicitMethods.html#ImplicitMethods()">ImplicitMethods</A></B>()</CODE>
127
+
128
+<BR>
129
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
130
+</TR>
131
+</TABLE>
132
+&nbsp;
133
+<!-- ========== METHOD SUMMARY =========== -->
134
+
135
+<A NAME="method_summary"><!-- --></A>
136
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
137
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
138
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
139
+<B>Method Summary</B></FONT></TH>
140
+</TR>
141
+<TR BGCOLOR="white" CLASS="TableRowColor">
142
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
143
+<CODE>static
144
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
145
+<TR ALIGN="right" VALIGN="">
146
+<TD NOWRAP><FONT SIZE="-1">
147
+<CODE>&lt;T&gt; <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A>&lt;T&gt;</CODE></FONT></TD>
148
+</TR>
149
+</TABLE>
150
+</CODE></FONT></TD>
151
+<TD><CODE><B><A HREF="../../../net/abhinavsarkar/spelhelper/ImplicitMethods.html#distinct(java.util.List)">distinct</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;? extends T&gt;&nbsp;list)</CODE>
152
+
153
+<BR>
154
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Provides implicit method <code>distinct</code> on the <a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code> </a>class.</TD>
155
+</TR>
156
+<TR BGCOLOR="white" CLASS="TableRowColor">
157
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
158
+<CODE>static
159
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
160
+<TR ALIGN="right" VALIGN="">
161
+<TD NOWRAP><FONT SIZE="-1">
162
+<CODE>&lt;T&gt; <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;T&gt;</CODE></FONT></TD>
163
+</TR>
164
+</TABLE>
165
+</CODE></FONT></TD>
166
+<TD><CODE><B><A HREF="../../../net/abhinavsarkar/spelhelper/ImplicitMethods.html#drop(java.util.List, int)">drop</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;T&gt;&nbsp;list,
167
+     int&nbsp;n)</CODE>
168
+
169
+<BR>
170
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Provides implicit method <code>drop</code> on the <a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code> </a>class.</TD>
171
+</TR>
172
+<TR BGCOLOR="white" CLASS="TableRowColor">
173
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
174
+<CODE>static
175
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
176
+<TR ALIGN="right" VALIGN="">
177
+<TD NOWRAP><FONT SIZE="-1">
178
+<CODE>&lt;T&gt; <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;T&gt;</CODE></FONT></TD>
179
+</TR>
180
+</TABLE>
181
+</CODE></FONT></TD>
182
+<TD><CODE><B><A HREF="../../../net/abhinavsarkar/spelhelper/ImplicitMethods.html#reversed(java.util.List)">reversed</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;? extends T&gt;&nbsp;list)</CODE>
183
+
184
+<BR>
185
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Provides implicit method <code>reversed</code> on the <a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code> </a>class.</TD>
186
+</TR>
187
+<TR BGCOLOR="white" CLASS="TableRowColor">
188
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
189
+<CODE>static
190
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
191
+<TR ALIGN="right" VALIGN="">
192
+<TD NOWRAP><FONT SIZE="-1">
193
+<CODE>&lt;T extends <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</A>&lt;? super T&gt;&gt; 
194
+<BR>
195
+<A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;T&gt;</CODE></FONT></TD>
196
+</TR>
197
+</TABLE>
198
+</CODE></FONT></TD>
199
+<TD><CODE><B><A HREF="../../../net/abhinavsarkar/spelhelper/ImplicitMethods.html#sorted(java.util.List)">sorted</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;? extends T&gt;&nbsp;list)</CODE>
200
+
201
+<BR>
202
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Provides implicit method <code>sorted</code> on the <a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code> </a>class.</TD>
203
+</TR>
204
+<TR BGCOLOR="white" CLASS="TableRowColor">
205
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
206
+<CODE>static
207
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
208
+<TR ALIGN="right" VALIGN="">
209
+<TD NOWRAP><FONT SIZE="-1">
210
+<CODE>&lt;T&gt; <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;T&gt;</CODE></FONT></TD>
211
+</TR>
212
+</TABLE>
213
+</CODE></FONT></TD>
214
+<TD><CODE><B><A HREF="../../../net/abhinavsarkar/spelhelper/ImplicitMethods.html#take(java.util.List, int)">take</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;T&gt;&nbsp;list,
215
+     int&nbsp;n)</CODE>
216
+
217
+<BR>
218
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Provides implicit method <code>take</code> on the <a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code> </a>class.</TD>
219
+</TR>
220
+</TABLE>
221
+&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
222
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
223
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
224
+<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
225
+</TR>
226
+<TR BGCOLOR="white" CLASS="TableRowColor">
227
+<TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
228
+</TR>
229
+</TABLE>
230
+&nbsp;
231
+<P>
232
+
233
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
234
+
235
+<A NAME="constructor_detail"><!-- --></A>
236
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
237
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
238
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
239
+<B>Constructor Detail</B></FONT></TH>
240
+</TR>
241
+</TABLE>
242
+
243
+<A NAME="ImplicitMethods()"><!-- --></A><H3>
244
+ImplicitMethods</H3>
245
+<PRE>
246
+public <B>ImplicitMethods</B>()</PRE>
247
+<DL>
248
+</DL>
249
+
250
+<!-- ============ METHOD DETAIL ========== -->
251
+
252
+<A NAME="method_detail"><!-- --></A>
253
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
254
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
255
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
256
+<B>Method Detail</B></FONT></TH>
257
+</TR>
258
+</TABLE>
259
+
260
+<A NAME="distinct(java.util.List)"><!-- --></A><H3>
261
+distinct</H3>
262
+<PRE>
263
+public static &lt;T&gt; <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A>&lt;T&gt; <B>distinct</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;? extends T&gt;&nbsp;list)</PRE>
264
+<DL>
265
+<DD><p>Provides implicit method <code>distinct</code> on the <a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code> </a>class.</p>
266
+
267
+<p>Example: <code>"#list('a','b','a').distinct()" //should return List('a','b')</code></p>
268
+
269
+<p>With implicit property support provided by <a href="../../../net/abhinavsarkar/spelhelper/SpelHelper.html" title="class in net.abhinavsarkar.spelhelper"><code>SpelHelper</code> </a>this can
270
+also be written as:</p>
271
+
272
+<p><code>"#list('a','b','a').distinct" //same output as earlier</code></p>
273
+<P>
274
+<DD><DL>
275
+<DT><B>Type Parameters:</B><DD><CODE>T</CODE> - Type of the list's elements.<DT><B>Parameters:</B><DD><CODE>list</CODE> - The list to call this method upon.
276
+<DT><B>Returns:</B><DD>An unmodifiable <a href="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util"><code>Set</code> </a>containing the distinct items of the list.</DL>
277
+</DD>
278
+</DL>
279
+<HR>
280
+
281
+<A NAME="sorted(java.util.List)"><!-- --></A><H3>
282
+sorted</H3>
283
+<PRE>
284
+public static &lt;T extends <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</A>&lt;? super T&gt;&gt; <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;T&gt; <B>sorted</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;? extends T&gt;&nbsp;list)</PRE>
285
+<DL>
286
+<DD><p>Provides implicit method <code>sorted</code> on the <a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code> </a>class.</p>
287
+
288
+<p>Example: <code>"#list('c','b','a').sorted()" //should return List('a','b','c')</code></p>
289
+
290
+<p>With implicit property support provided by <a href="../../../net/abhinavsarkar/spelhelper/SpelHelper.html" title="class in net.abhinavsarkar.spelhelper"><code>SpelHelper</code> </a>this can
291
+also be written as:</p>
292
+
293
+<p><code>"#list('c','b','a').sorted" //same output as earlier</code></p>
294
+<P>
295
+<DD><DL>
296
+<DT><B>Type Parameters:</B><DD><CODE>T</CODE> - Type of the list's elements.<DT><B>Parameters:</B><DD><CODE>list</CODE> - The list to call this method upon.
297
+<DT><B>Returns:</B><DD>An unmodifiable <a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code> </a>containing the sorted items
298
+of the list.<DT><B>See Also:</B><DD><A HREF="http://java.sun.com/javase/6/docs/api/java/util/Collections.html?is-external=true#sort(java.util.List)" title="class or interface in java.util"><CODE>Collections.sort(List)</CODE></A></DL>
299
+</DD>
300
+</DL>
301
+<HR>
302
+
303
+<A NAME="reversed(java.util.List)"><!-- --></A><H3>
304
+reversed</H3>
305
+<PRE>
306
+public static &lt;T&gt; <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;T&gt; <B>reversed</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;? extends T&gt;&nbsp;list)</PRE>
307
+<DL>
308
+<DD><p>Provides implicit method <code>reversed</code> on the <a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code> </a>class.</p>
309
+
310
+<p>Example: <code>"#list('c','b','a').reversed()" //should return List('a','b','c')</code></p>
311
+
312
+<p>With implicit property support provided by <a href="../../../net/abhinavsarkar/spelhelper/SpelHelper.html" title="class in net.abhinavsarkar.spelhelper"><code>SpelHelper</code> </a>this can
313
+also be written as:</p>
314
+
315
+<p><code>"#list('c','b','a').reversed" //same output as earlier</code></p>
316
+<P>
317
+<DD><DL>
318
+<DT><B>Type Parameters:</B><DD><CODE>T</CODE> - Type of the list's elements.<DT><B>Parameters:</B><DD><CODE>list</CODE> - The list to call this method upon.
319
+<DT><B>Returns:</B><DD>An unmodifiable <a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code> </a>containing the items of the
320
+list in reverse order.<DT><B>See Also:</B><DD><A HREF="http://java.sun.com/javase/6/docs/api/java/util/Collections.html?is-external=true#reverse(java.util.List)" title="class or interface in java.util"><CODE>Collections.reverse(List)</CODE></A></DL>
321
+</DD>
322
+</DL>
323
+<HR>
324
+
325
+<A NAME="take(java.util.List, int)"><!-- --></A><H3>
326
+take</H3>
327
+<PRE>
328
+public static &lt;T&gt; <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;T&gt; <B>take</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;T&gt;&nbsp;list,
329
+                               int&nbsp;n)</PRE>
330
+<DL>
331
+<DD><p>Provides implicit method <code>take</code> on the <a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code> </a>class.</p>
332
+
333
+<p>Example: <code>"#list('c','b','a').take(2)" //should return List('a','b')</code></p>
334
+<P>
335
+<DD><DL>
336
+<DT><B>Type Parameters:</B><DD><CODE>T</CODE> - Type of the list's elements.<DT><B>Parameters:</B><DD><CODE>list</CODE> - The list to call this method upon.<DD><CODE>n</CODE> - Number of items to <em>take</em> from the list.
337
+<DT><B>Returns:</B><DD>An unmodifiable <a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code> </a>containing the first <code>n</code> items
338
+of the list.</DL>
339
+</DD>
340
+</DL>
341
+<HR>
342
+
343
+<A NAME="drop(java.util.List, int)"><!-- --></A><H3>
344
+drop</H3>
345
+<PRE>
346
+public static &lt;T&gt; <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;T&gt; <B>drop</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;T&gt;&nbsp;list,
347
+                               int&nbsp;n)</PRE>
348
+<DL>
349
+<DD><p>Provides implicit method <code>drop</code> on the <a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code> </a>class.</p>
350
+
351
+<p>Example: <code>"#list('c','b','a').drop(2)" //should return List('a')</code></p>
352
+<P>
353
+<DD><DL>
354
+<DT><B>Type Parameters:</B><DD><CODE>T</CODE> - Type of the list's elements.<DT><B>Parameters:</B><DD><CODE>list</CODE> - The list to call this method upon.<DD><CODE>n</CODE> - Number of items to <em>drop</em> from the list.
355
+<DT><B>Returns:</B><DD>An unmodifiable <a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code> </a>containing the items after the
356
+first <code>n</code> items of the list.</DL>
357
+</DD>
358
+</DL>
359
+<!-- ========= END OF CLASS DATA ========= -->
360
+<HR>
361
+
362
+
363
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
364
+<A NAME="navbar_bottom"><!-- --></A>
365
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
366
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
367
+<TR>
368
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
369
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
370
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
371
+  <TR ALIGN="center" VALIGN="top">
372
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../net/abhinavsarkar/spelhelper/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
373
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
374
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ImplicitMethods.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
375
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
376
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
377
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
378
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
379
+  </TR>
380
+</TABLE>
381
+</TD>
382
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
383
+Code hosted at <a target='_blank' href='http://github.com/abhin4v/spelhelper/'>github</a></EM>
384
+</TD>
385
+</TR>
386
+
387
+<TR>
388
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
389
+&nbsp;<A HREF="../../../net/abhinavsarkar/spelhelper/ExtensionFunctions.html" title="class in net.abhinavsarkar.spelhelper"><B>PREV CLASS</B></A>&nbsp;
390
+&nbsp;<A HREF="../../../net/abhinavsarkar/spelhelper/SpelHelper.html" title="class in net.abhinavsarkar.spelhelper"><B>NEXT CLASS</B></A></FONT></TD>
391
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
392
+  <A HREF="../../../index.html?net/abhinavsarkar/spelhelper/ImplicitMethods.html" target="_top"><B>FRAMES</B></A>  &nbsp;
393
+&nbsp;<A HREF="ImplicitMethods.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
394
+&nbsp;<SCRIPT type="text/javascript">
395
+  <!--
396
+  if(window==top) {
397
+    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
398
+  }
399
+  //-->
400
+</SCRIPT>
401
+<NOSCRIPT>
402
+  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
403
+</NOSCRIPT>
404
+
405
+
406
+</FONT></TD>
407
+</TR>
408
+<TR>
409
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
410
+  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
411
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
412
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
413
+</TR>
414
+</TABLE>
415
+<A NAME="skip-navbar_bottom"></A>
416
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
417
+
418
+<HR>
419
+Copyright &#169; 2010. All Rights Reserved.
420
+</BODY>
421
+</HTML>

+ 618
- 0
apidocs/net/abhinavsarkar/spelhelper/SpelHelper.html View File

@@ -0,0 +1,618 @@
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+<!--NewPage-->
3
+<HTML>
4
+<HEAD>
5
+<!-- Generated by javadoc (build 1.6.0) on Thu May 27 01:34:44 IST 2010 -->
6
+<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
+<TITLE>
8
+SpelHelper (SpelHelper 1.0 API)
9
+</TITLE>
10
+
11
+<META NAME="date" CONTENT="2010-05-27">
12
+
13
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../spring-javadoc.css" TITLE="Style">
14
+
15
+<SCRIPT type="text/javascript">
16
+function windowTitle()
17
+{
18
+    if (location.href.indexOf('is-external=true') == -1) {
19
+        parent.document.title="SpelHelper (SpelHelper 1.0 API)";
20
+    }
21
+}
22
+</SCRIPT>
23
+<NOSCRIPT>
24
+</NOSCRIPT>
25
+
26
+</HEAD>
27
+
28
+<BODY BGCOLOR="white" onload="windowTitle();">
29
+<HR>
30
+
31
+
32
+<!-- ========= START OF TOP NAVBAR ======= -->
33
+<A NAME="navbar_top"><!-- --></A>
34
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
35
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
36
+<TR>
37
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
38
+<A NAME="navbar_top_firstrow"><!-- --></A>
39
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
40
+  <TR ALIGN="center" VALIGN="top">
41
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../net/abhinavsarkar/spelhelper/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/SpelHelper.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
44
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
45
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
46
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
47
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
48
+  </TR>
49
+</TABLE>
50
+</TD>
51
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
52
+</EM>
53
+</TD>
54
+</TR>
55
+
56
+<TR>
57
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58
+&nbsp;<A HREF="../../../net/abhinavsarkar/spelhelper/ImplicitMethods.html" title="class in net.abhinavsarkar.spelhelper"><B>PREV CLASS</B></A>&nbsp;
59
+&nbsp;NEXT CLASS</FONT></TD>
60
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61
+  <A HREF="../../../index.html?net/abhinavsarkar/spelhelper/SpelHelper.html" target="_top"><B>FRAMES</B></A>  &nbsp;
62
+&nbsp;<A HREF="SpelHelper.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
63
+&nbsp;<SCRIPT type="text/javascript">
64
+  <!--
65
+  if(window==top) {
66
+    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
67
+  }
68
+  //-->
69
+</SCRIPT>
70
+<NOSCRIPT>
71
+  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
72
+</NOSCRIPT>
73
+
74
+
75
+</FONT></TD>
76
+</TR>
77
+<TR>
78
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
79
+  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
80
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
81
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
82
+</TR>
83
+</TABLE>
84
+<A NAME="skip-navbar_top"></A>
85
+<!-- ========= END OF TOP NAVBAR ========= -->
86
+
87
+<HR>
88
+<!-- ======== START OF CLASS DATA ======== -->
89
+<H2>
90
+<FONT SIZE="-1">
91
+net.abhinavsarkar.spelhelper</FONT>
92
+<BR>
93
+Class SpelHelper</H2>
94
+<PRE>
95
+<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
96
+  <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>net.abhinavsarkar.spelhelper.SpelHelper</B>
97
+</PRE>
98
+<HR>
99
+<DL>
100
+<DT><PRE>public final class <B>SpelHelper</B><DT>extends <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL>
101
+</PRE>
102
+
103
+<P>
104
+<p>SpelHelper provides additional functionalities to work with
105
+<a href="http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/expressions.html">Spring Expression Language (SpEL)</a>.</p>
106
+
107
+<p>The addition functionalities provided are:</p>
108
+
109
+<ol>
110
+<li>Implicit methods</li>
111
+<li>Implicit properties</li>
112
+<li>Simplified extension functions</li>
113
+<li>Simplified constructors</li>
114
+</ol>
115
+
116
+<p><strong>Implicit Methods</strong></p>
117
+
118
+<p>Implicit methods allow one to registers methods with SpelHelper and attach
119
+them to particular classes. After that, when that method is called on an
120
+object of that particular class inside a SpEL expression, SpelHelper
121
+redirects the method call to the registered method.</p>
122
+
123
+<p>Example: <a href="../../../net/abhinavsarkar/spelhelper/ImplicitMethods.html#sorted(java.util.List)"><code>ImplicitMethods.sorted(List)</code> </a>method is automatically
124
+registered by SpelHelper. The class that the method should be invoked for
125
+is the type of the first parameter of the method. In this case, the class is
126
+<a href="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code> </a>.</p>
127
+
128
+<p>So when an expression like <code>"#list(1,4,2).sorted()"</code> is evaluated, the
129
+<a href="../../../net/abhinavsarkar/spelhelper/ImplicitMethods.html#sorted(java.util.List)"><code>ImplicitMethods.sorted(List)</code> </a>method is invoked with the list as its
130
+first parameter and its return value is used in further evaluation of the
131
+expression.</p>
132
+
133
+<p>See <a href="../../../net/abhinavsarkar/spelhelper/SpelHelper.html#registerImplicitMethodsFromClass(java.lang.Class)"><code>registerImplicitMethodsFromClass(Class)</code> </a>.</p>
134
+
135
+<p><strong>Implicit Properties</strong></p>
136
+
137
+<p>Implicit properties allow one to treat no argument methods of an object
138
+as properties of the object. SpelHelper intercepts the property resolution
139
+of SpEL and if the property name is same as some no-arg method of the target
140
+object then it invokes the method on the object and provides its return value
141
+as the property value for further evaluation of the expression.</p>
142
+
143
+<p>Example: Using implicit properties, the example of implicit methods can be
144
+written as: <code>"#list(1,4,2).sorted"</code> - dropping the parens - and it will return
145
+the same value as the last example.</p>
146
+
147
+<p>Implicit property resolution considers both the actual methods of the object
148
+and the implicit methods registered on the object's class.</p>
149
+
150
+<p><strong>Simplified extension functions</strong></p>
151
+
152
+<p>SpEL <a href="http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/expressions.html#expressions-ref-functions">allows</a> to register extension function on the context by providing a
153
+name and a <a href="http://java.sun.com/javase/6/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect"><code>Method</code> </a>object. SpelHelper simplifies this by taking a class
154
+and registering all the <code>public static</code> methods of the class which do not
155
+have a <code>void</code> return type. The methods are registered by their simple name.</p>
156
+
157
+<p>Example: All the methods of <a href="../../../net/abhinavsarkar/spelhelper/ExtensionFunctions.html" title="class in net.abhinavsarkar.spelhelper"><code>ExtensionFunctions</code> </a>class are automatically
158
+registered by SpelHelper. Hence the method <a href="../../../net/abhinavsarkar/spelhelper/ExtensionFunctions.html#list(T...)"><code>ExtensionFunctions.list(Object...)</code> </a>
159
+can be called from inside a SpEL expression using the function call syntax:
160
+<code>"#list(1,2,3)</code>".</p>
161
+
162
+<p>See <a href="../../../net/abhinavsarkar/spelhelper/SpelHelper.html#registerFunctionsFromClass(java.lang.Class)"><code>registerFunctionsFromClass(Class)</code> </a>.</p>
163
+
164
+<p><strong>Simplified constructors</strong></p>
165
+
166
+<p>SpEL <a href="http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/expressions.html#d0e11927">allows</a> calling constructors from inside a SpEL expression using the
167
+<code>new</code> operator. But they have to be called with their full name like:
168
+<code>"new org.example.Foo('bar')"</code>. SpelHelper simplifies this by taking a class
169
+and registering all its public constructors to the SpEL context by their
170
+simple name.</p>
171
+
172
+<p>Example: After registering the <code>org.example.Foo</code> class with SpelHelper, its
173
+constructor can be called from inside a SpEL expression by: <code>"new Foo('bar')"</code>.</p>
174
+
175
+<p>See <a href="../../../net/abhinavsarkar/spelhelper/SpelHelper.html#registerConstructorsFromClass(java.lang.Class)"><code>registerConstructorsFromClass(Class)</code> </a>.</p>
176
+
177
+<p>In addition to all the above functionalities, SpelHelper automatically registers
178
+some extension functions and implicit methods which are always available in
179
+the SpEL expressions evaluated through SpelHelper. See <a href="../../../net/abhinavsarkar/spelhelper/ExtensionFunctions.html" title="class in net.abhinavsarkar.spelhelper"><code>ExtensionFunctions</code> </a>
180
+and <a href="../../../net/abhinavsarkar/spelhelper/ImplicitMethods.html" title="class in net.abhinavsarkar.spelhelper"><code>ImplicitMethods</code> </a>for further details.</p>
181
+<P>
182
+
183
+<P>
184
+<DL>
185
+<DT><B>Author:</B></DT>
186
+  <DD>Abhinav Sarkar <em>abhinav@abhinavsarkar.net</em></DD>
187
+</DL>
188
+<HR>
189
+
190
+<P>
191
+
192
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
193
+
194
+<A NAME="constructor_summary"><!-- --></A>
195
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
196
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
197
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
198
+<B>Constructor Summary</B></FONT></TH>
199
+</TR>
200
+<TR BGCOLOR="white" CLASS="TableRowColor">
201
+<TD><CODE><B><A HREF="../../../net/abhinavsarkar/spelhelper/SpelHelper.html#SpelHelper()">SpelHelper</A></B>()</CODE>
202
+
203
+<BR>
204
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an instance of SpelHelper.</TD>
205
+</TR>
206
+</TABLE>
207
+&nbsp;
208
+<!-- ========== METHOD SUMMARY =========== -->
209
+
210
+<A NAME="method_summary"><!-- --></A>
211
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
212
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
213
+<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
214
+<B>Method Summary</B></FONT></TH>
215
+</TR>
216
+<TR BGCOLOR="white" CLASS="TableRowColor">
217
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
218
+<CODE>
219
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
220
+<TR ALIGN="right" VALIGN="">
221
+<TD NOWRAP><FONT SIZE="-1">
222
+<CODE>&lt;T&gt; T</CODE></FONT></TD>
223
+</TR>
224
+</TABLE>
225
+</CODE></FONT></TD>
226
+<TD><CODE><B><A HREF="../../../net/abhinavsarkar/spelhelper/SpelHelper.html#evalExpression(java.lang.String, org.springframework.expression.EvaluationContext, java.lang.Class)">evalExpression</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;expressionString,
227
+               <A HREF="http://static.springsource.org/spring/docs/3.0.x/javadoc-api/org/springframework/expression/EvaluationContext.html?is-external=true" title="class or interface in org.springframework.expression">EvaluationContext</A>&nbsp;evaluationContext,
228
+               <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&lt;T&gt;&nbsp;desiredType)</CODE>
229
+
230
+<BR>
231
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Evaluates a SpEL expression <code>expressionString</code> in the provided
232
+context <code>evaluationContext</code> and gives back a result of type
233
+<code>desiredType</code>.</TD>
234
+</TR>
235
+<TR BGCOLOR="white" CLASS="TableRowColor">
236
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
237
+<CODE>
238
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
239
+<TR ALIGN="right" VALIGN="">
240
+<TD NOWRAP><FONT SIZE="-1">
241
+<CODE>&lt;T&gt; T</CODE></FONT></TD>
242
+</TR>
243
+</TABLE>
244
+</CODE></FONT></TD>
245
+<TD><CODE><B><A HREF="../../../net/abhinavsarkar/spelhelper/SpelHelper.html#evalExpression(java.lang.String, java.lang.Object, java.lang.Class)">evalExpression</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;expressionString,
246
+               <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;rootElement,
247
+               <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&lt;T&gt;&nbsp;desiredType)</CODE>
248
+
249
+<BR>
250
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Evaluates a SpEL expression <code>expressionString</code> in the context
251
+of root element <code>rootElement</code> and gives back a result of type
252
+<code>desiredType</code>.</TD>
253
+</TR>
254
+<TR BGCOLOR="white" CLASS="TableRowColor">
255
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
256
+<CODE>
257
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
258
+<TR ALIGN="right" VALIGN="">
259
+<TD NOWRAP><FONT SIZE="-1">
260
+<CODE>&lt;T&gt; T</CODE></FONT></TD>
261
+</TR>
262
+</TABLE>
263
+</CODE></FONT></TD>
264
+<TD><CODE><B><A HREF="../../../net/abhinavsarkar/spelhelper/SpelHelper.html#evalExpressions(java.lang.String[], org.springframework.expression.EvaluationContext, java.lang.Class)">evalExpressions</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]&nbsp;expressionStrings,
265
+                <A HREF="http://static.springsource.org/spring/docs/3.0.x/javadoc-api/org/springframework/expression/EvaluationContext.html?is-external=true" title="class or interface in org.springframework.expression">EvaluationContext</A>&nbsp;evaluationContext,
266
+                <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&lt;T&gt;&nbsp;desiredType)</CODE>
267
+
268
+<BR>
269
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Evaluates multiple SpEL expressions and returns the result of the last
270
+expression.</TD>
271
+</TR>
272
+<TR BGCOLOR="white" CLASS="TableRowColor">
273
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
274
+<CODE>
275
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
276
+<TR ALIGN="right" VALIGN="">
277
+<TD NOWRAP><FONT SIZE="-1">
278
+<CODE>&lt;T&gt; T</CODE></FONT></TD>
279
+</TR>
280
+</TABLE>
281
+</CODE></FONT></TD>
282
+<TD><CODE><B><A HREF="../../../net/abhinavsarkar/spelhelper/SpelHelper.html#evalExpressions(java.lang.String[], java.lang.Object, java.lang.Class)">evalExpressions</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]&nbsp;expressionStrings,
283
+                <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;rootElement,
284
+                <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&lt;T&gt;&nbsp;desiredType)</CODE>
285
+
286
+<BR>
287
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Evaluates multiple SpEL expressions and returns the result of the last
288
+expression.</TD>
289
+</TR>
290
+<TR BGCOLOR="white" CLASS="TableRowColor">
291
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
292
+<CODE>static&nbsp;<A HREF="http://static.springsource.org/spring/docs/3.0.x/javadoc-api/org/springframework/expression/EvaluationContext.html?is-external=true" title="class or interface in org.springframework.expression">EvaluationContext</A></CODE></FONT></TD>
293
+<TD><CODE><B><A HREF="../../../net/abhinavsarkar/spelhelper/SpelHelper.html#getCurrentContext()">getCurrentContext</A></B>()</CODE>
294
+
295
+<BR>
296
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the current evaluation context.</TD>
297
+</TR>
298
+<TR BGCOLOR="white" CLASS="TableRowColor">
299
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
300
+<CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</A>&lt;?&gt;</CODE></FONT></TD>
301
+<TD><CODE><B><A HREF="../../../net/abhinavsarkar/spelhelper/SpelHelper.html#lookupImplicitConstructor(java.lang.String)">lookupImplicitConstructor</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;lookup)</CODE>
302
+
303
+<BR>
304
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Looks up an implicit constructor registered with this instance.</TD>
305
+</TR>
306
+<TR BGCOLOR="white" CLASS="TableRowColor">
307
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
308
+<CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</A></CODE></FONT></TD>
309
+<TD><CODE><B><A HREF="../../../net/abhinavsarkar/spelhelper/SpelHelper.html#lookupImplicitMethod(java.lang.String)">lookupImplicitMethod</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;lookup)</CODE>
310
+
311
+<BR>
312
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Looks up an implicit method registered with this instance.</TD>
313
+</TR>
314
+<TR BGCOLOR="white" CLASS="TableRowColor">
315
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
316
+<CODE>&nbsp;<A HREF="../../../net/abhinavsarkar/spelhelper/SpelHelper.html" title="class in net.abhinavsarkar.spelhelper">SpelHelper</A></CODE></FONT></TD>
317
+<TD><CODE><B><A HREF="../../../net/abhinavsarkar/spelhelper/SpelHelper.html#registerConstructorsFromClass(java.lang.Class)">registerConstructorsFromClass</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&lt;?&gt;&nbsp;clazz)</CODE>
318
+
319
+<BR>
320
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Registers the public constructors of the class <code>clazz</code> so that they
321
+can be called by their simple name from SpEL expressions.</TD>
322
+</TR>
323
+<TR BGCOLOR="white" CLASS="TableRowColor">
324
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
325
+<CODE>&nbsp;<A HREF="../../../net/abhinavsarkar/spelhelper/SpelHelper.html" title="class in net.abhinavsarkar.spelhelper">SpelHelper</A></CODE></FONT></TD>
326
+<TD><CODE><B><A HREF="../../../net/abhinavsarkar/spelhelper/SpelHelper.html#registerFunctionsFromClass(java.lang.Class)">registerFunctionsFromClass</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&lt;?&gt;&nbsp;clazz)</CODE>
327
+
328
+<BR>
329
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Registers the public static methods in the class <code>clazz</code> as functions
330
+which can be called from SpEL expressions.</TD>
331
+</TR>
332
+<TR BGCOLOR="white" CLASS="TableRowColor">
333
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
334
+<CODE>&nbsp;<A HREF="../../../net/abhinavsarkar/spelhelper/SpelHelper.html" title="class in net.abhinavsarkar.spelhelper">SpelHelper</A></CODE></FONT></TD>
335
+<TD><CODE><B><A HREF="../../../net/abhinavsarkar/spelhelper/SpelHelper.html#registerImplicitMethodsFromClass(java.lang.Class)">registerImplicitMethodsFromClass</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&lt;?&gt;&nbsp;clazz)</CODE>
336
+
337
+<BR>
338
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Registers the public static methods in the class <code>clazz</code> as implicit
339
+methods for the class of the first parameter of the methods.</TD>
340
+</TR>
341
+</TABLE>
342
+&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
343
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
344
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
345
+<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
346
+</TR>
347
+<TR BGCOLOR="white" CLASS="TableRowColor">
348
+<TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
349
+</TR>
350
+</TABLE>
351
+&nbsp;
352
+<P>
353
+
354
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
355
+
356
+<A NAME="constructor_detail"><!-- --></A>
357
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
358
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
359
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
360
+<B>Constructor Detail</B></FONT></TH>
361
+</TR>
362
+</TABLE>
363
+
364
+<A NAME="SpelHelper()"><!-- --></A><H3>
365
+SpelHelper</H3>
366
+<PRE>
367
+public <B>SpelHelper</B>()</PRE>
368
+<DL>
369
+<DD>Creates an instance of SpelHelper.
370
+<P>
371
+</DL>
372
+
373
+<!-- ============ METHOD DETAIL ========== -->
374
+
375
+<A NAME="method_detail"><!-- --></A>
376
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
377
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
378
+<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
379
+<B>Method Detail</B></FONT></TH>
380
+</TR>
381
+</TABLE>
382
+
383
+<A NAME="registerImplicitMethodsFromClass(java.lang.Class)"><!-- --></A><H3>
384
+registerImplicitMethodsFromClass</H3>
385
+<PRE>
386
+public <A HREF="../../../net/abhinavsarkar/spelhelper/SpelHelper.html" title="class in net.abhinavsarkar.spelhelper">SpelHelper</A> <B>registerImplicitMethodsFromClass</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&lt;?&gt;&nbsp;clazz)</PRE>
387
+<DL>
388
+<DD><p>Registers the public static methods in the class <code>clazz</code> as implicit
389
+methods for the class of the first parameter of the methods.</p>
390
+
391
+<p>Only registers the public static methods with non void return type and at
392
+least one argument.</p>
393
+<P>
394
+<DD><DL>
395
+<DT><B>Parameters:</B><DD><CODE>clazz</CODE> - The class to register the methods from.
396
+<DT><B>Returns:</B><DD>The current instance of SpelHelper. This is for chaining
397
+the methods calls.<DT><B>See Also:</B><DD><A HREF="../../../net/abhinavsarkar/spelhelper/ImplicitMethods.html" title="class in net.abhinavsarkar.spelhelper"><CODE>ImplicitMethods</CODE></A></DL>
398
+</DD>
399
+</DL>
400
+<HR>
401
+
402
+<A NAME="registerFunctionsFromClass(java.lang.Class)"><!-- --></A><H3>
403
+registerFunctionsFromClass</H3>
404
+<PRE>
405
+public <A HREF="../../../net/abhinavsarkar/spelhelper/SpelHelper.html" title="class in net.abhinavsarkar.spelhelper">SpelHelper</A> <B>registerFunctionsFromClass</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&lt;?&gt;&nbsp;clazz)</PRE>
406
+<DL>
407
+<DD><p>Registers the public static methods in the class <code>clazz</code> as functions
408
+which can be called from SpEL expressions.
409
+The functions are registered with the simple name of the methods.</p>
410
+
411
+<p>Only registers the public static methods with non void return type.</p>
412
+<P>
413
+<DD><DL>
414
+<DT><B>Parameters:</B><DD><CODE>clazz</CODE> - The class to register the functions from.
415
+<DT><B>Returns:</B><DD>The current instance of SpelHelper. This is for chaining
416
+the methods calls.<DT><B>See Also:</B><DD><A HREF="../../../net/abhinavsarkar/spelhelper/ExtensionFunctions.html" title="class in net.abhinavsarkar.spelhelper"><CODE>ExtensionFunctions</CODE></A></DL>
417
+</DD>
418
+</DL>
419
+<HR>
420
+
421
+<A NAME="registerConstructorsFromClass(java.lang.Class)"><!-- --></A><H3>
422
+registerConstructorsFromClass</H3>
423
+<PRE>
424
+public <A HREF="../../../net/abhinavsarkar/spelhelper/SpelHelper.html" title="class in net.abhinavsarkar.spelhelper">SpelHelper</A> <B>registerConstructorsFromClass</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&lt;?&gt;&nbsp;clazz)</PRE>
425
+<DL>
426
+<DD>Registers the public constructors of the class <code>clazz</code> so that they
427
+can be called by their simple name from SpEL expressions.
428
+<P>
429
+<DD><DL>
430
+<DT><B>Parameters:</B><DD><CODE>clazz</CODE> - The class to register the constructors from.
431
+<DT><B>Returns:</B><DD>The current instance of SpelHelper. This is for chaining
432
+the methods calls.</DL>
433
+</DD>
434
+</DL>
435
+<HR>
436
+
437
+<A NAME="evalExpression(java.lang.String, java.lang.Object, java.lang.Class)"><!-- --></A><H3>
438
+evalExpression</H3>
439
+<PRE>
440
+public &lt;T&gt; T <B>evalExpression</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;expressionString,
441
+                            <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;rootElement,
442
+                            <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&lt;T&gt;&nbsp;desiredType)</PRE>
443
+<DL>
444
+<DD>Evaluates a SpEL expression <code>expressionString</code> in the context
445
+of root element <code>rootElement</code> and gives back a result of type
446
+<code>desiredType</code>.
447
+<P>
448
+<DD><DL>
449
+<DT><B>Type Parameters:</B><DD><CODE>T</CODE> - The type of the result desired.<DT><B>Parameters:</B><DD><CODE>expressionString</CODE> - The SpEL expression to evaluate.<DD><CODE>rootElement</CODE> - The root element in context of which the expression
450
+is to be evaluated.<DD><CODE>desiredType</CODE> - The class of the result desired.
451
+<DT><B>Returns:</B><DD>The result of the evaluation of the expression.<DT><B>See Also:</B><DD><A HREF="http://static.springsource.org/spring/docs/3.0.x/javadoc-api/org/springframework/expression/ExpressionParser.html?is-external=true#parseExpression(java.lang.String)" title="class or interface in org.springframework.expression"><CODE>ExpressionParser.parseExpression(String)</CODE></A>, 
452
+<A HREF="http://static.springsource.org/spring/docs/3.0.x/javadoc-api/org/springframework/expression/Expression.html?is-external=true#getValue(org.springframework.expression.EvaluationContext, java.lang.Class)" title="class or interface in org.springframework.expression"><CODE>Expression.getValue(EvaluationContext, Class)</CODE></A></DL>
453
+</DD>
454
+</DL>
455
+<HR>
456
+
457
+<A NAME="evalExpression(java.lang.String, org.springframework.expression.EvaluationContext, java.lang.Class)"><!-- --></A><H3>
458
+evalExpression</H3>
459
+<PRE>
460
+public &lt;T&gt; T <B>evalExpression</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;expressionString,
461
+                            <A HREF="http://static.springsource.org/spring/docs/3.0.x/javadoc-api/org/springframework/expression/EvaluationContext.html?is-external=true" title="class or interface in org.springframework.expression">EvaluationContext</A>&nbsp;evaluationContext,
462
+                            <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&lt;T&gt;&nbsp;desiredType)</PRE>
463
+<DL>
464
+<DD>Evaluates a SpEL expression <code>expressionString</code> in the provided
465
+context <code>evaluationContext</code> and gives back a result of type
466
+<code>desiredType</code>.
467
+<P>
468
+<DD><DL>
469
+<DT><B>Type Parameters:</B><DD><CODE>T</CODE> - The type of the result desired.<DT><B>Parameters:</B><DD><CODE>expressionString</CODE> - The SpEL expression to evaluate.<DD><CODE>evaluationContext</CODE> - The context in which the expression is to be evaluated.<DD><CODE>desiredType</CODE> - The class of the result desired.
470
+<DT><B>Returns:</B><DD>The result of the evaluation of the expression.<DT><B>See Also:</B><DD><A HREF="http://static.springsource.org/spring/docs/3.0.x/javadoc-api/org/springframework/expression/ExpressionParser.html?is-external=true#parseExpression(java.lang.String)" title="class or interface in org.springframework.expression"><CODE>ExpressionParser.parseExpression(String)</CODE></A>, 
471
+<A HREF="http://static.springsource.org/spring/docs/3.0.x/javadoc-api/org/springframework/expression/Expression.html?is-external=true#getValue(org.springframework.expression.EvaluationContext, java.lang.Class)" title="class or interface in org.springframework.expression"><CODE>Expression.getValue(EvaluationContext, Class)</CODE></A></DL>
472
+</DD>
473
+</DL>
474
+<HR>
475
+
476
+<A NAME="evalExpressions(java.lang.String[], java.lang.Object, java.lang.Class)"><!-- --></A><H3>
477
+evalExpressions</H3>
478
+<PRE>
479
+public &lt;T&gt; T <B>evalExpressions</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]&nbsp;expressionStrings,
480
+                             <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;rootElement,
481
+                             <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&lt;T&gt;&nbsp;desiredType)</PRE>
482
+<DL>
483
+<DD>Evaluates multiple SpEL expressions and returns the result of the last
484
+expression.
485
+<P>
486
+<DD><DL>
487
+<DT><B>Type Parameters:</B><DD><CODE>T</CODE> - The type of the result desired.<DT><B>Parameters:</B><DD><CODE>expressionStrings</CODE> - The SpEL expressions to evaluate.<DD><CODE>rootElement</CODE> - The root element in context of which the expressions
488
+are to be evaluated.<DD><CODE>desiredType</CODE> - The class of the result desired.
489
+<DT><B>Returns:</B><DD>The result of the evaluation of the last expression.<DT><B>See Also:</B><DD><A HREF="../../../net/abhinavsarkar/spelhelper/SpelHelper.html#evalExpression(java.lang.String, org.springframework.expression.EvaluationContext, java.lang.Class)"><CODE>evalExpression(String, EvaluationContext, Class)</CODE></A>, 
490
+<A HREF="../../../net/abhinavsarkar/spelhelper/SpelHelper.html#evalExpression(java.lang.String, java.lang.Object, java.lang.Class)"><CODE>evalExpression(String, Object, Class)</CODE></A></DL>
491
+</DD>
492
+</DL>
493
+<HR>
494
+
495
+<A NAME="evalExpressions(java.lang.String[], org.springframework.expression.EvaluationContext, java.lang.Class)"><!-- --></A><H3>
496
+evalExpressions</H3>
497
+<PRE>
498
+public &lt;T&gt; T <B>evalExpressions</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]&nbsp;expressionStrings,
499
+                             <A HREF="http://static.springsource.org/spring/docs/3.0.x/javadoc-api/org/springframework/expression/EvaluationContext.html?is-external=true" title="class or interface in org.springframework.expression">EvaluationContext</A>&nbsp;evaluationContext,
500
+                             <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&lt;T&gt;&nbsp;desiredType)</PRE>
501
+<DL>
502
+<DD>Evaluates multiple SpEL expressions and returns the result of the last
503
+expression.
504
+<P>
505
+<DD><DL>
506
+<DT><B>Type Parameters:</B><DD><CODE>T</CODE> - The type of the result desired.<DT><B>Parameters:</B><DD><CODE>expressionStrings</CODE> - The SpEL expressions to evaluate.<DD><CODE>evaluationContext</CODE> - The context in which the expression is to be evaluated.<DD><CODE>desiredType</CODE> - The class of the result desired.
507
+<DT><B>Returns:</B><DD>The result of the evaluation of the last expression.<DT><B>See Also:</B><DD><A HREF="../../../net/abhinavsarkar/spelhelper/SpelHelper.html#evalExpression(java.lang.String, org.springframework.expression.EvaluationContext, java.lang.Class)"><CODE>evalExpression(String, EvaluationContext, Class)</CODE></A>, 
508
+<A HREF="../../../net/abhinavsarkar/spelhelper/SpelHelper.html#evalExpression(java.lang.String, java.lang.Object, java.lang.Class)"><CODE>evalExpression(String, Object, Class)</CODE></A></DL>
509
+</DD>
510
+</DL>
511
+<HR>
512
+
513
+<A NAME="lookupImplicitMethod(java.lang.String)"><!-- --></A><H3>
514
+lookupImplicitMethod</H3>
515
+<PRE>
516
+public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</A> <B>lookupImplicitMethod</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;lookup)</PRE>
517
+<DL>
518
+<DD>Looks up an implicit method registered with this instance.
519
+<P>
520
+<DD><DL>
521
+<DT><B>Parameters:</B><DD><CODE>lookup</CODE> - key to lookup which should be of form:
522
+<code>method.getParameterTypes()[0].getName() + "." + method.getName()</code>
523
+<DT><B>Returns:</B><DD>The registered method if found, else null.</DL>
524
+</DD>
525
+</DL>
526
+<HR>
527
+
528
+<A NAME="lookupImplicitConstructor(java.lang.String)"><!-- --></A><H3>
529
+lookupImplicitConstructor</H3>
530
+<PRE>
531
+public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</A>&lt;?&gt; <B>lookupImplicitConstructor</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;lookup)</PRE>
532
+<DL>
533
+<DD>Looks up an implicit constructor registered with this instance.
534
+<P>
535
+<DD><DL>
536
+<DT><B>Parameters:</B><DD><CODE>lookup</CODE> - key to lookup which should be of form:
537
+<code>constructor.getDeclaringClass().getSimpleName()</code>
538
+ <code>+ Arrays.toString(constructor.getParameterTypes())</code>
539
+<DT><B>Returns:</B><DD>The registered constructor if found, else null.</DL>
540
+</DD>
541
+</DL>
542
+<HR>
543
+
544
+<A NAME="getCurrentContext()"><!-- --></A><H3>
545
+getCurrentContext</H3>
546
+<PRE>
547
+public static <A HREF="http://static.springsource.org/spring/docs/3.0.x/javadoc-api/org/springframework/expression/EvaluationContext.html?is-external=true" title="class or interface in org.springframework.expression">EvaluationContext</A> <B>getCurrentContext</B>()</PRE>
548
+<DL>
549
+<DD>Returns the current evaluation context. Null if there is no context.
550
+<P>
551
+<DD><DL>
552
+
553
+<DT><B>Returns:</B><DD>The current evaluation context.</DL>
554
+</DD>
555
+</DL>
556
+<!-- ========= END OF CLASS DATA ========= -->
557
+<HR>
558
+
559
+
560
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
561
+<A NAME="navbar_bottom"><!-- --></A>
562
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
563
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
564
+<TR>
565
+<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
566
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
567
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
568
+  <TR ALIGN="center" VALIGN="top">
569
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../net/abhinavsarkar/spelhelper/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
570
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
571
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/SpelHelper.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
572
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
573
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
574
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
575
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
576
+  </TR>
577
+</TABLE>
578
+</TD>
579
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
580
+Code hosted at <a target='_blank' href='http://github.com/abhin4v/spelhelper/'>github</a></EM>
581
+</TD>
582
+</TR>
583
+
584
+<TR>
585
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
586
+&nbsp;<A HREF="../../../net/abhinavsarkar/spelhelper/ImplicitMethods.html" title="class in net.abhinavsarkar.spelhelper"><B>PREV CLASS</B></A>&nbsp;
587
+&nbsp;NEXT CLASS</FONT></TD>
588
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
589
+  <A HREF="../../../index.html?net/abhinavsarkar/spelhelper/SpelHelper.html" target="_top"><B>FRAMES</B></A>  &nbsp;
590
+&nbsp;<A HREF="SpelHelper.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
591
+&nbsp;<SCRIPT type="text/javascript">
592
+  <!--
593
+  if(window==top) {
594
+    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
595
+  }
596
+  //-->
597
+</SCRIPT>
598
+<NOSCRIPT>
599
+  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
600
+</NOSCRIPT>
601
+
602
+
603
+</FONT></TD>
604
+</TR>
605
+<TR>
606
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
607
+  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
608
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
609
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
610
+</TR>
611
+</TABLE>
612
+<A NAME="skip-navbar_bottom"></A>
613
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
614
+
615
+<HR>
616
+Copyright &#169; 2010. All Rights Reserved.
617
+</BODY>
618
+</HTML>

+ 143
- 0
apidocs/net/abhinavsarkar/spelhelper/class-use/ExtensionFunctions.html View File

@@ -0,0 +1,143 @@
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+<!--NewPage-->
3
+<HTML>
4
+<HEAD>
5
+<!-- Generated by javadoc (build 1.6.0) on Thu May 27 01:34:44 IST 2010 -->
6
+<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
+<TITLE>
8
+Uses of Class net.abhinavsarkar.spelhelper.ExtensionFunctions (SpelHelper 1.0 API)
9
+</TITLE>
10
+
11
+<META NAME="date" CONTENT="2010-05-27">
12
+
13
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../spring-javadoc.css" TITLE="Style">
14
+
15
+<SCRIPT type="text/javascript">
16
+function windowTitle()
17
+{
18
+    if (location.href.indexOf('is-external=true') == -1) {
19
+        parent.document.title="Uses of Class net.abhinavsarkar.spelhelper.ExtensionFunctions (SpelHelper 1.0 API)";
20
+    }
21
+}
22
+</SCRIPT>
23
+<NOSCRIPT>
24
+</NOSCRIPT>
25
+
26
+</HEAD>
27
+
28
+<BODY BGCOLOR="white" onload="windowTitle();">
29
+<HR>
30
+
31
+
32
+<!-- ========= START OF TOP NAVBAR ======= -->
33
+<A NAME="navbar_top"><!-- --></A>
34
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>