org.apache.pivot.beans
Interface Bindable


public interface Bindable

Allows BXMLSerializer to initialize an instance of a deserialized class.


Method Summary
 void initialize(Map<String,Object> namespace, URL location, Resources resources)
          Called to initialize the class after it has been completely processed and bound by the serializer.
 

Method Detail

initialize

void initialize(Map<String,Object> namespace,
                URL location,
                Resources resources)
Called to initialize the class after it has been completely processed and bound by the serializer.

Parameters:
namespace - The serializer's namespace. The bindable object can use this to extract named values defined in the BXML file. Alternatively, the BXML annotation can be used by trusted code to automatically map namespace values to member variables.
location - The location of the BXML source. May be null if the location of the source is not known.
resources - The resources that were used to localize the deserialized content. May be null if no resources were specified.