@Retention(value=RUNTIME) @Documented @Target(value={FIELD,METHOD,PARAMETER}) @LanguageAnnotation(language="xpath", factory=XPathAnnotationExpressionFactory.class) public @interface XPath
Modifier and Type | Required Element and Description |
---|---|
String |
value
The XPath which will be applied
|
Modifier and Type | Optional Element and Description |
---|---|
String |
headerName
The name of the header we want to apply the XPath expression to.
|
boolean |
logNamespaces
Whether to log namespaces which can assist during troubleshooting
|
org.apache.camel.support.language.NamespacePrefix[] |
namespaces
Namespace prefix mappings
|
boolean |
preCompile
Whether to enable pre-compiling the xpath expression during initialization phase.
|
Class<?> |
resultType
The desired return type from the evaluated XPath expression.
|
public abstract String value
public abstract org.apache.camel.support.language.NamespacePrefix[] namespaces
public abstract Class<?> resultType
public abstract String headerName
public abstract boolean logNamespaces
public abstract boolean preCompile
Apache Camel