org.apache.camel.language
Annotation Type XPath


@Retention(value=RUNTIME)
@Documented
@Target(value={FIELD,METHOD,PARAMETER})
@LanguageAnnotation(language="xpath",
                    factory=XPathAnnotationExpressionFactory.class)
public @interface XPath

Used to inject an XPath expression into a field, property, method or parameter when using Bean Integration.

Version:

Required Element Summary
 String value
           
 
Optional Element Summary
 NamespacePrefix[] namespaces
           
 Class<?> resultType
           
 

Element Detail

value

public abstract String value

namespaces

public abstract NamespacePrefix[] namespaces
Default:
{@org.apache.camel.language.NamespacePrefix(prefix="soap", uri="http://www.w3.org/2003/05/soap-envelope"), @org.apache.camel.language.NamespacePrefix(prefix="xsd", uri="http://www.w3.org/2001/XMLSchema")}

resultType

public abstract Class<?> resultType
Default:
java.lang.Object.class


Apache CAMEL