commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Chodakowski" <jas...@hyperworx.com>
Subject RE: Using internal classes with Digester and XMLRules
Date Wed, 04 Jan 2006 16:03:17 GMT
It was public, but not static... don't know if having the internal class be
would help me more than my work around which was to move the internal class
to its own persona - so it is now a separate class.

Thanks,

J --

-----Original Message-----
From: Frank W. Zammetti [mailto:fzlists@omnytex.com] 
Sent: Wednesday, January 04, 2006 10:50 AM
To: Jakarta Commons Users List
Cc: commons-user@jakarta.apache.org
Subject: Re: Using internal classes with Digester and XMLRules

The first is correct, but the problem that most people encounter using
this (including me a few months back) is that the inner class must be
public and static.  Could that be why it isn't working for you?

-- 
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM: fzammetti
Yahoo: fzammetti
MSN: fzammetti@hotmail.com

On Wed, January 4, 2006 10:46 am, Jason Chodakowski said:
> I have a question about using the object-create-rule tag in an XML Rules
> file.
>
> How does one reference an internal class?
>
> I've tried the following things:
>
> .classname="foo.bar.Class$InternalClass"
>
> And
>
> .classname="foo.bar.Class.InternalClass"
>
> And neither one works.
>
> Any thoughts?
>
> TIA
>


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message