[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] (no subject)

Hi,

Say I have the following:

Project p = createProject( f );
String s =  p.getN0().getN1().getN2()...getNM().getAString()
           ^
           ^
	   I

What is the best way to intercept the String returned by this call chain
to perform some transformation? 

Specifically p is an object that is created by unmarshalling an XML
document which may contain ${foo} references. I would like to check I
for any of these references and interpolate the real value of foo into
the String before returning it to the caller.

-- 
jvz.

Jason van Zyl
jason@xxxxxxxxxxx
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society