org.apache.camel.util.component
Class ArgumentSubstitutionParser<T>

java.lang.Object
  extended by org.apache.camel.util.component.ApiMethodParser<T>
      extended by org.apache.camel.util.component.ArgumentSubstitutionParser<T>

public class ArgumentSubstitutionParser<T>
extends ApiMethodParser<T>

Adds support for parameter name substitutions.


Nested Class Summary
static class ArgumentSubstitutionParser.Substitution
           
 
Nested classes/interfaces inherited from class org.apache.camel.util.component.ApiMethodParser
ApiMethodParser.ApiMethodModel, ApiMethodParser.Argument
 
Field Summary
 
Fields inherited from class org.apache.camel.util.component.ApiMethodParser
ARGS_PATTERN
 
Constructor Summary
ArgumentSubstitutionParser(Class<T> proxyType, ArgumentSubstitutionParser.Substitution[] substitutions)
          Create a parser using regular expressions to adapt parameter names.
 
Method Summary
 List<ApiMethodParser.ApiMethodModel> processResults(List<ApiMethodParser.ApiMethodModel> parseResult)
           
 
Methods inherited from class org.apache.camel.util.component.ApiMethodParser
forName, forName, getClassLoader, getProxyType, getSignatures, parse, setClassLoader, setSignatures
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArgumentSubstitutionParser

public ArgumentSubstitutionParser(Class<T> proxyType,
                                  ArgumentSubstitutionParser.Substitution[] substitutions)
Create a parser using regular expressions to adapt parameter names.

Parameters:
proxyType - Proxy class.
substitutions - an array of ordered Argument adapters.
Method Detail

processResults

public List<ApiMethodParser.ApiMethodModel> processResults(List<ApiMethodParser.ApiMethodModel> parseResult)
Overrides:
processResults in class ApiMethodParser<T>


Apache Camel