TokenXMLExpressionIterator
instead.@Deprecated public class TokenXMLPairExpressionIterator extends TokenPairExpressionIterator
Expression
to walk a Message
XML body
using an Iterator
, which grabs the content between a XML start and end token.
The message body must be able to convert to InputStream
type which is used as stream
to access the message body.
Can be used to split big XML files.
This implementation supports inheriting namespaces from a parent/root tag.Modifier and Type | Field and Description |
---|---|
protected String |
inheritNamespaceToken
Deprecated.
|
endToken, includeTokens, startToken
Constructor and Description |
---|
TokenXMLPairExpressionIterator(String startToken,
String endToken,
String inheritNamespaceToken)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected Iterator<?> |
createIterator(Exchange exchange,
InputStream in,
String charset)
Deprecated.
Strategy to create the iterator
|
doEvaluate, evaluate, matches, toString
assertionFailureMessage, evaluate
assertMatches
protected final String inheritNamespaceToken
public TokenXMLPairExpressionIterator(String startToken, String endToken, String inheritNamespaceToken)
protected Iterator<?> createIterator(Exchange exchange, InputStream in, String charset)
TokenPairExpressionIterator
createIterator
in class TokenPairExpressionIterator
exchange
- the exchangein
- input stream to iteratecharset
- charsetApache Camel