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:
$Revision: 16079 $

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:
org.w3c.dom.NodeList.class


Copyright © 2007-2010 IONA Open Source Community. All Rights Reserved.