Skip navigation links
A B C D E F G I L M N O P R S T V X 

A

add(String, String) - Method in class org.apache.camel.language.xpath.DefaultNamespaceContext
A helper method to make it easy to create newly populated instances
addVariable(String, Object) - Method in class org.apache.camel.language.xpath.MessageVariableResolver
 

B

booleanResult() - Method in class org.apache.camel.language.xpath.XPathBuilder
Sets the expression result type to XPathConstants.BOOLEAN

C

configure(CamelContext, Object, String, Object, boolean) - Method in class org.apache.camel.language.xpath.XPathLanguage
 
configureBuilder(XPathBuilder) - Method in class org.apache.camel.language.xpath.XPathLanguage
 
createDefaultFunctionResolver(XPathFunctionResolver) - Method in class org.apache.camel.language.xpath.XPathBuilder
 
createDefaultXPathFactory() - Static method in class org.apache.camel.language.xpath.XPathBuilder
 
createExpression(CamelContext, Annotation, LanguageAnnotation, Class<?>) - Method in class org.apache.camel.language.xpath.XPathAnnotationExpressionFactory
 
createExpression(String) - Method in class org.apache.camel.language.xpath.XPathLanguage
 
createExpression(String, Object[]) - Method in class org.apache.camel.language.xpath.XPathLanguage
 
createNamespaceContext(XPathFactory) - Method in class org.apache.camel.language.xpath.XPathBuilder
 
createPredicate(String) - Method in class org.apache.camel.language.xpath.XPathLanguage
 
createPredicate(String, Object[]) - Method in class org.apache.camel.language.xpath.XPathLanguage
 
createTraceNamespaceExpression() - Method in class org.apache.camel.language.xpath.XPathBuilder
 
createXPathExpression() - Method in class org.apache.camel.language.xpath.XPathBuilder
Creates a new xpath expression as there we no available in the pool.
createXPathFactory() - Method in class org.apache.camel.language.xpath.XPathBuilder
 

D

DefaultNamespaceContext - Class in org.apache.camel.language.xpath
An implementation of NamespaceContext which uses a simple Map where the keys are the prefixes and the values are the URIs
DefaultNamespaceContext() - Constructor for class org.apache.camel.language.xpath.DefaultNamespaceContext
 
DefaultNamespaceContext(XPathFactory) - Constructor for class org.apache.camel.language.xpath.DefaultNamespaceContext
 
DefaultNamespaceContext(NamespaceContext, Map<String, String>) - Constructor for class org.apache.camel.language.xpath.DefaultNamespaceContext
 
documentType(Class<?>) - Method in class org.apache.camel.language.xpath.XPathBuilder
Configures the document type to use.
doGetDocument(Exchange, Object) - Method in class org.apache.camel.language.xpath.XPathBuilder
 
doInEvaluateAs(XPathExpression, Exchange, QName) - Method in class org.apache.camel.language.xpath.XPathBuilder
 
doStart() - Method in class org.apache.camel.language.xpath.XPathBuilder
 
doStop() - Method in class org.apache.camel.language.xpath.XPathBuilder
 

E

enableSaxon() - Method in class org.apache.camel.language.xpath.XPathBuilder
Enables Saxon on this particular XPath expression, as saxon() sets the default static XPathFactory which may have already been initialised by previous XPath expressions
evaluate(Exchange, Class<T>) - Method in class org.apache.camel.language.xpath.XPathBuilder
 
evaluate(CamelContext, Object, Class<T>) - Method in class org.apache.camel.language.xpath.XPathBuilder
Evaluates the given xpath using the provided body.
evaluate(CamelContext, Object) - Method in class org.apache.camel.language.xpath.XPathBuilder
Evaluates the given xpath using the provided body as a String return type.
evaluate(Exchange) - Method in class org.apache.camel.language.xpath.XPathBuilder
 
evaluateAs(Exchange, QName) - Method in class org.apache.camel.language.xpath.XPathBuilder
Evaluates the expression as the given result type

F

factory(XPathFactory) - Method in class org.apache.camel.language.xpath.XPathBuilder
Configures to use the provided XPath factory.
factoryClassName(String) - Method in class org.apache.camel.language.xpath.XPathBuilder
Sets the factory class name to use
functionResolver(XPathFunctionResolver) - Method in class org.apache.camel.language.xpath.XPathBuilder
Sets the XPathFunctionResolver instance to use on these XPath expressions

G

