com.togethersoft.openapi.model.extension
Interface ContentProvider
- public interface ContentProvider
- extends Provider
Provider, which implements this interface actually doesn't provide anything.
But this provider can listen, when another Element of model was instantiated,
i.e. instance of corresponding java object was created.
- Author:
- TogetherSoft
| Method Summary |
void | bind(Element element) This method is invoked when another Element of model was instantiated. |
boolean | isApplicable(Element element) This method is called whenever any other method of this provider is to be invoked. |
void | unbind(String uniqueName) Obviously, this method might be used in the way, opposite to bind method usage. |
bind
public void bind(Element element)
- This method is invoked when another
Element of model was instantiated. This can be
good moment to initialize some internal data for this instance. This is a first time providers
have access to Element, not only to its unique name.
isApplicable
public boolean isApplicable(Element element)
- This method is called whenever any other method of this provider is to be invoked.
That method will be invoked only if isApplicable returned true.
unbind
public void unbind(String uniqueName)
- Obviously, this method might be used in the way, opposite to
bind method usage.
However, currently, this method isn't in use.