public class CamelCatalogJSonSchemaResolver extends Object implements JSonSchemaResolver
JSonSchemaResolver
used by CamelCatalog
that is able to load all the resources that the complete camel-catalog JAR provides.Constructor and Description |
---|
CamelCatalogJSonSchemaResolver(CamelCatalog camelCatalog,
Map<String,String> extraComponents,
Map<String,String> extraComponentsJSonSchema,
Map<String,String> extraDataFormats,
Map<String,String> extraDataFormatsJSonSchema) |
Modifier and Type | Method and Description |
---|---|
String |
getComponentJSonSchema(String name)
Returns the component information as JSon format.
|
String |
getDataFormatJSonSchema(String name)
Returns the data format information as JSon format.
|
String |
getLanguageJSonSchema(String name)
Returns the language information as JSon format.
|
String |
getModelJSonSchema(String name)
Returns the model information as JSon format.
|
String |
getOtherJSonSchema(String name)
Returns the other (miscellaneous) information as JSon format.
|
public String getComponentJSonSchema(String name)
JSonSchemaResolver
getComponentJSonSchema
in interface JSonSchemaResolver
name
- the component namepublic String getDataFormatJSonSchema(String name)
JSonSchemaResolver
getDataFormatJSonSchema
in interface JSonSchemaResolver
name
- the data format namepublic String getLanguageJSonSchema(String name)
JSonSchemaResolver
getLanguageJSonSchema
in interface JSonSchemaResolver
name
- the language namepublic String getModelJSonSchema(String name)
JSonSchemaResolver
getModelJSonSchema
in interface JSonSchemaResolver
name
- the model namepublic String getOtherJSonSchema(String name)
JSonSchemaResolver
getOtherJSonSchema
in interface JSonSchemaResolver
name
- the other (miscellaneous) nameApache Camel