commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Kitching <>
Subject Re: [Digester] setting properties from the app's runtime
Date Thu, 02 Jun 2005 01:22:24 GMT
On Wed, 2005-06-01 at 23:57 +0200, Timo Boewing wrote:
> 1) I need to set the "classname" attribute of the object-create-rule
> dynamically. I did this before when my rules were set in my app's Java
> code, so that e.g. the "type" param was read from my XML definitions:
> <page id="pg1" type="x.y.QuestionPage">
> 	[...]
> </page>
> ... so that the type attrib is placed into the classname of the
> object-create rule. Is this still possible when using the Digester XML
> config?

You mean you used this?
  new ObjectCreateRule(digester, "x.y.DefaultPage", "type");

I think you need

> 2) I really am stupid enough not to find a reference documentation for
> the DigesterLoader; i.e. what control tags are there and what attribts
> are valid for them. Does anyone know where to find it?

The best thing to do is to look at the dtd for xmlrules:



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message