getBodyFunction() - Method in class org.apache.camel.language.xpath.XPathBuilder
Gets the XPathFunction for getting the input message body.
getCamelContext() - Method in class org.apache.camel.language.xpath.XPathBuilder
 
getDocument(Exchange, Object) - Method in class org.apache.camel.language.xpath.XPathBuilder
Strategy method to extract the document from the exchange.
getDocumentType() - Method in class org.apache.camel.language.xpath.XPathBuilder
 
getDocumentType() - Method in class org.apache.camel.language.xpath.XPathLanguage
 
getExpressionNameSpacePrefix(Annotation) - Method in class org.apache.camel.language.xpath.XPathAnnotationExpressionFactory
 
getExpressionText() - Method in class org.apache.camel.language.xpath.XPathBuilder
 
getFactoryClassName() - Method in class org.apache.camel.language.xpath.XPathBuilder
 
getFunctionResolver() - Method in class org.apache.camel.language.xpath.XPathBuilder
 
getHeaderFunction() - Method in class org.apache.camel.language.xpath.XPathBuilder
Gets the XPathFunction for getting the input message header.
getHeaderName(Annotation) - Method in class org.apache.camel.language.xpath.XPathAnnotationExpressionFactory
Extracts the value of the header method in the Annotation.
getHeaderName() - Method in class org.apache.camel.language.xpath.XPathBuilder
 
getHeaderName() - Method in class org.apache.camel.language.xpath.XPathLanguage
 
getLogNamespaces() - Method in class org.apache.camel.language.xpath.XPathLanguage
 
getNamespaceContext() - Method in class org.apache.camel.language.xpath.XPathBuilder
Gets the namespace context, can be null if no custom context has been assigned.
getNamespaces() - Method in class org.apache.camel.language.xpath.DefaultNamespaceContext
 
getNamespaces() - Method in class org.apache.camel.language.xpath.XPathBuilder
 
getNamespaceURI(String) - Method in class org.apache.camel.language.xpath.DefaultNamespaceContext
 
getObjectModelUri() - Method in class org.apache.camel.language.xpath.XPathBuilder
 
getObjectModelUri() - Method in class org.apache.camel.language.xpath.XPathLanguage
 
getOutBodyFunction() - Method in class org.apache.camel.language.xpath.XPathBuilder
Gets the XPathFunction for getting the output message body.
getOutHeaderFunction() - Method in class org.apache.camel.language.xpath.XPathBuilder
Gets the XPathFunction for getting the output message header.
getPreCompile() - Method in class org.apache.camel.language.xpath.XPathLanguage
 
getPrefix(String) - Method in class org.apache.camel.language.xpath.DefaultNamespaceContext
 
getPrefixes(String) - Method in class org.apache.camel.language.xpath.DefaultNamespaceContext
 
getPropertiesFunction() - Method in class org.apache.camel.language.xpath.XPathBuilder
Gets the XPathFunction for getting the exchange properties.
getResultQName() - Method in class org.apache.camel.language.xpath.XPathBuilder
 
getResultQName() - Method in class org.apache.camel.language.xpath.XPathLanguage
 
getResultType(Annotation) - Method in class org.apache.camel.language.xpath.XPathAnnotationExpressionFactory
 
getResultType() - Method in class org.apache.camel.language.xpath.XPathBuilder
 
getResultType() - Method in class org.apache.camel.language.xpath.XPathLanguage
 
getSimpleFunction() - Method in class org.apache.camel.language.xpath.XPathBuilder
Gets the XPathFunction for executing simple language as xpath function.
getText() - Method in class org.apache.camel.language.xpath.XPathBuilder
 
getThreadSafety() - Method in class org.apache.camel.language.xpath.XPathLanguage
 
getUseSaxon() - Method in class org.apache.camel.language.xpath.XPathLanguage
 
getXpath() - Method in exception org.apache.camel.language.xpath.InvalidXPathException
 
getXPathFactory() - Method in class org.apache.camel.language.xpath.XPathBuilder
Gets the xpath factory, can be null if no custom factory has been assigned.
getXpathFactory() - Method in class org.apache.camel.language.xpath.XPathLanguage
 

I

init(CamelContext) - Method in class org.apache.camel.language.xpath.XPathBuilder
 
InvalidXPathException - Exception in org.apache.camel.language.xpath
An exception thrown if am XPath expression could not be parsed or evaluated
InvalidXPathException(String, XPathException) - Constructor for exception org.apache.camel.language.xpath.InvalidXPathException
 
