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