I am working with a JAVA web service, and I get back an array of objects with
methods to access the data.
One of these methods is getExtendedFields() which will only exist if there are
any extended fields. So I need to be able to test if this method actually
exists before I bother trying to
To: CF-Talk
Subject: test if method exists
I am working with a JAVA web service, and I get back an array of objects
with methods to access the data.
One of these methods is getExtendedFields() which will only exist if
there are any extended fields. So I need to be able to test if this
method actually
Need to write another function to see the Object Data,if it is private.
we can't see the private class properites in Java.
Srinivas
On 2/15/07, Russ Michaels [EMAIL PROTECTED] wrote:
I am working with a JAVA web service, and I get back an array of objects
with methods to access the data.
How about this? Straight out of the CF manual:
h3IsCustomFunction Example/h3
cfscript
function realUDF() {
return 1;
}
/cfscript
cfset X = 1
!--- Example that fails existence test ---
cfif IsDefined(Foo) AND IsCustomFunction(Foo)
Foo is a UDF.br
/cfif
!--- Example that passes existence test
4 matches
Mail list logo