Interface XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
XQueryEndpointBuilderFactory.XQueryEndpointBuilder
- Enclosing interface:
- XQueryEndpointBuilderFactory
public static interface XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint producers for the XQuery component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()
allowStAX
(boolean allowStAX) Whether to allow using StAX mode.Whether to allow using StAX mode.headerName
(String headerName) To use a Camel Message header as the input source instead of Message body.namespacePrefixes
(String namespacePrefixes) Allows to control which namespace prefixes to use for a set of namespace mappings.namespacePrefixes
(Map<String, String> namespacePrefixes) Allows to control which namespace prefixes to use for a set of namespace mappings.propertyName
(String propertyName) To use a Camel Exchange property as the input source instead of Message body.resultsFormat
(String resultsFormat) What output result to use.resultsFormat
(org.apache.camel.component.xquery.ResultFormat resultsFormat) What output result to use.resultType
(Class<Object> resultType) What output result to use defined as a class.resultType
(String resultType) What output result to use defined as a class.stripsAllWhiteSpace
(boolean stripsAllWhiteSpace) Whether to strip all whitespaces.stripsAllWhiteSpace
(String stripsAllWhiteSpace) Whether to strip all whitespaces.Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
-
Method Details
-
advanced
-
allowStAX
Whether to allow using StAX mode. The option is a: <code>boolean</code> type. Default: false Group: common- Parameters:
allowStAX
- the value to set- Returns:
- the dsl builder
-
allowStAX
Whether to allow using StAX mode. The option will be converted to a <code>boolean</code> type. Default: false Group: common- Parameters:
allowStAX
- the value to set- Returns:
- the dsl builder
-
headerName
To use a Camel Message header as the input source instead of Message body. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
headerName
- the value to set- Returns:
- the dsl builder
-
namespacePrefixes
default XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder namespacePrefixes(Map<String, String> namespacePrefixes) Allows to control which namespace prefixes to use for a set of namespace mappings. The option is a: <code>java.util.Map<java.lang.String, java.lang.String></code> type. Group: common- Parameters:
namespacePrefixes
- the value to set- Returns:
- the dsl builder
-
namespacePrefixes
default XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder namespacePrefixes(String namespacePrefixes) Allows to control which namespace prefixes to use for a set of namespace mappings. The option will be converted to a <code>java.util.Map<java.lang.String, java.lang.String></code> type. Group: common- Parameters:
namespacePrefixes
- the value to set- Returns:
- the dsl builder
-
propertyName
default XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder propertyName(String propertyName) To use a Camel Exchange property as the input source instead of Message body. It has a lower precedent than the name of header if both are set. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
propertyName
- the value to set- Returns:
- the dsl builder
-
resultsFormat
default XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder resultsFormat(org.apache.camel.component.xquery.ResultFormat resultsFormat) What output result to use. The option is a: <code>org.apache.camel.component.xquery.ResultFormat</code> type. Default: DOM Group: common- Parameters:
resultsFormat
- the value to set- Returns:
- the dsl builder
-
resultsFormat
default XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder resultsFormat(String resultsFormat) What output result to use. The option will be converted to a <code>org.apache.camel.component.xquery.ResultFormat</code> type. Default: DOM Group: common- Parameters:
resultsFormat
- the value to set- Returns:
- the dsl builder
-
resultType
default XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder resultType(Class<Object> resultType) What output result to use defined as a class. The option is a: <code>java.lang.Class<java.lang.Object></code> type. Group: common- Parameters:
resultType
- the value to set- Returns:
- the dsl builder
-
resultType
What output result to use defined as a class. The option will be converted to a <code>java.lang.Class<java.lang.Object></code> type. Group: common- Parameters:
resultType
- the value to set- Returns:
- the dsl builder
-
stripsAllWhiteSpace
default XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder stripsAllWhiteSpace(boolean stripsAllWhiteSpace) Whether to strip all whitespaces. The option is a: <code>boolean</code> type. Default: true Group: common- Parameters:
stripsAllWhiteSpace
- the value to set- Returns:
- the dsl builder
-
stripsAllWhiteSpace
default XQueryEndpointBuilderFactory.XQueryEndpointProducerBuilder stripsAllWhiteSpace(String stripsAllWhiteSpace) Whether to strip all whitespaces. The option will be converted to a <code>boolean</code> type. Default: true Group: common- Parameters:
stripsAllWhiteSpace
- the value to set- Returns:
- the dsl builder
-