commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rahul Akolkar" <rahul.akol...@gmail.com>
Subject Re: SCXML <datamodel> and data structures
Date Tue, 19 Aug 2008 20:15:29 GMT
On Mon, Aug 18, 2008 at 7:14 PM, Anna Klisiewicz
<anna.klisiewicz@googlemail.com> wrote:
> Hi,
>
> Is it possible to initialize data structures like stack or queue as elements
> of <data> in SXML code?
>
<snip/>

I'm short on time this week, so I'll try to point to some existing
docs. See bit on contexts and evaluators (on how to get the said data
structures initialized), as well as method invocation (on how to
perform operations on the said data structures):

  http://commons.apache.org/scxml/guide/contexts-evaluators.html

To summarize, each context is populated by a combination of:
 * <data> elements at the corresponding location in the SCXML document
 * programmatic population using data structures that make sense to
the EL in use -- via Context#set(String, Object)

-Rahul


> Thanks,
> Anna
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message