Interface ValidatorEndpointBuilderFactory.AdvancedValidatorEndpointBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
- ValidatorEndpointBuilderFactory
public static interface ValidatorEndpointBuilderFactory.AdvancedValidatorEndpointBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Advanced builder for endpoint for the Validator component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default ValidatorEndpointBuilderFactory.ValidatorEndpointBuilder
basic()
default ValidatorEndpointBuilderFactory.AdvancedValidatorEndpointBuilder
errorHandler(Object errorHandler)
To use a custom org.apache.camel.processor.validation.ValidatorErrorHandler.default ValidatorEndpointBuilderFactory.AdvancedValidatorEndpointBuilder
errorHandler(String errorHandler)
To use a custom org.apache.camel.processor.validation.ValidatorErrorHandler.default ValidatorEndpointBuilderFactory.AdvancedValidatorEndpointBuilder
resourceResolver(Object resourceResolver)
To use a custom LSResourceResolver.default ValidatorEndpointBuilderFactory.AdvancedValidatorEndpointBuilder
resourceResolver(String resourceResolver)
To use a custom LSResourceResolver.default ValidatorEndpointBuilderFactory.AdvancedValidatorEndpointBuilder
resourceResolverFactory(Object resourceResolverFactory)
To use a custom LSResourceResolver which depends on a dynamic endpoint resource URI.default ValidatorEndpointBuilderFactory.AdvancedValidatorEndpointBuilder
resourceResolverFactory(String resourceResolverFactory)
To use a custom LSResourceResolver which depends on a dynamic endpoint resource URI.default ValidatorEndpointBuilderFactory.AdvancedValidatorEndpointBuilder
schemaFactory(Object schemaFactory)
To use a custom javax.xml.validation.SchemaFactory.default ValidatorEndpointBuilderFactory.AdvancedValidatorEndpointBuilder
schemaFactory(String schemaFactory)
To use a custom javax.xml.validation.SchemaFactory.default ValidatorEndpointBuilderFactory.AdvancedValidatorEndpointBuilder
schemaLanguage(String schemaLanguage)
Configures the W3C XML Schema Namespace URI.default ValidatorEndpointBuilderFactory.AdvancedValidatorEndpointBuilder
useSharedSchema(boolean useSharedSchema)
Whether the Schema instance should be shared or not.default ValidatorEndpointBuilderFactory.AdvancedValidatorEndpointBuilder
useSharedSchema(String useSharedSchema)
Whether the Schema instance should be shared or not.
-
-
-
Method Detail
-
basic
default ValidatorEndpointBuilderFactory.ValidatorEndpointBuilder basic()
-
errorHandler
default ValidatorEndpointBuilderFactory.AdvancedValidatorEndpointBuilder errorHandler(Object errorHandler)
To use a custom org.apache.camel.processor.validation.ValidatorErrorHandler. The default error handler captures the errors and throws an exception. The option is a: <code>org.apache.camel.support.processor.validation.ValidatorErrorHandler</code> type. Group: advanced- Parameters:
errorHandler
- the value to set- Returns:
- the dsl builder
-
errorHandler
default ValidatorEndpointBuilderFactory.AdvancedValidatorEndpointBuilder errorHandler(String errorHandler)
To use a custom org.apache.camel.processor.validation.ValidatorErrorHandler. The default error handler captures the errors and throws an exception. The option will be converted to a <code>org.apache.camel.support.processor.validation.ValidatorErrorHandler</code> type. Group: advanced- Parameters:
errorHandler
- the value to set- Returns:
- the dsl builder
-
resourceResolver
default ValidatorEndpointBuilderFactory.AdvancedValidatorEndpointBuilder resourceResolver(Object resourceResolver)
To use a custom LSResourceResolver. Do not use together with resourceResolverFactory. The option is a: <code>org.w3c.dom.ls.LSResourceResolver</code> type. Group: advanced- Parameters:
resourceResolver
- the value to set- Returns:
- the dsl builder
-
resourceResolver
default ValidatorEndpointBuilderFactory.AdvancedValidatorEndpointBuilder resourceResolver(String resourceResolver)
To use a custom LSResourceResolver. Do not use together with resourceResolverFactory. The option will be converted to a <code>org.w3c.dom.ls.LSResourceResolver</code> type. Group: advanced- Parameters:
resourceResolver
- the value to set- Returns:
- the dsl builder
-
resourceResolverFactory
default ValidatorEndpointBuilderFactory.AdvancedValidatorEndpointBuilder resourceResolverFactory(Object resourceResolverFactory)
To use a custom LSResourceResolver which depends on a dynamic endpoint resource URI. The default resource resolver factory resturns a resource resolver which can read files from the class path and file system. Do not use together with resourceResolver. The option is a: <code>org.apache.camel.component.validator.ValidatorResourceResolverFactory</code> type. Group: advanced- Parameters:
resourceResolverFactory
- the value to set- Returns:
- the dsl builder
-
resourceResolverFactory
default ValidatorEndpointBuilderFactory.AdvancedValidatorEndpointBuilder resourceResolverFactory(String resourceResolverFactory)
To use a custom LSResourceResolver which depends on a dynamic endpoint resource URI. The default resource resolver factory resturns a resource resolver which can read files from the class path and file system. Do not use together with resourceResolver. The option will be converted to a <code>org.apache.camel.component.validator.ValidatorResourceResolverFactory</code> type. Group: advanced- Parameters:
resourceResolverFactory
- the value to set- Returns:
- the dsl builder
-
schemaFactory
default ValidatorEndpointBuilderFactory.AdvancedValidatorEndpointBuilder schemaFactory(Object schemaFactory)
To use a custom javax.xml.validation.SchemaFactory. The option is a: <code>javax.xml.validation.SchemaFactory</code> type. Group: advanced- Parameters:
schemaFactory
- the value to set- Returns:
- the dsl builder
-
schemaFactory
default ValidatorEndpointBuilderFactory.AdvancedValidatorEndpointBuilder schemaFactory(String schemaFactory)
To use a custom javax.xml.validation.SchemaFactory. The option will be converted to a <code>javax.xml.validation.SchemaFactory</code> type. Group: advanced- Parameters:
schemaFactory
- the value to set- Returns:
- the dsl builder
-
schemaLanguage
default ValidatorEndpointBuilderFactory.AdvancedValidatorEndpointBuilder schemaLanguage(String schemaLanguage)
Configures the W3C XML Schema Namespace URI. The option is a: <code>java.lang.String</code> type. Default: http://www.w3.org/2001/XMLSchema Group: advanced- Parameters:
schemaLanguage
- the value to set- Returns:
- the dsl builder
-
useSharedSchema
default ValidatorEndpointBuilderFactory.AdvancedValidatorEndpointBuilder useSharedSchema(boolean useSharedSchema)
Whether the Schema instance should be shared or not. This option is introduced to work around a JDK 1.6.x bug. Xerces should not have this issue. The option is a: <code>boolean</code> type. Default: true Group: advanced- Parameters:
useSharedSchema
- the value to set- Returns:
- the dsl builder
-
useSharedSchema
default ValidatorEndpointBuilderFactory.AdvancedValidatorEndpointBuilder useSharedSchema(String useSharedSchema)
Whether the Schema instance should be shared or not. This option is introduced to work around a JDK 1.6.x bug. Xerces should not have this issue. The option will be converted to a <code>boolean</code> type. Default: true Group: advanced- Parameters:
useSharedSchema
- the value to set- Returns:
- the dsl builder
-
-