org.apache.camel.component.validator.msv
Class MsvComponent

java.lang.Object
  extended by org.apache.camel.impl.ServiceSupport
      extended by org.apache.camel.impl.DefaultComponent
          extended by org.apache.camel.component.ResourceBasedComponent
              extended by org.apache.camel.component.validator.ValidatorComponent
                  extended by org.apache.camel.component.validator.msv.MsvComponent
All Implemented Interfaces:
Component, Service, ShutdownableService

public class MsvComponent
extends ValidatorComponent

The MSV Component uses the MSV library to perform XML validation using pluggable XML schema languages.

Version:
$Revision: 835186 $

Field Summary
 
Fields inherited from class org.apache.camel.component.ResourceBasedComponent
log
 
Constructor Summary
MsvComponent()
           
 
Method Summary
protected  void configureValidator(SpringValidator validator, String uri, String remaining, Map<String,Object> parameters)
           
 org.iso_relax.verifier.jaxp.validation.RELAXNGSchemaFactoryImpl getSchemaFactory()
           
 void setSchemaFactory(org.iso_relax.verifier.jaxp.validation.RELAXNGSchemaFactoryImpl schemaFactory)
           
 
Methods inherited from class org.apache.camel.component.validator.ValidatorComponent
createEndpoint
 
Methods inherited from class org.apache.camel.component.ResourceBasedComponent
getResourceLoader, resolveMandatoryResource, setResourceLoader
 
Methods inherited from class org.apache.camel.impl.DefaultComponent
afterConfiguration, createEndpoint, doStart, doStop, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, ifStartsWithReturnRemainder, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setProperties, useIntrospectionOnEndpoint, validateParameters, validateURI
 
Methods inherited from class org.apache.camel.impl.ServiceSupport
addChildService, doShutdown, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, removeChildService, shutdown, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MsvComponent

public MsvComponent()
Method Detail

getSchemaFactory

public org.iso_relax.verifier.jaxp.validation.RELAXNGSchemaFactoryImpl getSchemaFactory()
                                                                                 throws org.iso_relax.verifier.VerifierConfigurationException
Throws:
org.iso_relax.verifier.VerifierConfigurationException

setSchemaFactory

public void setSchemaFactory(org.iso_relax.verifier.jaxp.validation.RELAXNGSchemaFactoryImpl schemaFactory)

configureValidator

protected void configureValidator(SpringValidator validator,
                                  String uri,
                                  String remaining,
                                  Map<String,Object> parameters)
                           throws Exception
Overrides:
configureValidator in class ValidatorComponent
Throws:
Exception


Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.