Package org.apache.camel.model.language
Class XQueryExpression
- All Implemented Interfaces:
org.apache.camel.Expression,org.apache.camel.ExpressionFactory,HasExpressionType,org.apache.camel.Predicate,org.apache.camel.PredicateFactory,org.apache.camel.spi.ExpressionFactoryAware,org.apache.camel.spi.NamespaceAware,org.apache.camel.spi.PredicateFactoryAware
@Metadata(firstVersion="1.0.0",
label="language,xml",
title="XQuery")
public class XQueryExpression
extends NamespaceAwareExpression
Evaluates an XQuery expressions against an XML payload.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilderis a specific builder forXQueryExpression.Nested classes/interfaces inherited from class org.apache.camel.model.language.NamespaceAwareExpression
NamespaceAwareExpression.AbstractNamespaceAwareBuilder<T extends NamespaceAwareExpression.AbstractNamespaceAwareBuilder<T,E>, E extends NamespaceAwareExpression> Nested classes/interfaces inherited from class org.apache.camel.model.language.SingleInputTypedExpressionDefinition
SingleInputTypedExpressionDefinition.AbstractBuilder<T extends SingleInputTypedExpressionDefinition.AbstractBuilder<T,E>, E extends SingleInputTypedExpressionDefinition> -
Constructor Summary
ConstructorsModifierConstructorDescriptionXQueryExpression(String expression) protectedXQueryExpression(XQueryExpression source) -
Method Summary
Modifier and TypeMethodDescriptionvoidsetConfiguration(Object configuration) Custom saxon configuration (requires camel-saxon).voidsetConfigurationRef(String configurationRef) Reference to a saxon configuration instance in the registry to use for xquery (requires camel-saxon).Methods inherited from class org.apache.camel.model.language.NamespaceAwareExpression
getNamespace, getNamespaceAsMap, getNamespaces, setNamespace, setNamespacesMethods inherited from class org.apache.camel.model.language.SingleInputTypedExpressionDefinition
getSource, setSourceMethods inherited from class org.apache.camel.model.language.TypedExpressionDefinition
getResultType, getResultTypeName, setResultType, setResultTypeNameMethods inherited from class org.apache.camel.model.language.ExpressionDefinition
createExpression, createPredicate, evaluate, getExpression, getExpressionFactory, getExpressionType, getExpressionValue, getId, getLabel, getLabel, getPredicate, getPredicateFactory, getTrim, init, initPredicate, matches, setExpression, setExpressionType, setExpressionValue, setId, setTrim, toString
-
Constructor Details
-
XQueryExpression
public XQueryExpression() -
XQueryExpression
-
XQueryExpression
-
-
Method Details
-
copyDefinition
- Overrides:
copyDefinitionin classExpressionDefinition
-
getLanguage
- Overrides:
getLanguagein classExpressionDefinition
-
getConfigurationRef
-
setConfigurationRef
Reference to a saxon configuration instance in the registry to use for xquery (requires camel-saxon). This may be needed to add custom functions to a saxon configuration, so these custom functions can be used in xquery expressions. -
getConfiguration
-
setConfiguration
Custom saxon configuration (requires camel-saxon). This may be needed to add custom functions to a saxon configuration, so these custom functions can be used in xquery expressions.
-