commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Sanders" <ssand...@nextance.com>
Subject RE: Digester Examples
Date Thu, 23 Jan 2003 00:19:04 GMT
To do anything other than a default no args constructor, you need to
create an ObjectFactoryRule, where your factory can create the object by
pulling all of the information from the stack.

Scott

> -----Original Message-----
> From: Jay Wright [mailto:jwright@once.com] 
> Sent: Wednesday, January 22, 2003 3:28 PM
> To: 'commons-user@jakarta.apache.org'
> Subject: Digester Examples
> 
> 
> 
> I'm trying to get an understanding of the Digester and have 
> found a few articles on-line with good examples, but of 
> course, they are all basic implementations.
> 
> Is there a good example someone could post or point me to for 
> creating an object whose constructor takes a couple 
> parameters?  Perferably, one that is an attribute of the 
> element itself, the other a  child object of the element.
> 
> This seems to be a common question, yet there are no 
> demonstrable examples to reference.
> 
> Thanks,
> Jay
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:commons-user-> unsubscribe@jakarta.apache.org>
> For 
> additional commands, 
> e-mail: <mailto:commons-user-help@jakarta.apache.org>
> 
> 

Mime
View raw message