Package org.apache.camel.catalog
Interface JSonSchemaResolver
-
public interface JSonSchemaResolverPluggable resolver to load JSON schema files for components, data formats, languages etc.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetComponentJSonSchema(String name)Returns the component information as JSON format.StringgetDataFormatJSonSchema(String name)Returns the data format information as JSON format.StringgetLanguageJSonSchema(String name)Returns the language information as JSON format.StringgetMainJsonSchema()Returns the camel-main json schemaStringgetModelJSonSchema(String name)Returns the model information as JSON format.StringgetOtherJSonSchema(String name)Returns the other (miscellaneous) information as JSON format.voidsetClassLoader(ClassLoader classLoader)Sets an extra class loader to use first for loading resources.
-
-
-
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
-
-