@Metadata(firstVersion="1.0.0",
label="language,xml",
title="XQuery")
public class XQueryExpression
extends NamespaceAwareExpression
| Constructor and Description |
|---|
XQueryExpression() |
XQueryExpression(String expression) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureExpression(CamelContext camelContext,
Expression expression) |
protected void |
configurePredicate(CamelContext camelContext,
Predicate predicate) |
Expression |
createExpression(CamelContext camelContext) |
String |
getHeaderName() |
String |
getLanguage() |
Class<?> |
getResultType() |
String |
getType() |
void |
setHeaderName(String headerName)
Name of header to use as input, instead of the message body
|
void |
setResultType(Class<?> resultType)
Sets the class of the result type (type from output).
|
void |
setType(String type)
Sets the class name of the result type (type from output)
The default result type is NodeSet
|
configureNamespaceAware, getNamespaces, setNamespacesassertMatches, createExpression, createPredicate, createPredicate, evaluate, evaluate, getExpression, getExpressionType, getExpressionValue, getId, getLabel, getLabel, getOtherAttributes, getPredicate, getTrim, matches, setExpression, setExpressionType, setExpressionValue, setId, setOtherAttributes, setProperty, setTrim, toStringpublic XQueryExpression()
public XQueryExpression(String expression)
public String getLanguage()
getLanguage in class ExpressionDefinitionpublic void setType(String type)
public Class<?> getResultType()
public void setResultType(Class<?> resultType)
public String getHeaderName()
public void setHeaderName(String headerName)
public Expression createExpression(CamelContext camelContext)
createExpression in class ExpressionDefinitionprotected void configureExpression(CamelContext camelContext, Expression expression)
configureExpression in class NamespaceAwareExpressionprotected void configurePredicate(CamelContext camelContext, Predicate predicate)
configurePredicate in class NamespaceAwareExpressionApache Camel