org.apache.camel.component.validator
Class SpringValidator
java.lang.Object
org.apache.camel.processor.validation.ValidatingProcessor
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:
- $Revision: 747759 $
Methods inherited from class org.apache.camel.processor.validation.ValidatingProcessor |
createSchema, createSchemaFactory, getErrorHandler, getSchema, getSchemaFactory, getSchemaFile, getSchemaLanguage, getSchemaSource, getSchemaUrl, isUseDom, loadSchema, process, setErrorHandler, setSchema, setSchemaFactory, setSchemaFile, setSchemaLanguage, setSchemaSource, setSchemaUrl, setUseDom |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpringValidator
public SpringValidator()
getSchemaResource
public Resource getSchemaResource()
setSchemaResource
public void setSchemaResource(Resource schemaResource)
createSchemaSource
protected Source createSchemaSource()
throws IOException
- Overrides:
createSchemaSource
in class ValidatingProcessor
- Throws:
IOException
Apache CAMEL