Class XMLTokenizeLanguage

java.lang.Object
org.apache.camel.support.LanguageSupport
org.apache.camel.support.TypedLanguageSupport
org.apache.camel.support.SingleInputTypedLanguageSupport
org.apache.camel.language.xtokenizer.XMLTokenizeLanguage
All Implemented Interfaces:
org.apache.camel.CamelContextAware, org.apache.camel.IsSingleton, org.apache.camel.spi.HasCamelContext, org.apache.camel.spi.Language

@Language("xtokenize") public class XMLTokenizeLanguage extends org.apache.camel.support.SingleInputTypedLanguageSupport
A language for tokenizer expressions.

This xmltokenizer language can operate in the following modes:

  • i - injecting the contextual namespace bindings into the extracted token (default)
  • w - wrapping the extracted token in its ancestor context
  • u - unwrapping the extracted token to its child content
  • t - extracting the text content of the specified element
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.camel.Expression
    createExpression(org.apache.camel.Expression source, String expression, Object[] properties)
     
    protected boolean
     

    Methods inherited from class org.apache.camel.support.SingleInputTypedLanguageSupport

    createExpression, createExpression, createPredicate, createPredicate, createPredicate

    Methods inherited from class org.apache.camel.support.LanguageSupport

    getCamelContext, hasSimpleFunction, isDynamicResource, isSingleton, isStaticResource, loadResource, property, setCamelContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • XMLTokenizeLanguage

      public XMLTokenizeLanguage()
  • Method Details

    • supportResultType

      protected boolean supportResultType()
      Overrides:
      supportResultType in class org.apache.camel.support.SingleInputTypedLanguageSupport
    • createExpression

      public org.apache.camel.Expression createExpression(org.apache.camel.Expression source, String expression, Object[] properties)
      Overrides:
      createExpression in class org.apache.camel.support.SingleInputTypedLanguageSupport