Class XMLTokenizerExpression.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • mode

        public XMLTokenizerExpression.Builder mode​(String mode)
        The extraction mode. The available extraction modes are:
        • 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
      • namespaces

        public T namespaces​(org.apache.camel.support.builder.Namespaces namespaces)
        Injects the XML Namespaces of prefix -> uri mappings
        Parameters:
        namespaces - the XML namespaces
      • namespaces

        public T namespaces​(Map<String,​String> 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

        public T namespace​(List<PropertyDefinition> namespace)
        Injects the XML Namespaces of prefix -> uri mappings
      • id

        public T id​(String id)
        Sets the id of this node
      • trim

        public T trim​(String trim)
        Whether to trim the value to remove leading and trailing whitespaces and line breaks
      • trim

        public T trim​(boolean trim)
        Whether to trim the value to remove leading and trailing whitespaces and line breaks
      • expression

        public T expression​(String expression)
        The expression value in your chosen language syntax
      • predicate

        public T predicate​(org.apache.camel.Predicate predicate)