ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tammo van Lessen <tvanles...@gmail.com>
Subject Re: How to access to "Variable to Variable" copy..
Date Tue, 19 Jan 2010 20:51:13 GMT
_context is the CompilerContext, i.e. the compiler itself.

On 19.01.2010 21:48, Michele wrote:
> ok I'm analyzing the AssignGenerator.java..
> What is "_context"? that is used for example in
> _context.resolveVariable(vv.getVariable())
> Thanks
> 
> 2010/1/19 Tammo van Lessen <tvanlessen@gmail.com>
> 
>> Hi,
>>
>> please check the code of the clases From, To, ToFrom, and the methods
>> AssignGenerator.compileTo(...) and AssignGenerator.assignFrom(...) as
>> reference.
>>
>> HTH,
>>  Tammo
>>
>> On 19.01.2010 17:21, Michele wrote:
>>> Hello, I have to analize the <bpel:assign> in a BPEL process. In
>> particular
>>> I have to distinguish the three kind of  <copy> "Fixed value to
>> variable",
>>> "Expression to variable", "Variable to Variable". I need to select the
>> third
>>> one and in specific to access to CDATA value.
>>> This is the code:
>>>
>>> AssignActivity assign = ((AssignActivity) act);
>>>                         java.util.List<Copy> copies= assign.getCopies();
>>>                         Iterator<Copy> itr = copies.iterator();
>>>                         while(itr.hasNext()) {
>>>                             Copy cp = (Copy) itr.next();
>>>                             //I don't know how to go on
>>>                         }
>>>
>>> thanks.
>>>
>>
>>
>> --
>> Tammo van Lessen - http://www.taval.de
>>
> 


-- 
Tammo van Lessen - http://www.taval.de

Mime
View raw message