Interface JSonSchemaResolver


  • public interface JSonSchemaResolver
    Pluggable resolver to load JSON schema files for components, data formats, languages etc.
    • Method Detail

      • setClassLoader

        void setClassLoader​(ClassLoader classLoader)
        Sets an extra class loader to use first for loading resources.
      • getComponentJSonSchema

        String getComponentJSonSchema​(String name)
        Returns the component information as JSON format.
        Parameters:
        name - the component name
        Returns:
        component details in JSon
      • getDataFormatJSonSchema

        String getDataFormatJSonSchema​(String name)
        Returns the data format information as JSON format.
        Parameters:
        name - the data format name
        Returns:
        data format details in JSon
      • getLanguageJSonSchema

        String getLanguageJSonSchema​(String name)
        Returns the language information as JSON format.
        Parameters:
        name - the language name
        Returns:
        language details in JSon
      • getOtherJSonSchema

        String getOtherJSonSchema​(String name)
        Returns the other (miscellaneous) information as JSON format.
        Parameters:
        name - the other (miscellaneous) name
        Returns:
        other (miscellaneous) details in JSon
      • getModelJSonSchema

        String getModelJSonSchema​(String name)
        Returns the model information as JSON format.
        Parameters:
        name - the model name
        Returns:
        model details in JSon
      • getMainJsonSchema

        String getMainJsonSchema()
        Returns the camel-main json schema
        Returns:
        the camel-main json schema