commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lance Semmens <lance.semm...@essential.com.au>
Subject [betwixt] Custom bean creation
Date Mon, 18 Apr 2005 05:35:25 GMT
I'm wanting to use my own logic to instantiate beans from XML elements.
After reading the doco, it seems that the way to do this is to create a
ChainedBeanCreator and add it to the BeanCreationChain.

I am writing my own ChainedBeanCreator but I can't see how to access the
body of an XML element in the 
create(ElementMapping mapping, ReadContext context, BeanCreationChain chain)
method. 

When i say "the body of an xml element" i mean "bar" part of
"<foo>bar</foo>".

Thanks,
Lance.

---------------------------------------------------------------------
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