Uses of Class
org.apache.camel.language.xpath.XPathBuilder
-
Uses of XPathBuilder in org.apache.camel.language.xpath
Methods in org.apache.camel.language.xpath that return XPathBuilderModifier and TypeMethodDescriptionXPathBuilder.booleanResult()Sets the expression result type toXPathConstants.BOOLEANXPathBuilder.documentType(Class<?> documentType) Configures the document type to use.XPathBuilder.factory(XPathFactory xpathFactory) Configures to use the provided XPath factory.XPathBuilder.factoryClassName(String factoryClassName) Sets the factory class name to useXPathBuilder.functionResolver(XPathFunctionResolver functionResolver) Sets theXPathFunctionResolverinstance to use on these XPath expressionsXPathBuilder.logNamespaces()Activates trace logging of all discovered namespaces in the message - to simplify debugging namespace-related issuesRegisters the namespace prefix and URI with the builder so that the prefix can be used in XPath expressionsXPathBuilder.namespaces(org.apache.camel.support.builder.Namespaces namespaces) Registers namespaces with the builder so that the registered prefixes can be used in XPath expressionsXPathBuilder.nodeResult()Sets the expression result type toXPathConstants.NODEXPathBuilder.nodeSetResult()Sets the expression result type toXPathConstants.NODESETXPathBuilder.numberResult()Sets the expression result type toXPathConstants.NUMBERXPathBuilder.objectModel(String uri) Sets the object model URI to useXPathBuilder.preCompile(boolean preCompile) Whether to enable pre-compiling the xpath expression during initialization phase.XPathBuilder.resultType(Class<?> resultType) Sets the expression result type to the givenresultTypeXPathBuilder.saxon()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.XPathBuilder.stringResult()Sets the expression result type toXPathConstants.STRINGXPathBuilder.threadSafety(boolean threadSafety) Whether to enable thread-safety for the returned result of the xpath expression.Registers a variable (in the global namespace) which can be referred to from XPath expressionsstatic XPathBuilderstatic XPathBuilderMethods in org.apache.camel.language.xpath with parameters of type XPathBuilderModifier and TypeMethodDescriptionprotected voidXPathLanguage.configureBuilder(XPathBuilder builder, Object[] properties)