@Metadata(label="ipf,eip,transformation") public class ValidatorAdapterDefinition extends ProcessorAdapterDefinition
Constructor and Description |
---|
ValidatorAdapterDefinition() |
ValidatorAdapterDefinition(String validatorBean) |
ValidatorAdapterDefinition(Validator validator) |
Modifier and Type | Method and Description |
---|---|
protected ProcessorAdapter |
doCreateProcessor(org.apache.camel.spi.RouteContext routeContext) |
String |
getShortName() |
ProcessorAdapterDefinition |
profile(groovy.lang.Closure profileExpression)
Defines the profile for the validation via the given closure
|
ValidatorAdapterDefinition |
profile(org.apache.camel.Expression profileExpression)
Defines the profile for the validation via the given expression
|
ValidatorAdapterDefinition |
profile(Object profile)
Deprecated.
|
ValidatorAdapterDefinition |
schematron()
Interprets the defined profile as Schematron rules location and validates against it
|
void |
setValidator(Validator validator) |
ValidatorAdapterDefinition |
staticProfile(Object profile)
Defines the static profile for the validation
|
String |
toString() |
ValidatorAdapterDefinition |
xsd()
Interprets the defined profile as W3C schema location and validates against it
|
doCreateDelegate, input, input, params, params, params, staticParams
createProcessor
getOutputs, isOutputSupported, setOutputs
addInterceptStrategies, addInterceptStrategy, addOutput, addRoutes, aggregate, aggregate, aggregate, aggregate, aop, attribute, bean, bean, bean, bean, bean, bean, bean, bean, beanRef, beanRef, beanRef, beanRef, beanRef, choice, claimCheck, claimCheck, claimCheck, claimCheck, clearOutput, configureChild, convertBodyTo, convertBodyTo, createChannel, createChildProcessor, createCompositeProcessor, createOutputsProcessor, createOutputsProcessor, createOutputsProcessorImpl, createProcessor, delay, delay, delay, doTry, dynamicRouter, dynamicRouter, end, endChoice, endDoTry, endHystrix, endParent, endRest, enrich, enrich, enrich, enrich, enrich, enrichRef, enrichRef, enrichRef, enrichWith, enrichWith, enrichWith, filter, filter, filter, filter, getIndex, getInterceptStrategies, getLabel, getOtherAttributes, getParent, hystrix, id, idempotentConsumer, idempotentConsumer, idempotentConsumer, idempotentConsumer, inheritErrorHandler, inOnly, inOnly, inOnly, inOnly, inOnly, inOnly, inOut, inOut, inOut, inOut, inOut, inOut, isAbstract, isInheritErrorHandler, isTopLevelOnly, isWrappingEntireOutput, loadBalance, loadBalance, log, log, log, log, log, log, loop, loop, loop, loopDoWhile, loopDoWhile, makeProcessor, markRollbackOnly, markRollbackOnlyLast, marshal, marshal, marshal, marshal, multicast, multicast, multicast, onCompletion, onException, onException, pipeline, pipeline, pipeline, pipeline, placeholder, policy, policy, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrich, pollEnrichRef, pollEnrichRef, pollEnrichWith, pollEnrichWith, pollEnrichWith, preCreateProcessor, process, process, process, processRef, recipientList, recipientList, recipientList, recipientList, removeFaultHeader, removeHeader, removeHeaders, removeHeaders, removeProperties, removeProperties, removeProperty, resequence, resequence, rollback, rollback, routeDescription, routeId, routingSlip, routingSlip, routingSlip, routingSlip, routingSlip, routingSlip, routingSlip, saga, sample, sample, sample, script, script, serviceCall, serviceCall, serviceCall, setBody, setBody, setBody, setBody, setExchangePattern, setFaultBody, setFaultHeader, setHeader, setHeader, setHeader, setInheritErrorHandler, setOtherAttributes, setOutHeader, setOutHeader, setParent, setProperty, setProperty, sort, sort, sort, split, split, split, startupOrder, stop, threads, threads, threads, threads, throttle, throttle, throttle, throwException, throwException, to, to, to, to, to, to, to, to, to, to, toD, toD, toF, transacted, transacted, transform, transform, unmarshal, unmarshal, unmarshal, unmarshal, validate, validate, validate, wireTap, wireTap, wireTap, wireTap, wireTap, wireTap, wireTap, wireTap, wireTap, wrapChannel, wrapChannel, wrapInErrorHandler, wrapProcessor
public ValidatorAdapterDefinition()
public ValidatorAdapterDefinition(Validator validator)
public ValidatorAdapterDefinition(String validatorBean)
public void setValidator(Validator validator)
public ValidatorAdapterDefinition staticProfile(Object profile)
profile
- the profile to use@Deprecated public ValidatorAdapterDefinition profile(Object profile)
public ValidatorAdapterDefinition profile(org.apache.camel.Expression profileExpression)
profileExpression
- the profile expressionpublic ProcessorAdapterDefinition profile(groovy.lang.Closure profileExpression)
profileExpression
- the profile closurepublic ValidatorAdapterDefinition xsd()
public ValidatorAdapterDefinition schematron()
public String toString()
toString
in class org.apache.camel.model.OutputDefinition<org.apache.camel.model.RouteDefinition>
public String getShortName()
getShortName
in interface org.apache.camel.NamedNode
getShortName
in class org.apache.camel.model.OptionalIdentifiedDefinition<org.apache.camel.model.RouteDefinition>
protected ProcessorAdapter doCreateProcessor(org.apache.camel.spi.RouteContext routeContext)
doCreateProcessor
in class ProcessorAdapterDefinition
Copyright © 2018 Open eHealth Foundation. All rights reserved.