org.apache.camel.component.validator
Class ValidatorComponent

java.lang.Object
  extended by org.apache.camel.impl.ServiceSupport
      extended by org.apache.camel.impl.DefaultComponent<Exchange>
          extended by org.apache.camel.component.ResourceBasedComponent
              extended by org.apache.camel.component.validator.ValidatorComponent
All Implemented Interfaces:
Component<Exchange>, Service

public class ValidatorComponent
extends ResourceBasedComponent

The Validator Component for validating XML against some schema

Version:
$Revision: 640731 $

Field Summary
 
Fields inherited from class org.apache.camel.component.ResourceBasedComponent
LOG
 
Constructor Summary
ValidatorComponent()
           
 
Method Summary
protected  void configureValidator(SpringValidator validator, String uri, String remaining, Map parameters)
           
protected  Endpoint<Exchange> createEndpoint(String uri, String remaining, Map parameters)
           
 
Methods inherited from class org.apache.camel.component.ResourceBasedComponent
getResourceLoader, resolveMandatoryResource, setResourceLoader
 
Methods inherited from class org.apache.camel.impl.DefaultComponent
convertTo, createEndpoint, createExecutorService, doStart, doStop, getCamelContext, getExecutorService, lookup, lookup, mandatoryConvertTo, mandatoryLookup, mandatoryLookup, newInstance, setCamelContext, setExecutorService, setProperties, useIntrospectionOnEndpoint
 
Methods inherited from class org.apache.camel.impl.ServiceSupport
addChildService, getThreadName, isRunAllowed, isStarted, isStarting, isStopped, isStopping, nextThreadCounter, removeChildService, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidatorComponent

public ValidatorComponent()
Method Detail

createEndpoint

protected Endpoint<Exchange> createEndpoint(String uri,
                                            String remaining,
                                            Map parameters)
                                     throws Exception
Specified by:
createEndpoint in class DefaultComponent<Exchange>
Throws:
Exception

configureValidator

protected void configureValidator(SpringValidator validator,
                                  String uri,
                                  String remaining,
                                  Map parameters)
                           throws Exception
Throws:
Exception


Copyright © 2008 Apache Software Foundation. All Rights Reserved.