Package org.apache.camel.model.language
Class XQueryExpression.Builder
java.lang.Object
org.apache.camel.model.language.TypedExpressionDefinition.AbstractBuilder<XQueryExpression.Builder,XQueryExpression>
org.apache.camel.model.language.SingleInputTypedExpressionDefinition.AbstractBuilder<XQueryExpression.Builder,XQueryExpression>
org.apache.camel.model.language.XQueryExpression.Builder
- All Implemented Interfaces:
LanguageBuilder<XQueryExpression>
- Enclosing class:
XQueryExpression
public static class XQueryExpression.Builder
extends SingleInputTypedExpressionDefinition.AbstractBuilder<XQueryExpression.Builder,XQueryExpression>
Builder
is a specific builder for XQueryExpression
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconfiguration
(Object configuration) Custom saxon configuration (requires camel-saxon).configurationRef
(String configurationRef) Reference to a saxon configuration instance in the registry to use for xquery (requires camel-saxon).end()
Ends the build of an expression.expression
(String expression) The expression value in your chosen language syntaxSets the id of this nodenamespace
(List<PropertyDefinition> namespace) Injects the XML Namespaces of prefix -> uri mappingsnamespaces
(Map<String, String> namespaces) Injects the XML Namespaces of prefix -> uri mappingsnamespaces
(org.apache.camel.support.builder.Namespaces namespaces) Injects the XML Namespaces of prefix -> uri mappingspredicate
(org.apache.camel.Predicate predicate) trim
(boolean trim) Whether to trim the value to remove leading and trailing whitespaces and line breaksWhether to trim the value to remove leading and trailing whitespaces and line breaksMethods inherited from class org.apache.camel.model.language.SingleInputTypedExpressionDefinition.AbstractBuilder
headerName, propertyName, source, variableName
Methods inherited from class org.apache.camel.model.language.TypedExpressionDefinition.AbstractBuilder
resultType, resultTypeName
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
configuration
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. -
configurationRef
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. -
end
Description copied from interface:LanguageBuilder
Ends the build of an expression.- Returns:
- the expression fully built.
-
namespaces
Injects the XML Namespaces of prefix -> uri mappings- Parameters:
namespaces
- the XML namespaces
-
namespaces
Injects the XML Namespaces of prefix -> uri mappings- Parameters:
namespaces
- the XML namespaces with the key of prefixes and the value the URIs
-
namespace
Injects the XML Namespaces of prefix -> uri mappings -
id
Sets the id of this node -
trim
Whether to trim the value to remove leading and trailing whitespaces and line breaks -
trim
Whether to trim the value to remove leading and trailing whitespaces and line breaks -
expression
The expression value in your chosen language syntax -
predicate
-