org.apache.camel.component.validator
Class SpringValidator

java.lang.Object
  extended by org.apache.camel.processor.validation.ValidatingProcessor
      extended by org.apache.camel.component.validator.SpringValidator
All Implemented Interfaces:
Processor

public class SpringValidator
extends ValidatingProcessor

Validator that uses Spring for reading the scheme resource.

Version:

Constructor Summary
SpringValidator()
           
 
Method Summary
protected  Source createSchemaSource()
           
 org.springframework.core.io.Resource getSchemaResource()
           
 void setSchemaResource(org.springframework.core.io.Resource schemaResource)
           
 
Methods inherited from class org.apache.camel.processor.validation.ValidatingProcessor
createSchema, createSchemaFactory, getErrorHandler, getSchema, getSchemaFactory, getSchemaFile, getSchemaLanguage, getSchemaSource, getSchemaUrl, isUseDom, isUseSharedSchema, loadSchema, process, setErrorHandler, setSchema, setSchemaFactory, setSchemaFile, setSchemaLanguage, setSchemaSource, setSchemaUrl, setUseDom, setUseSharedSchema
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringValidator

public SpringValidator()
Method Detail

getSchemaResource

public org.springframework.core.io.Resource getSchemaResource()

setSchemaResource

public void setSchemaResource(org.springframework.core.io.Resource schemaResource)

createSchemaSource

protected Source createSchemaSource()
                             throws IOException
Overrides:
createSchemaSource in class ValidatingProcessor
Throws:
IOException


Apache CAMEL