Skip to main content

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


Say I have the following:

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

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.


Jason van Zyl

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

Back to the top