org.jomc.modlet
Interface ModelProvider
public interface ModelProvider
Model
provider interface.
- Version:
- $JOMC: ModelProvider.java 3838 2011-10-08 20:15:41Z schulte2005 $
- Author:
- Christian Schulte
- See Also:
ModelContext.findModel(java.lang.String)
findModel
Model findModel(ModelContext context,
Model model)
throws NullPointerException,
ModelException
- Searches a given context for a
Model
.
- Parameters:
context
- The context to search for a Model
.model
- The Model
currently being searched.
- Returns:
- The
Model
found in the context or null
, if no Model
is found.
- Throws:
NullPointerException
- if context
or model
is null
.
ModelException
- if searching the context fails.
Please note that this documentation is maintained by non-native english speaking authors. As such, you may encounter phrases or wordings which seem imprecise or may even have a totally different meaning to native english speaking readers than what the individual author was trying to express. If you are a native english speaking reader and find any such phrases or wordings we kindly ask you to send an email to the corresponding author and help us improve this documentation in order to avoid misunderstandings. You will find the authors' email addresses at the top of each class. Please accept our apologies for any inconvenience caused.