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 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 check
        loader - update the loader in case of unspecified loader
        Returns:
        true if it is known, false else
      • error

        void error​(java.lang.String message)
        Notifies about an error.
        Parameters:
        message - the error message