@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(org.apache.camel.CamelContext camelContext,
org.apache.camel.Expression expression) |
protected void |
configurePredicate(org.apache.camel.CamelContext camelContext,
org.apache.camel.Predicate predicate) |
org.apache.camel.Expression |
createExpression(org.apache.camel.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, setNamespaces
assertMatches, createExpression, createPredicate, createPredicate, evaluate, evaluate, getExpression, getExpressionType, getExpressionValue, getId, getLabel, getLabel, getOtherAttributes, getPredicate, getTrim, matches, setExpression, setExpressionType, setExpressionValue, setId, setOtherAttributes, setProperty, setTrim, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getReadPropertyPlaceholderOptions, getWritePropertyPlaceholderOptions
public XQueryExpression()
public XQueryExpression(String expression)
public String getLanguage()
getLanguage
in class ExpressionDefinition
public void setType(String type)
public Class<?> getResultType()
public void setResultType(Class<?> resultType)
public String getHeaderName()
public void setHeaderName(String headerName)
public org.apache.camel.Expression createExpression(org.apache.camel.CamelContext camelContext)
createExpression
in interface org.apache.camel.ExpressionFactory
createExpression
in class ExpressionDefinition
protected void configureExpression(org.apache.camel.CamelContext camelContext, org.apache.camel.Expression expression)
configureExpression
in class NamespaceAwareExpression
protected void configurePredicate(org.apache.camel.CamelContext camelContext, org.apache.camel.Predicate predicate)
configurePredicate
in class NamespaceAwareExpression
Apache Camel