>The getAnyObject returns a java.lang.Object instance, fine.  But what
object
>class is castor instantiating and putting my xml data into?
>
>Also, getAnyObject returns an array, why is that?  How could it consider
>verything between the <square></square> tags as anything other than one
>large blob?

It is an 'AnyNode' class which comes with castor. The array is for when you
have something like <square><p>aoeu</p><p>aoeu</p></square>.  Then each p
becomes an 'AnyNode' instance.  If you do a toString on either instance,
you'll get back the string <p>aoeu</p>.  

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to