Package org.apache.pivot.beans
Interface Bindable
-
public interface BindableAllowsBXMLSerializerto initialize an instance of a deserialized class.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidinitialize(Map<java.lang.String,java.lang.Object> namespace, java.net.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<java.lang.String,java.lang.Object> namespace, java.net.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, theBXMLannotation can be used by trusted code to automatically map namespace values to member variables.location- The location of the BXML source. May benullif the location of the source is not known.resources- The resources that were used to localize the deserialized content. May benullif no resources were specified.
-
-