On Mon, 19 Jul 2010, Greg Brown wrote:
There's another enhancement to the serialization of WTKX => "Component
instance" that would be useful: lossless transformation. There's some
useful information in the wtkx file (maybe bxml, I don't know that yet)
that you don't get back from it. I'd like to be able to get a
reference to the serializer used to build a given component if at all.
That would in fact be incredibly helpful as I would like access to the
serializer's named objects after the fact.
You can do this via the Bindable interface. In Pivot 2.0, initialize()
is defined as follows:
http://svn.apache.org/repos/asf/pivot/trunk/core/src/org/apache/pivot/beans/Bindable.java
The first argument contains the named objects.
I will try that when I move to the Pivot 2.0 branch. I'm on 1.5 now.
Cheers,
Michael