isInputStreamNeeded(Exchange) - Method in class org.apache.camel.language.xpath.XPathBuilder
Checks whether we need an InputStream to access the message body.
isInputStreamNeeded(Exchange, String) - Method in class org.apache.camel.language.xpath.XPathBuilder
Checks whether we need an InputStream to access the message header.
isInputStreamNeededForObject(Exchange, Object) - Method in class org.apache.camel.language.xpath.XPathBuilder
Checks whether we need an InputStream to access this object

Depending on the content in the object, we may not need to convert to InputStream.

isLogNamespaces() - Method in class org.apache.camel.language.xpath.XPathBuilder
 
isPreCompile() - Method in class org.apache.camel.language.xpath.XPathBuilder
 
isThreadSafety() - Method in class org.apache.camel.language.xpath.XPathBuilder
 
isUseSaxon() - Method in class org.apache.camel.language.xpath.XPathBuilder
 

L

logNamespaces() - Method in class org.apache.camel.language.xpath.XPathBuilder
Activates trace logging of all discovered namespaces in the message - to simplify debugging namespace-related issues

Namespaces are printed in Hashmap style {xmlns:prefix=[namespaceURI], xmlns:prefix=[namespaceURI]}.

M

matches(Exchange) - Method in class org.apache.camel.language.xpath.XPathBuilder
 
matches(CamelContext, Object) - Method in class org.apache.camel.language.xpath.XPathBuilder
Matches the given xpath using the provided body.
MessageVariableResolver - Class in org.apache.camel.language.xpath
A variable resolver for XPath expressions which support properties on the message, exchange as well as making system properties and environment properties available.
MessageVariableResolver(ThreadLocal<Exchange>) - Constructor for class org.apache.camel.language.xpath.MessageVariableResolver
 

N

namespace(String, String) - Method in class org.apache.camel.language.xpath.XPathBuilder
Registers the namespace prefix and URI with the builder so that the prefix can be used in XPath expressions
namespaces(Namespaces) - Method in class org.apache.camel.language.xpath.XPathBuilder
Registers namespaces with the builder so that the registered prefixes can be used in XPath expressions
nodeResult() - Method in class org.apache.camel.language.xpath.XPathBuilder
Sets the expression result type to XPathConstants.NODE
nodeSetResult() - Method in class org.apache.camel.language.xpath.XPathBuilder
Sets the expression result type to XPathConstants.NODESET
numberResult() - Method in class org.apache.camel.language.xpath.XPathBuilder
Sets the expression result type to XPathConstants.NUMBER

O

objectModel(String) - Method in class org.apache.camel.language.xpath.XPathBuilder
Sets the object model URI to use
org.apache.camel.language.xpath - package org.apache.camel.language.xpath
Camel XPath language support.

P

populateDefaultNamespaces(DefaultNamespaceContext) - Method in class org.apache.camel.language.xpath.XPathBuilder
Populate a number of standard prefixes if they are not already there
preCompile(boolean) - Method in class org.apache.camel.language.xpath.XPathBuilder
Whether to enable pre-compiling the xpath expression during initialization phase.

R

resolveVariable(QName) - Method in class org.apache.camel.language.xpath.MessageVariableResolver
 
resultType(Class<?>) - Method in class org.apache.camel.language.xpath.XPathBuilder
Sets the expression result type to the given resultType

S

saxon() - Method in class org.apache.camel.language.xpath.XPathBuilder
Configures to use Saxon as the XPathFactory which allows you to use XPath 2.0 functions which may not be part of the build in JDK XPath parser.
setBodyFunction(XPathFunction) - Method in class org.apache.camel.language.xpath.XPathBuilder
 
setCamelContext(CamelContext) - Method in class org.apache.camel.language.xpath.XPathBuilder
 
setDocumentType(Class<?>) - Method in class org.apache.camel.language.xpath.XPathBuilder
 
setDocumentType(Class<?>) - Method in class org.apache.camel.language.xpath.XPathLanguage
 
setFactoryClassName(String) - Method in class org.apache.camel.language.xpath.XPathBuilder
 
setFunctionResolver(XPathFunctionResolver) - Method in class org.apache.camel.language.xpath.XPathBuilder
 
setHeaderFunction(XPathFunction) - Method in class org.apache.camel.language.xpath.XPathBuilder
 
setHeaderName(String) - Method in class org.apache.camel.language.xpath.XPathBuilder
 
setHeaderName(String) - Method in class org.apache.camel.language.xpath.XPathLanguage
 
setLogNamespaces(boolean) - Method in class org.apache.camel.language.xpath.XPathBuilder
 
