commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel T. Gorski" <>
Subject [Configuration] Interpolation with XMLConfiguration
Date Wed, 17 Aug 2005 13:44:17 GMT

I ran into a problem with XMLConfiguration, that seems be not very well
documented: its the interpolation of ${key} within XML attributes.

Well, here is an example:

  <bar attribute="${key}" />

My problem here is, how do I initialize the value of ${key}, so that
XMLConfiguration#getProperty() returns the complete interpolated and
replaced string? Can anybody give me a short example?

Searching the source code wasn't very successful as the interplation methods
are protected.

TIA, regards dtg

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

View raw message