Interface IModelLoader.IModelInfoHolder<M extends IModel>
-
- Type Parameters:
M- the specific type of the model
- All Known Implementing Classes:
ModelInfoHolder
- Enclosing interface:
- IModelLoader<M extends IModel>
public static interface IModelLoader.IModelInfoHolder<M extends IModel>An instance providing limited access to model information.- Author:
- Holger Eichelberger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddResult(ModelInfo<M> toAdd)Adds a model information as result of an operation.voiderror(java.lang.String message)Notifies about an error.booleanisKnown(java.net.URI uri, IModelLoader<M> loader)Checks whether model information for a given URI is known.
-
-
-
Method Detail
-
addResult
void addResult(ModelInfo<M> toAdd)
Adds a model information as result of an operation.- Parameters:
toAdd- the information object to add
-
isKnown
boolean isKnown(java.net.URI uri, IModelLoader<M> loader)Checks whether model information for a given URI is known.- Parameters:
uri- the URI to checkloader- update the loader in case of unspecified loader- Returns:
trueif it is known,falseelse
-
error
void error(java.lang.String message)
Notifies about an error.- Parameters:
message- the error message
-
-