Class XMLTokenizeLanguage
- java.lang.Object
-
- org.apache.camel.support.LanguageSupport
-
- org.apache.camel.language.xtokenizer.XMLTokenizeLanguage
-
- All Implemented Interfaces:
org.apache.camel.CamelContextAware
,org.apache.camel.IsSingleton
,org.apache.camel.spi.Language
,org.apache.camel.spi.PropertyConfigurer
@Language("xtokenize") public class XMLTokenizeLanguage extends org.apache.camel.support.LanguageSupport implements org.apache.camel.spi.PropertyConfigurer
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 XMLTokenizeLanguage()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
configure(org.apache.camel.CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase)
org.apache.camel.Expression
createExpression(String expression)
Creates a tokenize expression.org.apache.camel.Expression
createExpression(String expression, Object[] properties)
org.apache.camel.Predicate
createPredicate(String expression)
org.apache.camel.Predicate
createPredicate(String expression, Object[] properties)
int
getGroup()
String
getHeaderName()
char
getMode()
org.apache.camel.support.builder.Namespaces
getNamespaces()
String
getPath()
void
setGroup(int group)
void
setHeaderName(String headerName)
void
setMode(char mode)
void
setNamespaces(org.apache.camel.support.builder.Namespaces namespaces)
void
setPath(String path)
static org.apache.camel.Expression
tokenize(String path)
Deprecated.static org.apache.camel.Expression
tokenize(String path, char mode)
Deprecated.static org.apache.camel.Expression
tokenize(String headerName, String path)
Deprecated.static org.apache.camel.Expression
tokenize(String headerName, String path, char mode)
Deprecated.static org.apache.camel.Expression
tokenize(String headerName, String path, char mode, int group, org.apache.camel.support.builder.Namespaces namespaces)
Deprecated.
-
-
-
Method Detail
-
tokenize
@Deprecated public static org.apache.camel.Expression tokenize(String path)
Deprecated.
-
tokenize
@Deprecated public static org.apache.camel.Expression tokenize(String path, char mode)
Deprecated.
-
tokenize
@Deprecated public static org.apache.camel.Expression tokenize(String headerName, String path)
Deprecated.
-
tokenize
@Deprecated public static org.apache.camel.Expression tokenize(String headerName, String path, char mode)
Deprecated.
-
tokenize
@Deprecated public static org.apache.camel.Expression tokenize(String headerName, String path, char mode, int group, org.apache.camel.support.builder.Namespaces namespaces)
Deprecated.
-
createPredicate
public org.apache.camel.Predicate createPredicate(String expression)
- Specified by:
createPredicate
in interfaceorg.apache.camel.spi.Language
-
createExpression
public org.apache.camel.Expression createExpression(String expression)
Creates a tokenize expression.- Specified by:
createExpression
in interfaceorg.apache.camel.spi.Language
-
createPredicate
public org.apache.camel.Predicate createPredicate(String expression, Object[] properties)
- Specified by:
createPredicate
in interfaceorg.apache.camel.spi.Language
-
createExpression
public org.apache.camel.Expression createExpression(String expression, Object[] properties)
- Specified by:
createExpression
in interfaceorg.apache.camel.spi.Language
-
getHeaderName
public String getHeaderName()
-
setHeaderName
public void setHeaderName(String headerName)
-
getPath
public String getPath()
-
setPath
public void setPath(String path)
-
getMode
public char getMode()
-
setMode
public void setMode(char mode)
-
getGroup
public int getGroup()
-
setGroup
public void setGroup(int group)
-
getNamespaces
public org.apache.camel.support.builder.Namespaces getNamespaces()
-
setNamespaces
public void setNamespaces(org.apache.camel.support.builder.Namespaces namespaces)
-
-