setLogNamespaces(Boolean) - Method in class org.apache.camel.language.xpath.XPathLanguage
 
setNamespaceContext(DefaultNamespaceContext) - Method in class org.apache.camel.language.xpath.XPathBuilder
 
setNamespaceIfNotPresent(DefaultNamespaceContext, String, String) - Method in class org.apache.camel.language.xpath.XPathBuilder
 
setNamespaces(Map<String, String>) - Method in class org.apache.camel.language.xpath.DefaultNamespaceContext
 
setNamespaces(Map<String, String>) - Method in class org.apache.camel.language.xpath.XPathBuilder
 
setObjectModelUri(String) - Method in class org.apache.camel.language.xpath.XPathBuilder
 
setObjectModelUri(String) - Method in class org.apache.camel.language.xpath.XPathLanguage
 
setOutBodyFunction(XPathFunction) - Method in class org.apache.camel.language.xpath.XPathBuilder
 
setOutHeaderFunction(XPathFunction) - Method in class org.apache.camel.language.xpath.XPathBuilder
 
setPreCompile(boolean) - Method in class org.apache.camel.language.xpath.XPathBuilder
 
setPreCompile(Boolean) - Method in class org.apache.camel.language.xpath.XPathLanguage
 
setPropertiesFunction(XPathFunction) - Method in class org.apache.camel.language.xpath.XPathBuilder
 
setResultQName(QName) - Method in class org.apache.camel.language.xpath.XPathBuilder
 
setResultQName(QName) - Method in class org.apache.camel.language.xpath.XPathLanguage
 
setResultType(Class<?>) - Method in class org.apache.camel.language.xpath.XPathBuilder
 
setResultType(Class<?>) - Method in class org.apache.camel.language.xpath.XPathLanguage
 
setSimpleFunction(XPathFunction) - Method in class org.apache.camel.language.xpath.XPathBuilder
 
setThreadSafety(boolean) - Method in class org.apache.camel.language.xpath.XPathBuilder
 
setThreadSafety(Boolean) - Method in class org.apache.camel.language.xpath.XPathLanguage
 
setUseSaxon(boolean) - Method in class org.apache.camel.language.xpath.XPathBuilder
Whether to enable Saxon on this particular XPath expression.
setUseSaxon(Boolean) - Method in class org.apache.camel.language.xpath.XPathLanguage
 
setXPathFactory(XPathFactory) - Method in class org.apache.camel.language.xpath.XPathBuilder
 
setXpathFactory(XPathFactory) - Method in class org.apache.camel.language.xpath.XPathLanguage
 
stringResult() - Method in class org.apache.camel.language.xpath.XPathBuilder
Sets the expression result type to XPathConstants.STRING

T

threadSafety(boolean) - Method in class org.apache.camel.language.xpath.XPathBuilder
Whether to enable thread-safety for the returned result of the xpath expression.
toString() - Method in class org.apache.camel.language.xpath.DefaultNamespaceContext
toString() implementation that outputs the namespace mappings with the following format: "[me: {prefix -> value}, {prefix -> value}], [parent: {prefix -> value}, {prefix -> value}].
toString() - Method in class org.apache.camel.language.xpath.XPathBuilder
 

V

variable(String, Object) - Method in class org.apache.camel.language.xpath.XPathBuilder
Registers a variable (in the global namespace) which can be referred to from XPath expressions

X

XPath - Annotation Type in org.apache.camel.language.xpath
Used to inject an XPath expression into a field, property, method or parameter when using Bean Integration.
xpath(String) - Static method in class org.apache.camel.language.xpath.XPathBuilder
 
xpath(String, Class<?>) - Static method in class org.apache.camel.language.xpath.XPathBuilder
 
XPathAnnotationExpressionFactory - Class in org.apache.camel.language.xpath
Factory for the XPath expression annotations.
XPathAnnotationExpressionFactory() - Constructor for class org.apache.camel.language.xpath.XPathAnnotationExpressionFactory
 
XPathBuilder - Class in org.apache.camel.language.xpath
Creates an XPath expression builder which creates a nodeset result by default.
XPathBuilder(String) - Constructor for class org.apache.camel.language.xpath.XPathBuilder
 
XPathLanguage - Class in org.apache.camel.language.xpath
XPath language.
XPathLanguage() - Constructor for class org.apache.camel.language.xpath.XPathLanguage
 
A B C D E F G I L M N O P R S T V X 
Skip navigation links

Apache Camel