Package org.apache.camel.catalog
Interface JSonSchemaResolver
public interface JSonSchemaResolver
Pluggable resolver to load JSON schema files for components, data formats, languages etc.
-
Method Summary
Modifier and TypeMethodDescriptiongetComponentJSonSchema
(String name) Returns the component information as JSON format.Returns the data format information as JSON format.getLanguageJSonSchema
(String name) Returns the language information as JSON format.Returns the camel-main json schemagetModelJSonSchema
(String name) Returns the model information as JSON format.getOtherJSonSchema
(String name) Returns the other (miscellaneous) information as JSON format.void
setClassLoader
(ClassLoader classLoader) Sets an extra class loader to use first for loading resources.
-
Method Details
-
setClassLoader
Sets an extra class loader to use first for loading resources. -
getComponentJSonSchema
Returns the component information as JSON format.- Parameters:
name
- the component name- Returns:
- component details in JSon
-
getDataFormatJSonSchema
Returns the data format information as JSON format.- Parameters:
name
- the data format name- Returns:
- data format details in JSon
-
getLanguageJSonSchema
Returns the language information as JSON format.- Parameters:
name
- the language name- Returns:
- language details in JSon
-
getOtherJSonSchema
Returns the other (miscellaneous) information as JSON format.- Parameters:
name
- the other (miscellaneous) name- Returns:
- other (miscellaneous) details in JSon
-
getModelJSonSchema
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
-