|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ikasan.framework.component.transformation.xslt.util.TransformationDataLookup
public class TransformationDataLookup
Exposed to the XSLT stylesheet, provides static access to underlying data access functionality
| Field Summary | |
|---|---|
static String |
DEFAULT_DELIMITER
Default delimiter for string arguments passed as a single argument |
| Constructor Summary | |
|---|---|
TransformationDataLookup()
|
|
| Method Summary | |
|---|---|
protected static Object |
getBean(String beanName)
Retrieves the bean from a ThreadLocalBeansWrapper |
static String |
lookupData(String beanName,
String methodName,
String... stringArgs)
Looks up a value from a named bean using a named bean method, with the string arguments specified |
static String |
lookupData(String beanName,
String methodName,
String args)
Looks up a value from a named bean using a named bean method, with the string arguments specified, and delimited with the default delimiter |
static String |
lookupData(String beanName,
String methodName,
String args,
String delimiter)
Looks up a value from a named bean using a named bean method, with the string arguments specified, and delimited with the specified delimiter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DEFAULT_DELIMITER
| Constructor Detail |
|---|
public TransformationDataLookup()
| Method Detail |
|---|
public static String lookupData(String beanName,
String methodName,
String args)
throws SecurityException,
NoSuchMethodException,
IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
beanName - - name of bean within bean scopemethodName - - name of method to call on beanargs - - possibly delimited set of String arguments
SecurityException
NoSuchMethodException
IllegalArgumentException
IllegalAccessException
InvocationTargetException
public static String lookupData(String beanName,
String methodName,
String args,
String delimiter)
throws SecurityException,
NoSuchMethodException,
IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
beanName - - name of bean within bean scopemethodName - - name of method to call on beanargs - - possibly delimited set of String argumentsdelimiter - - delimiter with which to parse the args for String
arguments
SecurityException
NoSuchMethodException
IllegalArgumentException
IllegalAccessException
InvocationTargetException
public static String lookupData(String beanName,
String methodName,
String... stringArgs)
throws SecurityException,
NoSuchMethodException,
IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
beanName - - name of bean within bean scopemethodName - - name of method to call on beanstringArgs - - array of String arguments for this bean method
SecurityException
NoSuchMethodException
IllegalArgumentException
IllegalAccessException
InvocationTargetExceptionprotected static Object getBean(String beanName)
ThreadLocalBeansWrapper
beanName -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||